Package com.avoka.fc.core.entity
Class Permission
java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
com.avoka.core.entity.BaseEntity
com.avoka.fc.core.entity.auto._Permission
com.avoka.fc.core.entity.Permission
- All Implemented Interfaces:
IEntity,Serializable,org.apache.cayenne.DataObject,org.apache.cayenne.Persistent,org.apache.cayenne.Validating
Provides an entity representing the privilege to access restricted content.
All permissions listed in this file apply to the SmartForm Manager administration console.
Other portals may define their own permissions.
- See Also:
-
Field Summary
Fields inherited from class com.avoka.fc.core.entity.auto._Permission
PERMISSION_NAME, PERMISSION_NAME_PROPERTY, PERMISSION_OID_PK_COLUMN, PORTAL, PORTAL_PROPERTY, ROLE_PERMISSIONS, ROLE_PERMISSIONS_PROPERTYFields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTYFields inherited from class org.apache.cayenne.CayenneDataObject
valuesFields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersionFields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceStateFields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the display label for a permissionReturn the display label for a permission, also appending the name of the associated portalMethods inherited from class com.avoka.fc.core.entity.auto._Permission
addToRolePermissions, getPermissionName, getPortal, getRolePermissions, removeFromRolePermissions, setPermissionName, setPortalMethods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toStringMethods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeStateMethods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerializedMethods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Constructor Details
-
Permission
public Permission()
-
-
Method Details
-
getPermissionLabel
Return the display label for a permission- Returns:
- the label string
-
getPermissionLabelWithPortal
Return the display label for a permission, also appending the name of the associated portal- Returns:
- the label string
-