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() |
String |
getName()
The name of the Permission.
|
String |
getNamespaceCode()
The namespace code that this Permission belongs too.
|
String |
getObjectId() |
Template |
getTemplate()
The Template referenced by the Permission.
|
Long |
getVersionNumber() |
boolean |
isActive() |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getId()
getId 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()
isActive in interface InactivatableInactivatable.isActive()public Map<String,String> getAttributes()
PermissionContractgetAttributes in interface PermissionContractPermissionContract.getAttributes()public Long getVersionNumber()
getVersionNumber in interface VersionedVersioned.getVersionNumber()public String getObjectId()
getObjectId in interface GloballyUniqueGloballyUnique.getObjectId()Copyright © 2005–2018 The Kuali Foundation. All rights reserved.