Package com.atlassian.crowd.model.group
Class InternalGroup
java.lang.Object
com.atlassian.crowd.model.InternalEntity
com.atlassian.crowd.model.InternalDirectoryEntity<InternalGroupAttribute>
com.atlassian.crowd.model.group.InternalGroup
- All Implemented Interfaces:
DirectoryEntity,Group,InternalDirectoryGroup,TimestampedGroup,TimestampedEntity,Serializable,Comparable<Group>
public class InternalGroup
extends InternalDirectoryEntity<InternalGroupAttribute>
implements InternalDirectoryGroup
Encapsulates the concept of group.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.crowd.model.InternalDirectoryEntity
attributes, directoryFields inherited from class com.atlassian.crowd.model.InternalEntity
active, createdDate, id, name, updatedDate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInternalGroup(Group group, Directory directory) InternalGroup(InternalEntityTemplate internalEntityTemplate, Directory directory, GroupTemplate groupTemplate) -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetType()inthashCode()booleanisLocal()voidvoidsetExternalId(String externalId) voidsetLocal(boolean local) protected voidtoString()voidupdateDetailsFrom(Group group) Methods inherited from class com.atlassian.crowd.model.InternalDirectoryEntity
getAttributes, getDirectory, getDirectoryIdMethods inherited from class com.atlassian.crowd.model.InternalEntity
getCreatedDate, getId, getName, getUpdatedDate, isActive, setActive, setCreatedDate, setCreatedDateToNow, setUpdatedDate, setUpdatedDateToNowMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.crowd.model.DirectoryEntity
getDirectoryId, getNameMethods inherited from interface com.atlassian.crowd.model.TimestampedEntity
getCreatedDate, getUpdatedDate
-
Constructor Details
-
InternalGroup
protected InternalGroup() -
InternalGroup
public InternalGroup(InternalEntityTemplate internalEntityTemplate, Directory directory, GroupTemplate groupTemplate) -
InternalGroup
-
-
Method Details
-
updateDetailsFrom
-
renameTo
-
setName
- Overrides:
setNamein classInternalEntity
-
getDescription
- Specified by:
getDescriptionin interfaceGroup
-
getType
-
getLowerName
-
isLocal
public boolean isLocal()- Specified by:
isLocalin interfaceInternalDirectoryGroup
-
setLocal
public void setLocal(boolean local) -
getExternalId
- Specified by:
getExternalIdin interfaceGroup
-
setExternalId
-
equals
- Specified by:
equalsin interfaceDirectoryEntity- Specified by:
equalsin classInternalEntity
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDirectoryEntity- Specified by:
hashCodein classInternalEntity
-
compareTo
- Specified by:
compareToin interfaceComparable<Group>
-
toString
-