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_PROPERTY
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
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, setPortal
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
Methods 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, writeSerialized
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-