Permission

Name Permission
Usage PermissionService PermissionTypeService
createPermission updatePermission getAuthorizedPermissions getAuthorizedPermissionsByTemplate getPermission findPermByNamespaceCodeAndName findPermissionsByTemplate getMatchingPermissions
PermissionQueryResults
Type Complex

Description

An immutable representation of a {@link PermissionContract}.

To construct an instance of a Permission, use the {@link Permission.Builder} class.

Structure Definition

ShortName Name Type Description Required? Read only? Cardinality XML Attribute? Implementation Notes
id Id String The unique identifier for an object. This can be null. Required   One No  
namespaceCode Namespace Code String The namespace code that this Permission belongs too. Required   One No  
name Name String The name of the Permission. Required   One No  
description Description String The description of the Permission.     One No  
template Template Template The Template referenced by the Permission. Required   One No  
active Active boolean The active indicator for an object.     One No  
attributes Attributes Map Attributes for a Permission.     One No  
versionNumber Version Number Long Returns the version number for this object. In general, this value should only
be null if the object has not yet been stored to a persistent data store.
This version number is generally used for the purposes of optimistic locking.
    One No  
objectId Object Id String Return the globally unique object id of this object. In general, this value should only
be null if the object has not yet been stored to a persistent data store.
    One No