Class GroupEntity
java.lang.Object
com.atlassian.crowd.plugin.rest.entity.GroupEntity
- All Implemented Interfaces:
NamedEntity
Represents a Group entity.
- Since:
- v2.1
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroupEntity(String name, String description, GroupType type, Boolean active, com.atlassian.plugins.rest.api.model.Link link) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.plugins.rest.api.model.LinkgetLink()getName()getType()isActive()booleanDoes this object represent an expanded group, or does it only contain a group name.static GroupEntitynewMinimalGroupEntity(String name, String applicationName, URI baseURI) Creates aGroupEntitywith the minimal amount of information required.voidsetAttributes(MultiValuedAttributeEntityList attributes) toString()
-
Field Details
-
GROUP_ATTRIBUTES_FIELD_NAME
Name of the attributes field.- See Also:
-
-
Constructor Details
-
GroupEntity
-
-
Method Details
-
getDescription
-
getType
-
isActive
-
getName
- Specified by:
getNamein interfaceNamedEntity
-
setAttributes
-
getAttributes
-
newMinimalGroupEntity
Creates aGroupEntitywith 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
-
getLink
public com.atlassian.plugins.rest.api.model.Link getLink()
-