public interface UserGroup extends IOObject, Member
UserGroup
objects in the
Escenic system. UserGroups
can be given roles on catalogs and sections. Possible roles can be retrieved
by calling the RoleManager.getRoles(String)
method. Typical roles are:
IOAtom.ObjectType
ID_INVALID, OBJECTTYPE_AGREEMENTINFO, OBJECTTYPE_ARTICLE, OBJECTTYPE_CATALOG, OBJECTTYPE_CATEGORY, OBJECTTYPE_ENTITY, OBJECTTYPE_FORUM, OBJECTTYPE_LAYOUT, OBJECTTYPE_MAX, OBJECTTYPE_MIN, OBJECTTYPE_PERSON, OBJECTTYPE_POOL, OBJECTTYPE_POSTING, OBJECTTYPE_PRESENTATION_FORUM, OBJECTTYPE_PRESENTATION_POSTING, OBJECTTYPE_PRESENTATION_THREAD, OBJECTTYPE_PROFILE, OBJECTTYPE_PUBLICATION, OBJECTTYPE_SECTION, OBJECTTYPE_THREAD, OBJECTTYPE_TOPIC, OBJECTTYPE_UNKNOWN, OBJECTTYPE_USERGROUP
Modifier and Type | Method and Description |
---|---|
Timestamp |
getCreationDate()
Retrieves the date when this user group was created.
|
Timestamp |
getLastModified()
Retrieves the date when this user group was last modified.
|
String |
getName()
Retrieves the name of this group.
|
Collection<UserGroup> |
getUserGroupMembers()
Retrieves all user groups that are members of this group.
|
Collection<User> |
getUserMembers()
Retrieves all users that are members of this group.
|
boolean |
isMember(IOObject member)
Check whether or not the given
IOObject is member of this group. |
getProtectionDomain, getUserGroups
breakAndLock, createTransaction, getChecksum, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomains, isLocked, isPreview, isValid, lock, lock, lock, lock, refresh
boolean isMember(IOObject member) throws IllegalOperationException
IOObject
is member of this group.member
- the IOObject
to if is member of this groupIOObject
is member of this groupIllegalOperationException
- if this user is not authorized to perform this actionString getName() throws NoSuchObjectException
getName
in interface Member
NoSuchObjectException
- if trying to retrieve an object that does not existCollection<UserGroup> getUserGroupMembers() throws NoSuchObjectException
NoSuchObjectException
- if trying to retrieve an object that does not existCollection<User> getUserMembers() throws NoSuchObjectException
NoSuchObjectException
- if trying to retrieve an object that does not existTimestamp getLastModified()
Timestamp
representation of the date when this user group was last modifiedTimestamp getCreationDate()
Timestamp
representation of the date when this user group was created© 1998- 2021 Escenic AS