|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.model.group.GroupTemplate
public class GroupTemplate
A publicly mutable Group implementation.
Used to create or update a group.
| Constructor Summary | |
|---|---|
GroupTemplate(Group group)
Build a template from an existing group. |
|
GroupTemplate(java.lang.String name,
GroupType type)
|
|
GroupTemplate(java.lang.String name,
java.lang.Long directoryId,
GroupType type)
Build a template for a new group. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Implementations must ensure equality based on getDirectoryId() and case-insensitive getName(). |
java.lang.String |
getDescription()
|
java.lang.Long |
getDirectoryId()
|
java.lang.String |
getName()
|
GroupType |
getType()
|
int |
hashCode()
Implementations must produce a hashcode based on getDirectoryId() and case-insensitive getName(). |
boolean |
isActive()
|
void |
setActive(boolean active)
|
void |
setDescription(java.lang.String description)
|
void |
setDirectoryId(java.lang.Long directoryId)
|
void |
setName(java.lang.String name)
|
void |
setType(GroupType type)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GroupTemplate(java.lang.String name,
java.lang.Long directoryId,
GroupType type)
name - group name of new group.directoryId - ID of the directory in which to store the new group.type - the group type see GroupType
public GroupTemplate(java.lang.String name,
GroupType type)
public GroupTemplate(Group group)
group - group to build template from.| Method Detail |
|---|
public void setName(java.lang.String name)
public void setDirectoryId(java.lang.Long directoryId)
public java.lang.Long getDirectoryId()
getDirectoryId in interface DirectoryEntitypublic java.lang.String getName()
getName in interface DirectoryEntitypublic boolean isActive()
isActive in interface Grouptrue if and only if the user is allowed to authenticate.public void setActive(boolean active)
public java.lang.String getDescription()
getDescription in interface Groupnull if there is no description.public void setDescription(java.lang.String description)
public GroupType getType()
getType in interface Grouppublic void setType(GroupType type)
public boolean equals(java.lang.Object o)
DirectoryEntity
equals in interface DirectoryEntityequals in class java.lang.Objecto - object to compare to.
true if and only if the directoryId
and name.toLowerCase() of the directory entities match.public int hashCode()
DirectoryEntity
hashCode in interface DirectoryEntityhashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||