com.atlassian.crowd.integration.model.group
Class InternalGroup
java.lang.Object
com.atlassian.crowd.integration.model.InternalEntity
com.atlassian.crowd.integration.model.InternalDirectoryEntity
com.atlassian.crowd.integration.model.group.InternalGroup
- All Implemented Interfaces:
- DirectoryEntity, Group, java.io.Serializable
public class InternalGroup
- extends InternalDirectoryEntity
- implements Group
- See Also:
- Serialized Form
|
Method Summary |
boolean |
equals(java.lang.Object o)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName(). |
java.lang.String |
getDescription()
|
GroupType |
getType()
|
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName(). |
void |
renameTo(java.lang.String newName)
|
java.lang.String |
toString()
|
void |
updateDetailsFrom(Group group)
|
| Methods inherited from class com.atlassian.crowd.integration.model.InternalEntity |
getCreatedDate, getId, getName, getUpdatedDate, isActive, setActive, setCreatedDate, setCreatedDateToNow, setName, setUpdatedDate, setUpdatedDateToNow |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.atlassian.crowd.integration.model.group.Group |
isActive |
InternalGroup
protected InternalGroup()
InternalGroup
public InternalGroup(InternalEntityTemplate internalEntityTemplate,
Directory directory,
GroupTemplate groupTemplate)
InternalGroup
public InternalGroup(Group group,
Directory directory)
updateDetailsFrom
public void updateDetailsFrom(Group group)
renameTo
public void renameTo(java.lang.String newName)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Group
- Returns:
- description of the group or
null if there is no description.
getType
public GroupType getType()
- Specified by:
getType in interface Group
- Returns:
- the type of the group.
equals
public boolean equals(java.lang.Object o)
- Description copied from interface:
DirectoryEntity
- Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
- Specified by:
equals in interface DirectoryEntity- Specified by:
equals in class InternalEntity
- Parameters:
o - object to compare to.
- Returns:
true if and only if the directoryId
and name.toLowerCase() of the directory entities match.
hashCode
public int hashCode()
- Description copied from interface:
DirectoryEntity
- Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
- Specified by:
hashCode in interface DirectoryEntity- Specified by:
hashCode in class InternalEntity
- Returns:
- hashcode.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.