Package com.atlassian.crowd.model
Interface DirectoryEntity
- All Known Subinterfaces:
Group,GroupWithAttributes,GroupWithMembers,InternalDirectoryGroup,LDAPDirectoryEntity,TimestampedGroup,TimestampedUser,User,UserWithAttributes
- All Known Implementing Classes:
BaseImmutableGroup,BaseImmutableUser,DelegatingGroupWithAttributes,DelegatingUserWithAttributes,GroupEntity,GroupTemplate,GroupTemplateWithAttributes,GroupWithMembershipChanges,ImmutableDirectoryGroup,ImmutableDirectoryGroupWithAttributes,ImmutableGroup,ImmutableGroupWithAttributes,ImmutableTimestampedUser,ImmutableTimestampedUserWithAttributes,ImmutableUser,ImmutableUserWithAttributes,InternalDirectoryEntity,InternalGroup,InternalGroupWithAttributes,InternalUser,InternalUserWithAttributes,LDAPGroupWithAttributes,LDAPUserWithAttributes,MinimalUser,UserEntity,UserTemplate,UserTemplateWithAttributes,UserTemplateWithCredentialAndAttributes
public interface DirectoryEntity
Represents a directory entity.
-
Method Details
-
getDirectoryId
long getDirectoryId()- Returns:
- id of the directory in which the DirectoryEntity is stored.
-
getName
String getName()- Returns:
- name of the entity.
-
equals
Implementations must ensure equality based on getDirectoryId() and case-insensitive getName(). -
hashCode
int hashCode()Implementations must produce a hashcode based on getDirectoryId() and case-insensitive getName().
-