|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemItem
A SystemItem is an item which has an
additional systemwide unique id in the form of string.
A system id is required when we need to make sure that we can
get a specific item without knowing the numeric id. Example of
such items are the root user and the everyone group.
Items with a system id can only be created during installation and cannot be removed.
Reference implementation
public String getSystemId()
{
return getData().getSystemId();
}
public boolean isSystemItem()
{
return getSystemId() != null;
}
| Method Summary | |
|---|---|
String |
getSystemId()
Get the system id for the item. |
boolean |
isSystemItem()
Check if the item is a system item or not. |
| Methods inherited from interface org.proteios.core.Identifiable |
|---|
getId, getType, getVersion |
| Methods inherited from interface org.proteios.core.AccessControlled |
|---|
checkPermission, hasPermission |
| Method Detail |
|---|
String getSystemId()
boolean isSystemItem()
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||