|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.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(String name)
|
|
GroupTemplate(String name,
long directoryId)
Contructor that defaults the GroupType to GroupType.GROUP |
|
GroupTemplate(String name,
long directoryId,
GroupType type)
Build a template for a new group. |
|
| Method Summary | |
|---|---|
int |
compareTo(Group other)
|
boolean |
equals(Object o)
|
String |
getDescription()
|
long |
getDirectoryId()
|
String |
getName()
|
GroupType |
getType()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isLocal()
|
void |
setActive(boolean active)
|
void |
setDescription(String description)
|
void |
setDirectoryId(long directoryId)
|
void |
setLocal(boolean local)
|
void |
setName(String name)
|
void |
setType(GroupType type)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GroupTemplate(String name,
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 GroupTypepublic GroupTemplate(String name)
public GroupTemplate(String name,
long directoryId)
GroupType to GroupType.GROUP
name - the name of the groupdirectoryId - ID of the directory in which to store the new group.public GroupTemplate(Group group)
group - group to build template from.| Method Detail |
|---|
public void setName(String name)
public void setDirectoryId(long directoryId)
public long getDirectoryId()
getDirectoryId in interface DirectoryEntitypublic String getName()
getName in interface DirectoryEntitypublic boolean isActive()
isActive in interface Grouppublic void setActive(boolean active)
public String getDescription()
getDescription in interface Grouppublic void setDescription(String description)
public GroupType getType()
getType in interface Grouppublic void setType(GroupType type)
public boolean isLocal()
public void setLocal(boolean local)
public boolean equals(Object o)
equals in interface DirectoryEntityequals in class Objectpublic int hashCode()
hashCode in interface DirectoryEntityhashCode in class Objectpublic int compareTo(Group other)
compareTo in interface Comparable<Group>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||