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
@CacheGroups("CONFIG") public class Role extends _Role implements Auditable
Provides a named collection of access privileges. Roles consist of permissions and can be assigned to users.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADMINISTRATOR_ROLE
The name that identifies the root administrator rolestatic String
ANONYMOUS_ROLE
The name that identifies the anonymous rolestatic String
SERVICE_USER_ROLE
The name that identifies the service user role-
Fields 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
-
-
Constructor Summary
Constructors Constructor Description Role()
-
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
-
-
-
-
Field Detail
-
ADMINISTRATOR_ROLE
public static final String ADMINISTRATOR_ROLE
The name that identifies the root administrator role- See Also:
- Constant Field Values
-
ANONYMOUS_ROLE
public static final String ANONYMOUS_ROLE
The name that identifies the anonymous role- See Also:
- Constant Field Values
-
SERVICE_USER_ROLE
public static final String SERVICE_USER_ROLE
The name that identifies the service user role- See Also:
- Constant Field Values
-
-