public final class Permission extends AbstractDataTransferObject implements PermissionContract
PermissionContract.
To construct an instance of a Permission, use the Permission.Builder class.
PermissionContract,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
Permission.Builder
This builder constructs a Permission enforcing the constraints of the
PermissionContract. |
static class |
Permission.Cache |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes()
Attributes for a Permission.
|
String |
getDescription()
The description of the Permission.
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
The name of the Permission.
|
String |
getNamespaceCode()
The namespace code that this Permission belongs too.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
Template |
getTemplate()
The Template referenced by the Permission.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getId()
IdentifiablegetId in interface IdentifiableIdentifiable.getId()public String getNamespaceCode()
PermissionContractgetNamespaceCode in interface PermissionContractPermissionContract.getNamespaceCode()public String getName()
PermissionContractgetName in interface PermissionContractPermissionContract.getName()public String getDescription()
PermissionContractgetDescription in interface PermissionContractPermissionContract.getDescription()public Template getTemplate()
PermissionContractgetTemplate in interface PermissionContractPermissionContract.getTemplate()public boolean isActive()
InactivatableisActive in interface InactivatableInactivatable.isActive()public Map<String,String> getAttributes()
PermissionContractgetAttributes in interface PermissionContractPermissionContract.getAttributes()public Long getVersionNumber()
VersionedgetVersionNumber in interface VersionedVersioned.getVersionNumber()public String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniqueGloballyUnique.getObjectId()Copyright © 2005–2015 The Kuali Foundation. All rights reserved.