Class GroupEntity
java.lang.Object
com.atlassian.crowd.integration.rest.entity.GroupEntity
- All Implemented Interfaces:
Attributes,DirectoryEntity,Group,GroupWithAttributes,GroupWithMembers,Comparable<Group>
Represents a Group entity.
- Since:
- v2.1
-
Constructor Summary
ConstructorsConstructorDescriptionGroupEntity(String name, String description, GroupType type, boolean active) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanlonggetKeys()getName()getType()inthashCode()booleanisActive()booleanisEmpty()static GroupEntitynewMinimalInstance(String groupName) Creates a new minimal group instance.voidsetAttributes(MultiValuedAttributeEntityList attributes) toString()
-
Constructor Details
-
GroupEntity
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceGroup
-
getType
-
isActive
public boolean isActive() -
getDirectoryId
public long getDirectoryId()- Specified by:
getDirectoryIdin interfaceDirectoryEntity
-
getName
- Specified by:
getNamein interfaceDirectoryEntity
-
setAttributes
-
getAttributes
-
getExternalId
- Specified by:
getExternalIdin interfaceGroup
-
toString
-
getValues
- Specified by:
getValuesin interfaceAttributes
-
getValue
- Specified by:
getValuein interfaceAttributes
-
getKeys
- Specified by:
getKeysin interfaceAttributes
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceAttributes
-
compareTo
- Specified by:
compareToin interfaceComparable<Group>
-
equals
- Specified by:
equalsin interfaceDirectoryEntity- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDirectoryEntity- Overrides:
hashCodein classObject
-
newMinimalInstance
Creates a new minimal group instance.- Parameters:
groupName- group name- Returns:
- minimal group instance
-