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
@CacheGroups("CONFIG") public class Permission extends _Permission
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:
- Serialized Form
-
-
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
-
-
Constructor Summary
Constructors Constructor Description Permission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPermissionLabel()
Return the display label for a permissionString
getPermissionLabelWithPortal()
Return the display label for a permission, also appending the name of the associated portal-
Methods 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
-
-
-
-
Method Detail
-
getPermissionLabel
public String getPermissionLabel()
Return the display label for a permission- Returns:
- the label string
-
getPermissionLabelWithPortal
public String getPermissionLabelWithPortal()
Return the display label for a permission, also appending the name of the associated portal- Returns:
- the label string
-
-