public interface IAccessGroup extends IAccessGroupHandle, IAuditable
Modifier and Type | Interface and Description |
---|---|
static class |
IAccessGroup.ReadAccessContextType
Represents the types of read access contexts that can be
maintained by the members that make up the group
|
Modifier and Type | Field and Description |
---|---|
static IItemType |
ITEM_TYPE
The access group item type.
|
MERGE_PREDECESSOR_STATE_PROPERTY, PREDECESSOR_STATE_PROPERTY
CONTEXT_ID_PROPERTY, ITEM_ID_PROPERTY, MAX_LARGE_STRING_BYTES, MAX_MEDIUM_STRING_BYTES, MAX_SMALL_STRING_BYTES, MODIFIED_BY_PROPERTY, MODIFIED_PROPERTY, STATE_ID_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
add(IContributorHandle contributorHandle)
Adds a contributor to the access group.
|
void |
add(IProcessAreaHandle processAreaHandle,
IAccessGroup.ReadAccessContextType contextType)
Adds a process area to the access group.
|
java.lang.String |
getDescription()
Retrieves the description of the access group.
|
UUID |
getGroupContextId()
Retrieves the context id that represents members that make up the group.
|
IItemHandle[] |
getItems()
Retrieves the items that make up the context members of the access group.
|
IAccessGroupMember[] |
getMembers()
Retrieves the members of the access group.
|
java.lang.String |
getName()
Retrieves the name of the access group.
|
java.lang.String |
getOwningApplicationKey()
Retrieves the owning application key for the access group
|
boolean |
isArchived()
Indicates whether the access group is in an archived state.
|
void |
remove(IAccessGroupMember member)
Removes an access group member from the access group.
|
void |
remove(IContributorHandle contributorHandle)
Removes a contributor from the access group.
|
void |
remove(IProcessAreaHandle processAreaHandle)
Removes a process area from the access group.
|
void |
setDescription(java.lang.String description)
Sets the description of the access group.
|
void |
setName(java.lang.String name)
Sets the name of the access group.
|
getMergePredecessorState, getPredecessorState
isNewItem
getContextId, getItemHandle, getModifiedBy, getRedactedCopy, getRequestedModified, getRequestedStateId, getStateHandle, getWorkingCopy, hasHistory, isComplete, isPropertySet, isRedactedCopy, isWorkingCopy, modified, setContextId, setRequestedModified, setRequestedStateId
equals, getAdapter, getFullState, getItemId, getItemType, getOrigin, getStateId, hasFullState, hasStateId, isAuditable, isConfigurationAware, isImmutable, isSimple, isUnmanaged, makeImmutable, protect, sameItemId, sameStateId, size
static final IItemType ITEM_TYPE
boolean isArchived()
true
if the access group is in an archived state.java.lang.String getName()
void setName(java.lang.String name)
java.lang.String getDescription()
void setDescription(java.lang.String description)
IItemHandle[] getItems()
getMembers()
.IAccessGroupMember[] getMembers()
void add(IContributorHandle contributorHandle)
contributorHandle
- the contributor to add to the access group.void add(IProcessAreaHandle processAreaHandle, IAccessGroup.ReadAccessContextType contextType) throws java.lang.IllegalArgumentException
processAreaHandle
- the process area to add to the access group.contextType
- The context in which the process area should be addjava.lang.IllegalArgumentException
- if IAccessGroup.ReadAccessContextType
enum
value of CONTRIBUTOR
is used as the context typevoid remove(IContributorHandle contributorHandle)
contributorHandle
- the contributor to remove from the access group.void remove(IProcessAreaHandle processAreaHandle)
processAreaHandle
- the process area to remove from the access group.void remove(IAccessGroupMember member)
member
- the member to remove from the access groupUUID getGroupContextId()
java.lang.String getOwningApplicationKey()