com.atlassian.crowd.directory
Class ImmutableGroup

java.lang.Object
  extended by com.atlassian.crowd.directory.ImmutableGroup
All Implemented Interfaces:
DirectoryEntity, Group, InternalDirectoryGroup, TimestampedGroup, TimestampedEntity, Comparable<Group>

public class ImmutableGroup
extends Object
implements InternalDirectoryGroup

ImmutableGroup is an immutable implementation of InternalDirectoryGroup.


Constructor Summary
ImmutableGroup(InternalDirectoryGroup group)
           
 
Method Summary
 int compareTo(Group o)
           
 Date getCreatedDate()
           
 String getDescription()
           
 long getDirectoryId()
           
 String getName()
           
 GroupType getType()
           
 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 String getDescription()
Specified by:
getDescription in interface Group

getDirectoryId

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

getName

public String getName()
Specified by:
getName in interface DirectoryEntity

compareTo

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

isLocal

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

getCreatedDate

public Date getCreatedDate()
Specified by:
getCreatedDate in interface TimestampedEntity

getUpdatedDate

public Date getUpdatedDate()
Specified by:
getUpdatedDate in interface TimestampedEntity


Copyright © 2014 Atlassian. All Rights Reserved.