Package com.atlassian.crowd.model.group
Class GroupWithMembershipChanges
java.lang.Object
com.atlassian.crowd.model.group.GroupWithMembershipChanges
- All Implemented Interfaces:
DirectoryEntity,Group,Comparable<Group>
Represents a new or modified group for incremental synchronisation. In addition to the group properties this class
also contains identifiers of users and groups that have joined the underlying group or left it. This is particularly
suitable for directories that provide a list of new and removed memberships for changed groups, for example
Microsoft Entra ID.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGroupWithMembershipChanges(ImmutableGroup group, Iterable<String> userChildrenIdsToAdd, Iterable<String> userChildrenIdsToDelete, Iterable<String> groupChildrenIdsToAdd, Iterable<String> groupChildrenIdsToDelete) -
Method Summary
-
Constructor Details
-
GroupWithMembershipChanges
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Group>
-
getDirectoryId
public long getDirectoryId()- Specified by:
getDirectoryIdin interfaceDirectoryEntity
-
getName
- Specified by:
getNamein interfaceDirectoryEntity
-
getType
-
isActive
public boolean isActive() -
getDescription
- Specified by:
getDescriptionin interfaceGroup
-
getExternalId
- Specified by:
getExternalIdin interfaceGroup
-
merge
-
toBuilder
-
builder
-
getGroup
-
getUserChildrenIdsToAdd
-
getUserChildrenIdsToDelete
-
getGroupChildrenIdsToAdd
-
getGroupChildrenIdsToDelete
-
builder
-
builder
-
equals
- Specified by:
equalsin interfaceDirectoryEntity- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDirectoryEntity- Overrides:
hashCodein classObject
-
toString
-