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
-
Constructor Summary
ConstructorDescriptionGroupEntity
(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.Link
getLink()
getName()
getType()
isActive()
boolean
Does this object represent an expanded group, or does it only contain a group name.static GroupEntity
newMinimalGroupEntity
(String name, String applicationName, URI baseURI) Creates aGroupEntity
with the minimal amount of information required.void
setAttributes
(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:
getName
in interfaceNamedEntity
-
setAttributes
-
getAttributes
-
newMinimalGroupEntity
Creates aGroupEntity
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
-
getLink
public com.atlassian.plugins.rest.api.model.Link getLink()
-