com.atlassian.crowd.directory
Class ImmutableGroup
java.lang.Object
com.atlassian.crowd.directory.ImmutableGroup
- All Implemented Interfaces:
- DirectoryEntity, Group, InternalDirectoryGroup, TimestampedGroup, TimestampedEntity, java.lang.Comparable<Group>
public class ImmutableGroup
- extends java.lang.Object
- implements InternalDirectoryGroup
ImmutableGroup is an immutable implementation of InternalDirectoryGroup.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmutableGroup
public ImmutableGroup(InternalDirectoryGroup group)
getType
public GroupType getType()
- Specified by:
getType in interface Group
- Returns:
- the type of the group.
isActive
public boolean isActive()
- Specified by:
isActive in interface Group
- Returns:
true if and only if the user is allowed to authenticate.
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Group
- Returns:
- description of the group or
null if there is no description.
getDirectoryId
public long getDirectoryId()
- Specified by:
getDirectoryId in interface DirectoryEntity
- Returns:
- id of the directory in which the DirectoryEntity is stored.
getName
public java.lang.String getName()
- Specified by:
getName in interface DirectoryEntity
- Returns:
- name of the entity.
compareTo
public int compareTo(Group o)
- Specified by:
compareTo in interface java.lang.Comparable<Group>
isLocal
public boolean isLocal()
- Description copied from interface:
InternalDirectoryGroup
- Returns true if this is a Local Group.
- Specified by:
isLocal in interface InternalDirectoryGroup
- Returns:
- true if this is a Local Group.
getCreatedDate
public java.util.Date getCreatedDate()
- Description copied from interface:
TimestampedEntity
- Returns the date the entity was created.
- Specified by:
getCreatedDate in interface TimestampedEntity
- Returns:
- date the entity was created
getUpdatedDate
public java.util.Date getUpdatedDate()
- Description copied from interface:
TimestampedEntity
- Returns the date the entity was last updated.
- Specified by:
getUpdatedDate in interface TimestampedEntity
- Returns:
- date the entity was last updated.
Copyright © 2011 Atlassian. All Rights Reserved.