|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.digitalis.dif.controller.security.objects.DIFGroupImpl
public class DIFGroupImpl
Default implementation for DIF group.
| Constructor Summary | |
|---|---|
DIFGroupImpl()
Default constructor. |
|
DIFGroupImpl(IDIFGroup group)
Creates a new group based on a given one |
|
| Method Summary | |
|---|---|
protected Object |
clone()
|
IDIFGroup |
cloneGroup()
Returns a new clone of the current group |
boolean |
equals(Object obj)
|
String |
getDescription()
Returns the group description. |
String |
getID()
Returns the group id. |
String |
getName()
Returns the group name. |
IDIFGroup |
getParentGroup()
Returns the parent group. |
String |
getParentGroupID()
Returns the parent group ID. |
Set<String> |
getUserIDs()
Retrieves the list of user IDs associated with this group |
Map<String,IDIFUser> |
getUsers()
Retrieves the list of users associated with this group |
int |
hashCode()
|
boolean |
isDefault()
A default group is a group that is created by the default configuration of the application. |
void |
setDefault(boolean isDefault)
Sets the group as a 'default group'. |
void |
setDescription(String newDescription)
Sets a new description for the group. |
void |
setID(String newGroupId)
Sets a new id for the group. |
void |
setName(String newName)
Sets a new name for the group. |
void |
setParentGroupID(String newParent)
Sets a new parent for the group. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DIFGroupImpl()
public DIFGroupImpl(IDIFGroup group)
group - the group to copy data from| Method Detail |
|---|
protected Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionObject.clone()public IDIFGroup cloneGroup()
IDIFGroup
cloneGroup in interface IDIFGroupIDIFGroup.cloneGroup()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String getDescription()
IDIFGroup
getDescription in interface IDIFGroupIDIFGroup.getDescription()public String getID()
IDIFGroup
getID in interface IDIFGroupIDIFGroup.getID()public String getName()
IDIFGroup
getName in interface IDIFGroupIDIFGroup.getName()
public IDIFGroup getParentGroup()
throws IdentityManagerException
IDIFGroup
getParentGroup in interface IDIFGroupIdentityManagerException - if the parent group can't be found on the identity managerIDIFGroup.getParentGroup()public String getParentGroupID()
IDIFGroup
getParentGroupID in interface IDIFGroupIDIFGroup.getParentGroupID()
public Set<String> getUserIDs()
throws IdentityManagerException
IDIFGroup
getUserIDs in interface IDIFGroupIdentityManagerException - if the users can't be found on the identity managerIDIFGroup.getUserIDs()
public Map<String,IDIFUser> getUsers()
throws IdentityManagerException
IDIFGroup
getUsers in interface IDIFGroupIdentityManagerException - if the users can't be found on the identity managerIDIFGroup.getUsers()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean isDefault()
IDIFGroup
isDefault in interface IDIFGroupIDIFGroup.isDefault()public void setDefault(boolean isDefault)
IDIFGroup
setDefault in interface IDIFGroupisDefault - T if the group must be set as a default group, F otherwiseIDIFGroup.setDefault(boolean)public void setDescription(String newDescription)
IDIFGroup
setDescription in interface IDIFGroupnewDescription - the new group descriptionIDIFGroup.setDescription(String)public void setID(String newGroupId)
IDIFGroup
setID in interface IDIFGroupnewGroupId - the new group idIDIFGroup.setID(String)public void setName(String newName)
IDIFGroup
setName in interface IDIFGroupnewName - the new group nameIDIFGroup.setName(String)public void setParentGroupID(String newParent)
IDIFGroup
setParentGroupID in interface IDIFGroupnewParent - the new parent groupIDIFGroup.setParentGroupID(String)public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||