Package se.conciliate.extensions.store
Class MTPermissionGroup.PredefinedGroup
java.lang.Object
se.conciliate.extensions.store.MTPermissionGroup.PredefinedGroup
- All Implemented Interfaces:
MTGroup
,MTGroupHeader
,MTPermissionGroup
- Enclosing interface:
- MTPermissionGroup
public static final class MTPermissionGroup.PredefinedGroup
extends Object
implements MTPermissionGroup
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.conciliate.extensions.store.MTPermissionGroup
MTPermissionGroup.PredefinedGroup
-
Field Summary
Fields inherited from interface se.conciliate.extensions.store.MTGroup
DEFAULT_GROUP_ID, DEFAULT_GROUP_NAME
Fields inherited from interface se.conciliate.extensions.store.MTPermissionGroup
PRIVATE_GROUP_ID, PRIVATE_GROUP_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
expand()
Returns aMTGroup
for this group.long
getID()
Returns the ID of the group.getTitle()
Returns the title of the group.getUUID()
Returns the UUID of the group.int
hashCode()
void
remove()
void
save()
void
setPermissions
(MTPermissions permissions) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.conciliate.extensions.store.MTPermissionGroup
isDefaultGroup, updateContentPermissions
-
Constructor Details
-
PredefinedGroup
-
-
Method Details
-
getID
public long getID()Description copied from interface:MTGroupHeader
Returns the ID of the group.- Specified by:
getID
in interfaceMTGroupHeader
- Returns:
- The ID of the group.
-
getUUID
Description copied from interface:MTGroupHeader
Returns the UUID of the group.- Specified by:
getUUID
in interfaceMTGroupHeader
- Returns:
- The UUID of the group.
-
getTitle
Description copied from interface:MTGroupHeader
Returns the title of the group.- Specified by:
getTitle
in interfaceMTGroupHeader
- Returns:
- The title of the group.
-
getPermissions
- Specified by:
getPermissions
in interfaceMTPermissionGroup
-
expand
Description copied from interface:MTGroupHeader
Returns aMTGroup
for this group. Beware that this might require querying the storage layer for more data.- Specified by:
expand
in interfaceMTGroupHeader
- Returns:
- A
MTGroup
representing this group. - Throws:
MTAccessException
-
setPermissions
- Specified by:
setPermissions
in interfaceMTPermissionGroup
-
save
public void save()- Specified by:
save
in interfaceMTPermissionGroup
-
remove
public void remove()- Specified by:
remove
in interfaceMTPermissionGroup
-
equals
-
hashCode
public int hashCode()
-