@UESService public interface UESAccessRole
Modifier and Type | Field and Description |
---|---|
static UESURI |
BETYPE_ACCESSROLE
URI of access role business entity.
|
Modifier and Type | Method and Description |
---|---|
void |
activateAccess(UESURI accessRoleUri)
This command activates an access role.
|
void |
addRoleInterface(UESURI accessRoleUri,
This command creates new role interface connection to the specified access role.
|
UESURI |
create(UESURI locationUri,
Creates a new access role.
|
void |
deactivateAccess(UESURI accessRoleUri)
This command deactivates an access role.
|
UESResultList<UESAccessRoleAttributes,UESAccessRoleGetList> |
getAccessRoleList(UESURI territoryUri,
Returns list of personal access roles in the given location with specified criteria.
|
UESAccessRoleAttributes |
getAttributes(UESURI accessRoleUri)
This command returns attributes representing the personal access role specified by the accessRoleUri parameter.
|
UESResultList<UESAccessRoleGetRoleInterfaceListItem,UESAccessRoleGetRoleInterfaceList> |
getRoleInterfaceList(UESURI accessRoleUri,
Returns list of the role interfaces that are connected to the specified access role.
|
void |
removeRoleInterface(UESURI accessRoleUri,
The command removes role interface connection from the specified access role.
|
UESURI |
setAttributes(UESURI accessRoleUri,
Command for setting attributes of an access role.
|
accessRoleUri
- UESURI of a personal access role whose attributes are returnedUESAccessRoleRTException
accessRoleUri
- UESURI of the access role whose attributes are to be changedaccessRole
- DTO containing new attributes the access roleUESAccessRoleRTException
UESAccessRoleCreate
DTO. Competent role for the new role will be selected as the most suitable according to the
specified container and meta artifact (executive/authorized role with connected interface), or can be also specified in
UESAccessRoleCreate
DTO.locationUri
- UESURI of the folder/org. unit/meta model where the access role will be created.DTO
- containing attributes of the new access roleUESAccessRoleRTException
accessRoleUri
- UESURI of the access role for which the connected role interfaces are to be listedcriteria
- DTO containing criteria for listing access role interfaces. Available parameters are:
name
and
code
UESAccessRoleRTException
accessRoleUri
- UESURI of the access role where the role interface will be disconnectedroleInterface
- DTO containing role interface that to be disconnectedUESAccessRoleRTException
accessRoleUri
- UESURI of the access role where the role interface will be connectedroleInterface
- DTO containing role interface that to be connectedUESAccessRoleRTException
territoryUri
- Never null. UESURI of the territory, from which the access roles will be retrieved.criteria
- Object containing paging and filtering criteria.UESAccessRoleAttributes
.UESAccessRoleRTException
accessRoleUri
- UESURI of an access role that the access will be canceled.UESAccessRoleRTException
accessRoleUri
- UESURI of an access role that the access will be reactivated.UESAccessRoleRTException