@UESService public interface UESMetaPermission
Modifier and Type | Method and Description |
---|---|
UESURI |
createMask(UESURI templateUri,
This command creates meta permission mask for template.
|
void |
deleteMask(UESURI maskUri)
The command deletes the specified permission mask from the system.
|
UESStreamHandler |
getAuthorityData(UESURI templateUri,
This command returns a template of permission settings data for the specified template and authority.
|
UESResultList<UESMetaPermissionGetAuthorityListItem,UESMetaPermissionGetAuthorityList> |
getAuthorityList(UESURI templateUri,
This command returns a list of authorities who have template of permission on the specified template.
|
UESMetaPermissionGetMaskAttributes |
getMaskAttributes(UESURI maskUri)
This command returns attributes representing the permission mask specified by the permissionMaskUri parameter.
|
UESStreamHandler |
getMaskData(UESURI maskUri,
The command returns the complete permission mask settings data.
|
UESResultList<UESMetaPermissionGetMaskAttributes,UESMetaPermissionGetMaskList> |
getMaskList(UESURI metaArtifactUri,
This command returns a list of permission mask that are placed on the specified meta artifact.
|
UESResultList<UESMetaPermissionGetSystemGroupAttributes,UESMetaPermissionGetSystemGroupList> |
getSystemGroupList(UESURI entityUri,
This command returns a list of system groups that are defined for the specified template or territory.
|
void |
grant(UESURI templateUri,
The command grants template of permission for the specified template.
|
void |
revoke(UESURI templateUri,
The command revokes template of permissions for the specified template.
|
UESURI |
setMaskAttributes(UESURI maskUri,
The command sets new attributes of the specified permission mask.
|
void |
setMaskData(UESURI accessRightsMaskUri,
The command stores a permission mask settings.
|
UESMetaPermissionGrant.data
) can be used for permission
settings.templateUri
- UESURI of the template for that the template of permission is grantedmetaPermission
- DTO containing attributes of the template of permissionUESMetaPermissionRTException
UESMetaPermissionRevoke.all
) or part (see
UESMetaPermissionRevoke.data
) of permission settings.templateUri
- UESURI of the template for that the template of permission is revokedmetaPermission
- DTO containing attributes of the template of permission to revokeUESMetaPermissionRTException
templateUri
- UESURI of the template for that the template of permission are appliedcriteria
- DTO containing criteria for listing the permissionsUESMetaPermissionRTException
UESMetaPermission.grant(cz.ues.core.commons.uri.UESURI, cz.ues.core.security.authz.dto.UESMetaPermissionGrant)
) and from rest of actions
that are defined in the system catalog. templateUri
- UESURI of the template for that the template of permissionoptions
- DTO containing options for getting template of permission settings dataUESMetaPermissionRTException
templateUri
- UESURI of the meta artifact where the mask is aggregated.mask
- DTO containing attributes of the new permission maskUESMetaPermissionRTException
maskUri
- UESURI of the permission mask which is about to be deletedUESMetaPermissionRTException
maskUri
- UESURI of the permission maskUESMetaPermissionRTException
UESMetaPermission#create
or UESMetaPermission.setMaskData(cz.ues.core.commons.uri.UESURI, cz.ues.core.security.authz.dto.UESMetaPermissionSetMaskData)
) and from rest of actions that are defined
in the system catalog. The result is streamed in JSON or CSV.maskUri
- UESURI of the permission maskoptions
- DTO containing an options for getting mask settings data.UESMetaPermissionRTException
metaArtifactUri
- UESURI of the meta artifact where permission masks arecriteria
- DTO containing criteria for listing permission masksUESMetaPermissionRTException
maskUri
- UESURI of the permission mask which attributes are to be changedmask
- DTO containing new attributes of the permission maskUESMetaPermissionRTException
UESMetaPermissionSetMaskData.data
.accessRightsMaskUri
- maskData
- UESMetaPermissionRTException
entityUri
- UESURI of template or territoryUESMetaPermissionRTException