com.atlassian.crowd.directory
Class ImmutableGroup

java.lang.Object
  extended by 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.


Constructor Summary
ImmutableGroup(InternalDirectoryGroup group)
           
 
Method Summary
 int compareTo(Group o)
           
 java.util.Date getCreatedDate()
           
 java.lang.String getDescription()
           
 long getDirectoryId()
           
 java.lang.String getName()
           
 GroupType getType()
           
 java.util.Date getUpdatedDate()
           
 boolean isActive()
           
 boolean isLocal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.model.DirectoryEntity
equals, hashCode
 

Constructor Detail

ImmutableGroup

public ImmutableGroup(InternalDirectoryGroup group)
Method Detail

getType

public GroupType getType()
Specified by:
getType in interface Group

isActive

public boolean isActive()
Specified by:
isActive in interface Group

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Group

getDirectoryId

public long getDirectoryId()
Specified by:
getDirectoryId in interface DirectoryEntity

getName

public java.lang.String getName()
Specified by:
getName in interface DirectoryEntity

compareTo

public int compareTo(Group o)
Specified by:
compareTo in interface java.lang.Comparable<Group>

isLocal

public boolean isLocal()
Specified by:
isLocal in interface InternalDirectoryGroup

getCreatedDate

public java.util.Date getCreatedDate()
Specified by:
getCreatedDate in interface TimestampedEntity

getUpdatedDate

public java.util.Date getUpdatedDate()
Specified by:
getUpdatedDate in interface TimestampedEntity


Copyright © 2012 Atlassian. All Rights Reserved.