Package com.avoka.fc.core.entity
Class Role
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._Role
com.avoka.fc.core.entity.Role
- All Implemented Interfaces:
IEntity
,Auditable
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a named collection of access privileges. Roles consist of permissions and can be assigned to users.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name that identifies the root administrator rolestatic final String
The name that identifies the anonymous rolestatic final String
The name that identifies the service user roleFields inherited from class com.avoka.fc.core.entity.auto._Role
ACTIVE_FLAG, ACTIVE_FLAG_PROPERTY, CLIENT_ASSIGNABLE_FLAG, CLIENT_ASSIGNABLE_FLAG_PROPERTY, ROLE_DESCRIPTION, ROLE_DESCRIPTION_PROPERTY, ROLE_NAME, ROLE_NAME_PROPERTY, ROLE_OID_PK_COLUMN, ROLE_PERMISSIONS, ROLE_PERMISSIONS_PROPERTY, USER_ROLES, USER_ROLES_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
Methods inherited from class com.avoka.fc.core.entity.auto._Role
addToRolePermissions, addToUserRoles, getRoleDescription, getRoleName, getRolePermissions, getUserRoles, isActiveFlag, isClientAssignableFlag, removeFromRolePermissions, removeFromUserRoles, setActiveFlag, setClientAssignableFlag, setRoleDescription, setRoleName
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 com.avoka.fc.core.entity.Auditable
getId, getValuesMap
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
ADMINISTRATOR_ROLE
The name that identifies the root administrator role- See Also:
-
ANONYMOUS_ROLE
The name that identifies the anonymous role- See Also:
-
SERVICE_USER_ROLE
The name that identifies the service user role- See Also:
-
-
Constructor Details
-
Role
public Role()
-