public class AEVRoleMap extends PublicRoleMap
User
and Group
can be added to view or edit a
particular object.PortalRoleMap
,
User
,
Group
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
EDITOR |
static java.lang.String |
VIEWER |
ADMINISTRATOR, TYPE_GROUP, TYPE_USER
AGGREGATE_SECURITY_KEY, SECURITY_KEY, TYPE_AGGREGATE_GROUP, TYPE_AGGREGATE_USER, TYPE_GROUP_UUIDS, TYPE_USER_UUIDS
DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
AEVRoleMap() |
Modifier and Type | Method and Description |
---|---|
void |
addEditorGroups(java.lang.Long[] id_)
Adds the
Group s identified by given ID's as editors to
existing array of Group Editors. |
void |
addEditors(java.lang.String[] id_)
Adds the
User s identified by given usernames as editors to
existing array of Editors. |
void |
addViewerGroups(java.lang.Long[] id_)
Adds the
Group s identified by given ID's as viewers to
existing array of Group Viewers. |
void |
addViewers(java.lang.String[] id_)
Adds the
User s identified by given usernames as viewers to
existing array of Viewers. |
java.lang.Long[] |
getEditorGroups()
Returns the ID's of
Group s whose role is Editor of object. |
java.lang.String[] |
getEditors()
Returns the usernames of
User s whose role is Editor of object. |
java.lang.Long[] |
getViewerGroups()
Returns the ID's of
Group s whose role is Viewer of object. |
java.lang.String[] |
getViewers()
Returns the usernames of
User s whose role is Viewer of object. |
void |
removeEditorGroups(java.lang.Long[] id_)
Removes the
Group s identified by given ID's as editors. |
void |
removeEditors(java.lang.String[] id_)
Removes the
User s identified by given usernames as editors. |
void |
removeViewerGroups(java.lang.Long[] id_)
Removes the
Group s identified by given ID's as viewers. |
void |
removeViewers(java.lang.String[] id_)
Removes the
User s identified by given usernames as viewers. |
void |
setEditorGroups(java.lang.Long[] id_)
Sets the
Group s identified by given ID's as editors. |
void |
setEditors(java.lang.String[] id_)
Sets the
User s identified by given usernames as editors. |
void |
setViewerGroups(java.lang.Long[] id_)
Sets the
Group s identified by given ID's as viewers. |
void |
setViewers(java.lang.String[] id_)
Sets the
User s identified by given usernames as viewers. |
addAdministratorGroups, addAdministrators, getAdministratorGroups, getAdministrators, removeAdministratorGroups, removeAdministrators, setAdministratorGroups, setAdministrators
addActorsToRole, addActorsToRole, clear, containsActors, containsKey, containsValue, entrySet, equals, get, getActorsInRole, getAggregateSecurity, getAllGroupIds, getAllUsernames, getRole, getRoleNames, getRoles, getSecurity, hashCode, init, isEmpty, keySet, mergeWith, put, putAll, remove, removeActorsFromRole, removeActorsFromRole, removeAllRoles, setActorsInRole, setActorsInRole, setAggregateSecurity, setRole, setRoles, setRoles, setSecurity, size, toString, toXML, toXML, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final java.lang.String EDITOR
public static final java.lang.String VIEWER
public java.lang.String[] getEditors()
User
s whose role is Editor of object.setEditors(String[])
public java.lang.Long[] getEditorGroups()
Group
s whose role is Editor of object.setEditorGroups(Long[])
public java.lang.String[] getViewers()
User
s whose role is Viewer of object.setViewers(String[])
public java.lang.Long[] getViewerGroups()
Group
s whose role is Viewer of object.setViewerGroups(Long[])
public void setEditors(java.lang.String[] id_)
User
s identified by given usernames as editors.id_
- array of usernames to set as editorsgetEditors()
public void setEditorGroups(java.lang.Long[] id_)
Group
s identified by given ID's as editors.id_
- array of Group
ID's to set as editorsgetEditorGroups()
public void setViewers(java.lang.String[] id_)
User
s identified by given usernames as viewers.id_
- array of usernames to set as viewersgetViewers()
public void setViewerGroups(java.lang.Long[] id_)
Group
s identified by given ID's as viewers.id_
- array of Group
ID's to set as viewersgetViewerGroups()
public void addEditors(java.lang.String[] id_)
User
s identified by given usernames as editors to
existing array of Editors.id_
- array of usernames to add as editorspublic void addEditorGroups(java.lang.Long[] id_)
Group
s identified by given ID's as editors to
existing array of Group Editors.id_
- array of ID's to add as editorspublic void addViewers(java.lang.String[] id_)
User
s identified by given usernames as viewers to
existing array of Viewers.id_
- array of usernames to add as viewerspublic void addViewerGroups(java.lang.Long[] id_)
Group
s identified by given ID's as viewers to
existing array of Group Viewers.id_
- array of ID's to add as viewerspublic void removeEditors(java.lang.String[] id_)
User
s identified by given usernames as editors.id_
- array of usernames to remove as editorspublic void removeEditorGroups(java.lang.Long[] id_)
Group
s identified by given ID's as editors.id_
- array of ID's to remove as editorspublic void removeViewers(java.lang.String[] id_)
User
s identified by given usernames as viewers.id_
- array of usernames to remove as viewerspublic void removeViewerGroups(java.lang.Long[] id_)
Group
s identified by given ID's as viewers.id_
- array of ID's to remove as viewersCopyright © 2003-2024 Appian Corporation. All Rights Reserved.