|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupRoot
Interface representing a group root model belonging to the groups.xml file specified by the param (DOCUMENT_NAME.path) in service.ini of permission service. This interfaces provides methods to access and modify groups of this group root.
Method Summary | |
---|---|
Group |
getGroupById(String id)
Returns the first occurrence of a group with the given id or null if
no group exists with the given id. |
Users |
getUsers()
Returns the users model object if defined for this |
void |
save()
Saves this group root model to the belonging xml file |
Methods inherited from interface de.espirit.firstspirit.service.permission.groups.Group |
---|
appendChild, appendChild, clearChildren, clearChilds, getAllChildren, getAllChilds, getAllParents, getChildren, getChilds, getId, getLevel, getName, getParent, hasId, isSelectable, removeChild, removeId, setId, setName, setSelectable |
Method Detail |
---|
void save() throws IOException
IOException
@Nullable Group getGroupById(String id)
null
if
no group exists with the given id.
id
- the id to specify the group
null
@Nullable Users getUsers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |