Class GroupEntity

java.lang.Object
com.atlassian.crowd.plugin.rest.entity.GroupEntity
All Implemented Interfaces:
NamedEntity

@Expander(GroupEntityExpander.class) public class GroupEntity extends Object implements NamedEntity
Represents a Group entity.
Since:
v2.1
  • Field Details

    • GROUP_ATTRIBUTES_FIELD_NAME

      public static final String GROUP_ATTRIBUTES_FIELD_NAME
      Name of the attributes field.
      See Also:
  • Constructor Details

    • GroupEntity

      public GroupEntity(String name, String description, GroupType type, Boolean active, com.atlassian.plugins.rest.api.model.Link link)
  • Method Details

    • getDescription

      public String getDescription()
    • getType

      public GroupType getType()
    • isActive

      public Boolean isActive()
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEntity
    • setAttributes

      public void setAttributes(MultiValuedAttributeEntityList attributes)
    • getAttributes

      public MultiValuedAttributeEntityList getAttributes()
    • newMinimalGroupEntity

      public static GroupEntity newMinimalGroupEntity(String name, String applicationName, URI baseURI)
      Creates a GroupEntity with the minimal amount of information required.
      Parameters:
      name - group name.
      baseURI - base URI
      Returns:
      GroupEntity
    • isExpanded

      public boolean isExpanded()
      Does this object represent an expanded group, or does it only contain a group name.
      Returns:
      true if this object represents an expanded group
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLink

      public com.atlassian.plugins.rest.api.model.Link getLink()