@PersistentObjectService(value=org.tentackle.security.pdo.Security.class) public class SecurityPersistenceImpl extends AbstractPersistentObject<Security,SecurityPersistenceImpl> implements SecurityPersistence
| Modifier and Type | Field and Description |
|---|---|
static PersistentObjectClassVariables<Security,SecurityPersistenceImpl> |
CLASSVARIABLES
Variables common to all instances of SecurityPersistenceImpl.
|
static String |
CN_ALLOWED
database column name for 'allowed'.
|
static String |
CN_DOMAINCONTEXTCLASSID
database column name for 'domainContextClassId'.
|
static String |
CN_DOMAINCONTEXTID
database column name for 'domainContextId'.
|
static String |
CN_GRANTEECLASSID
database column name for 'granteeClassId'.
|
static String |
CN_GRANTEEID
database column name for 'granteeId'.
|
static String |
CN_MESSAGE
database column name for 'message'.
|
static String |
CN_OBJECTCLASSID
database column name for 'objectClassId'.
|
static String |
CN_OBJECTCLASSNAME
database column name for 'objectClassName'.
|
static String |
CN_OBJECTID
database column name for 'objectId'.
|
static String |
CN_PERMISSIONS
database column name for 'permissions'.
|
static String |
CN_PRIORITY
database column name for 'priority'.
|
AN_EDITEDBY, AN_EDITEDEXPIRY, AN_EDITEDSINCE, AN_NORMTEXT, AN_ROOTCLASSID, AN_ROOTID, CN_EDITEDBY, CN_EDITEDEXPIRY, CN_EDITEDSINCE, CN_NORMTEXT, CN_ROOTCLASSID, CN_ROOTID, objectIsSnapshot, TX_DELETE_ALL_IN_CONTEXT, TX_SAVE_COPY_IN_CONTEXT, TX_TRANSFER_TOKENLOCKAN_CLASSID, AN_ID, AN_SERIAL, AN_TABLESERIAL, CN_CLASSID, CN_ID, CN_SERIAL, CN_TABLESERIAL, idComparator, nameComparator, nameIdComparator, preparePending, TX_DELETE_LIST, TX_DELETE_MISSING_IN_LIST, TX_DELETE_OBJECT, TX_DUMMY_UPDATE, TX_INSERT_OBJECT, TX_INSERT_PLAIN, TX_SAVE, TX_SAVE_LIST, TX_SYNC, TX_UPDATE_OBJECT, TX_UPDATE_PLAIN, TX_UPDATE_SERIAL, TX_UPDATE_SERIAL_AND_TABLESERIAL, TX_UPDATE_TABLESERIALAN_ALLOWED, AN_DOMAINCONTEXTCLASSID, AN_DOMAINCONTEXTID, AN_GRANTEECLASSID, AN_GRANTEEID, AN_MESSAGE, AN_OBJECTCLASSID, AN_OBJECTCLASSNAME, AN_OBJECTID, AN_PERMISSIONS, AN_PRIORITY, CL_OBJECTCLASSNAME, CL_PERMISSIONS| Constructor and Description |
|---|
SecurityPersistenceImpl()
Creates a security rule without domain context or session.
|
SecurityPersistenceImpl(Security pdo)
Creates a security rule without domain context or session.
|
SecurityPersistenceImpl(Security pdo,
DomainContext context)
Creates a security rule.
|
SecurityPersistenceImpl(Security pdo,
Session session)
Creates a security rule with a session only.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assertRemoteSecurityManagerInitialized() |
void |
assertRootContextIsAccepted()
Checks the root context agains the security rules.
|
protected void |
createAttributesInSnapshot(SecurityPersistenceImpl snapshot)
Updates the attributes in snapshot object.
The snapshot object is assumed to be a clone of this object. |
String |
createInsertSql()
Creates the SQL code for the insert statement.
|
String |
createUpdateSql()
Creates the SQL code for the update statement.
|
int |
deleteByDomainContext(int domainContextClassId,
long domainContextId) |
int |
deleteByGrantee(int granteeClassId,
long granteeId) |
int |
deleteByObject(int objectClassId,
long objectId) |
int |
deleteByObjectClass(String objectClassName) |
boolean |
expireCache(long maxSerial)
Expires the cache according to the serial numbers.
If objects of this class are cached, the cache must be expired on updates, etc... |
PdoCache<Security> |
getCache()
Gets the cache.
|
PersistentObjectClassVariables<Security,SecurityPersistenceImpl> |
getClassVariables()
Gets the application oriented class variables for this object.
Class variables for classes derived from AbstractPersistentObject are kept in an instance of PersistentObjectClassVariables. |
int |
getDomainContextClassId()
Gets the attribute domainContextClassId.
|
long |
getDomainContextId()
Gets the attribute domainContextId.
|
PersistentDomainObject<?> |
getDomainContextObject()
Gets the application context's object.
The object will be loaded in its valid context. |
void |
getFields(ResultSetWrapper rs)
Retrieves the values of all fields.
|
PersistentDomainObject<?> |
getGrantee()
Gets the grantee.
|
int |
getGranteeClassId()
Gets the attribute granteeClassId.
|
long |
getGranteeId()
Gets the attribute granteeId.
|
String |
getMessage()
Gets the attribute message.
|
PersistentDomainObject<?> |
getObject()
Gets the object this rule applies to.
The object is retrieved in its valid context. |
Class<?> |
getObjectClass() |
int |
getObjectClassId()
Gets the attribute objectClassId.
|
String |
getObjectClassName()
Gets the attribute objectClassName.
|
long |
getObjectId()
Gets the attribute objectId.
|
String |
getPermissions()
Gets the attribute permissions.
|
int |
getPriority()
Gets the attribute priority.
|
org.tentackle.security.pdo.rmi.SecurityRemoteDelegate |
getRemoteDelegate()
Gets the delegate for remote connections.
Each class has its own delegate. |
boolean |
isAllowed()
Gets the attribute allowed.
|
boolean |
isCountingModification(char modType)
Determines whether modifications of this object are counted in the modification table.
Counting is also turned on if the PDO provides a tableserial. |
boolean |
isReadAllowed()
Determines whether the application is allowed to read this PDO.
Makes no sense to publish in PersistentObject because PDOs without read permissions are not read from the database at all. |
boolean |
isRootEntity()
Object is a root entity.
|
boolean |
isTracked()
Overridden cause of "--tracked".
|
String |
orderBy()
Gets the natural ordering to be added in WHERE-clauses following "ORDER BY ".
|
protected void |
revertAttributesToSnapshot(SecurityPersistenceImpl snapshot)
Copies all attributes from a snapshot back to this object.
|
List<Security> |
selectAllCached()
Gets all objects in context via cache.
|
TrackedList<Security> |
selectByDomainContext(int domainContextClassId,
long domainContextId) |
List<Security> |
selectByGrantee(int granteeClassId,
long granteeId) |
TrackedList<Security> |
selectByObject(int objectClassId,
long objectId) |
TrackedList<Security> |
selectByObjectClass(String objectClassName) |
Security |
selectCached(long id)
Gets the object via cache.
If there is no cache (i.e. |
Security |
selectCachedOnly(long id)
Gets the object via cache only.
If there is no cache (i.e. |
void |
setAllowed(boolean allowed)
Sets the attribute allowed.
|
void |
setDomainContextClassId(int domainContextClassId)
Sets the attribute domainContextClassId.
|
void |
setDomainContextId(long domainContextId)
Sets the attribute domainContextId.
|
void |
setDomainContextObject(PersistentDomainObject<?> contextObject)
Sets the application context's object.
|
int |
setFields(PreparedStatementWrapper st)
Sets the values of all fields (all columns of the database table)
in the given
PreparedStatementWrapper from the object's attributes. |
void |
setGrantee(PersistentDomainObject<?> grantee)
Sets the grantee.
|
void |
setGranteeClassId(int granteeClassId)
Sets the attribute granteeClassId.
|
void |
setGranteeId(long granteeId)
Sets the attribute granteeId.
|
void |
setMessage(String message)
Sets the attribute message.
|
void |
setObject(PersistentDomainObject<?> object)
Sets the object this rule applies to.
Setting the null object also clears the objectClass making the rule invalid. |
void |
setObjectClassId(int objectClassId)
Sets the attribute objectClassId.
|
void |
setObjectClassName(String objectClassName)
Sets the attribute objectClassName.
|
void |
setObjectId(long objectId)
Sets the attribute objectId.
|
void |
setPermissions(String permissions)
Sets the attribute permissions.
|
void |
setPriority(int priority)
Sets the attribute priority.
|
String |
toString()
for debugging only
|
addComponents, addComponents, addReferencingClass, addSnapshot, assertDomainContextMutable, assertMutable, assertNormTextProvided, assertNotAbstract, assertNotCached, assertPersistable, assertReadPermission, assertRootContext, assertRootEntity, assertTokenLockProvided, assertValidSnapshot, assertWritePermission, clearTokenLock, clone, clonePersistentObject, configureRemoteObject, configureRemoteObjects, containsPattern, copy, countModification, createAttributesInSnapshot, createComponentsInSnapshot, createCopyInContext, createDummyUpdateSql, createSelectAllByIdInnerSql, createSelectAllIdSerialInnerSql, createSelectAllInnerSql, createSelectAllSql, createSelectByNormTextSql, createSelectExpiredTableSerials1Sql, createSelectExpiredTableSerials2Sql, createSelectIdInnerSql, createSelectIdInnerSql, createSelectMaxIdSql, createSelectMaxTableSerialSql, createSelectSerialSql, createSelectTokenLockSql, createSnapshot, createTransferTokenLockSql, createTransferTokenLockWithTableSerialSql, createUpdateSerialAndTableSerialSql, createUpdateSerialSql, createUpdateTokenLockOnlySql, createUpdateTokenLockSql, createUpdateTokenLockWithCountSql, createValidContext, delete, delete, delete, deleteImpl, deleteMissingInCollection, deletePlainWithComponents, deletePlainWithComponents, derivePdoFromPo, determineContextId, executeFirstPdoQuery, executeFirstPdoQuery, executeListQuery, executeListQuery, executeQueryToList, executeQueryToList, executeTrackedListQuery, executeTrackedListQuery, findDuplicate, findSnapshotMethod, finishModification, finishNotUpdated, getBaseContext, getCacheAccessCount, getCacheAccessTime, getColumnName, getContextId, getContextUserId, getCopiedObject, getDefaultScopes, getDomainContext, getDomainDelegate, getEagerJoinedSelect, getEagerJoins, getEditedBy, getEditedExpiry, getEditedSince, getNormText, getPdo, getPdoClass, getPersistenceClass, getRootClassId, getRootId, getSecurityResult, getSnapshots, getSqlClassIdCondition, getSqlContextCondition, getTableAlias, getTableName, getTokenLockObject, getTokenLockTimeout, getTopSuperTableAlias, getTopSuperTableName, getTransientData, getValidClassId, initModification, insertObject, insertPlainWithComponents, insertPlainWithComponents, isAbstract, isCacheable, isCached, isClassIdRequiredInWhereClause, isComposite, isCountingModificationForTokenLock, isDomainContextImmutable, isEditAllowed, isExpired, isExplicitIdAliasRequiredInJoins, isModified, isNormTextProvided, isPermissionAccepted, isPersistable, isReferenced, isRenewTokenLockRequested, isRootClassIdProvided, isRootIdProvided, isSnapshot, isTokenLocked, isTokenLockedBy, isTokenLockedByMe, isTokenLockProvided, isUpdateNecessary, isUpdatingSerialEvenIfNotModified, isValidated, isViewAllowed, isWriteAllowed, loadComponents, markCacheAccess, markDeleted, markDeleted, newId, pdo, persist, persistImpl, persistTokenLocked, readFromResultSetWrapper, readJoinedRow, releaseTokenLock, reload, reloadLocked, removeReferencingClass, requestTokenLock, resultAll, resultAllCursor, resultByNormText, resultByNormTextCursor, revertAttributesToSnapshot, revertComponentsToSnapshot, revertToSnapshot, save, save, save, saveCopyInContext, saveImpl, select, select, selectAll, selectAllAsCursor, selectAllForCache, selectByNormText, selectByNormTextAsCursor, selectByTemplate, selectForCache, selectLocked, setDomainContext, setDomainContextImmutable, setEditedBy, setEditedExpiry, setEditedSince, setExpired, setModified, setNormText, setPdo, setPersistable, setRenewTokenLockRequested, setRootClassId, setRootId, setTokenLockObject, setTransientData, transferTokenLock, updateObject, updateRootContext, updateTokenLock, updateTokenLock, updateTokenLockOnly, validate, validateacceptPersistenceVisitor, addPropertyChangeListener, addPropertyChangeListener, assertNotNew, assertNotOverloaded, assertNotRemote, assertNumberOfRowsAffected, assertRemote, assertThisRowAffected, attributesModified, beginTx, clearOnRemoteSave, compareTo, copyToDb, createDeleteAllSql, createDeleteSql, createModificationLog, createPreparedStatement, createPreparedStatement, createSelectSql, createSqlUpdate, deleteImpl, deleteObject, deletePlain, deleteReferencedRelations, deleteReferencingRelations, dummyUpdate, equals, firePropertyChange, getBackend, getClassBaseName, getClassId, getColumnCount, getExpirationBacklog, getExpiredTableSerials, getId, getIdSource, getImmutableLoggingLevel, getModificationCount, getModificationLog, getPreparedStatement, getPreparedStatement, getPropertyChangeListeners, getPropertyChangeListeners, getSerial, getSession, getSessionHolder, getTableSerial, hashCode, insertImpl, insertPlain, isDeleted, isEntity, isIdValid, isImmutable, isLoggingModification, isModified, isNew, isOverloadable, isRemovable, isSessionImmutable, isStatementAlwaysPrepared, isTableSerialProvided, isVirgin, loadLazyReferences, logModification, markDeleted, newInstance, newInstance, newInstance, persistObject, prepareDelete, prepareSave, prepareSetFields, reloadLockedObject, reloadObject, removeAllPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, reserveId, resultAllIdSerial, resultAllObjects, revertAttributesToSnapshot, saveObject, saveReferencedRelations, saveReferencingRelations, selectAllIdSerial, selectAllObjects, selectExpiredTableSerials, selectExpiredTableSerials, selectLockedObject, selectMaxId, selectMaxTableSerial, selectNextObject, selectObject, selectSerial, setClassId, setId, setImmutable, setImmutableLoggingLevel, setModificationLog, setOverloadable, setSerial, setSession, setSessionHolder, setSessionImmutable, setStatementAlwaysPrepared, setTableSerial, toGenericString, toIdString, unmarkDeleted, updateImpl, updatePlain, updateSerial, updateSerialAndTableSerialfinalize, getClass, notify, notifyAll, wait, wait, waitattributesModified, clonePersistentObject, containsPattern, createCopyInContext, delete, findDuplicate, getCacheAccessCount, getCacheAccessTime, getClassBaseName, getClassId, getCopiedObject, getEditedBy, getEditedExpiry, getEditedSince, getExpiredTableSerials, getId, getModificationCount, getNormText, getRootClassId, getRootId, getSecurityResult, getSerial, getTableName, getTableSerial, getTokenLockObject, getTokenLockTimeout, getTransientData, isAbstract, isCacheable, isCached, isComposite, isDeleted, isEditAllowed, isExpired, isImmutable, isNew, isNormTextProvided, isPermissionAccepted, isPersistable, isReferenced, isRemovable, isRootClassIdProvided, isRootIdProvided, isTableSerialProvided, isTokenLocked, isTokenLockedBy, isTokenLockedByMe, isTokenLockProvided, isValidated, isViewAllowed, isWriteAllowed, markCacheAccess, pdo, persist, persistTokenLocked, prepareDelete, releaseTokenLock, reload, reloadLocked, requestTokenLock, reserveId, save, select, selectAll, selectAllAsCursor, selectAllForCache, selectAllIdSerial, selectByNormText, selectByNormTextAsCursor, selectExpiredTableSerials, selectExpiredTableSerials, selectForCache, selectLocked, selectMaxId, selectMaxTableSerial, selectSerial, setEditedBy, setEditedExpiry, setEditedSince, setExpired, setId, setImmutable, setModified, setNormText, setRootClassId, setRootId, setSerial, setTableSerial, setTokenLockObject, setTransientData, toIdString, transferTokenLock, validategetDomainDelegatecreateSnapshot, getSnapshots, isSnapshot, revertToSnapshottoGenericStringisModifiedisVirginvalidategetDefaultScopescreateValidContext, determineContextId, getBaseContext, getContextId, isDomainContextImmutable, setDomainContext, setDomainContextImmutablegetDomainContext, on, opnisSessionImmutable, setSession, setSessionImmutablegetSessionpublic static final PersistentObjectClassVariables<Security,SecurityPersistenceImpl> CLASSVARIABLES
public static final String CN_OBJECTCLASSNAME
public static final String CN_OBJECTCLASSID
public static final String CN_OBJECTID
public static final String CN_DOMAINCONTEXTCLASSID
public static final String CN_DOMAINCONTEXTID
public static final String CN_GRANTEECLASSID
public static final String CN_GRANTEEID
public static final String CN_PRIORITY
public static final String CN_PERMISSIONS
public static final String CN_ALLOWED
public static final String CN_MESSAGE
public SecurityPersistenceImpl(Security pdo, DomainContext context)
pdo - the security PDOcontext - the domain contextpublic SecurityPersistenceImpl(Security pdo, Session session)
pdo - the security PDOsession - the sessionpublic SecurityPersistenceImpl(Security pdo)
pdo - the security PDOpublic SecurityPersistenceImpl()
public PersistentObjectClassVariables<Security,SecurityPersistenceImpl> getClassVariables()
AbstractPersistentObjectPersistentObjectClassVariables.getClassVariables in class AbstractPersistentObject<Security,SecurityPersistenceImpl>AbstractDbObject.getClassVariables()public PersistentDomainObject<?> getObject()
getObject in interface SecurityPersistencepublic void assertRootContextIsAccepted()
AbstractPersistentObjectassertRootContextIsAccepted in class AbstractPersistentObject<Security,SecurityPersistenceImpl>public void setObject(PersistentDomainObject<?> object)
setObject in interface SecurityPersistenceobject - the object, null to clearpublic PersistentDomainObject<?> getGrantee()
getGrantee in interface SecurityPersistencepublic void setGrantee(PersistentDomainObject<?> grantee)
setGrantee in interface SecurityPersistencegrantee - the grantee, null to clear (all)public PersistentDomainObject<?> getDomainContextObject()
getDomainContextObject in interface SecurityPersistencepublic void setDomainContextObject(PersistentDomainObject<?> contextObject)
setDomainContextObject in interface SecurityPersistencecontextObject - the context object, null to clear (all)public String toString()
toString in class AbstractDbObject<SecurityPersistenceImpl>public void assertRemoteSecurityManagerInitialized()
assertRemoteSecurityManagerInitialized in interface SecurityPersistencepublic Class<?> getObjectClass()
getObjectClass in interface SecurityPersistencepublic PdoCache<Security> getCache()
AbstractPersistentObjectgetCache in interface PersistentObject<Security>getCache in class AbstractPersistentObject<Security,SecurityPersistenceImpl>public boolean isCountingModification(char modType)
AbstractDbObjectisCountingModification in class AbstractDbObject<SecurityPersistenceImpl>modType - is one of the modtypes INSERT, UPDATE, DELETE, ...public boolean isReadAllowed()
AbstractPersistentObjectisReadAllowed in class AbstractPersistentObject<Security,SecurityPersistenceImpl>public boolean expireCache(long maxSerial)
AbstractPersistentObject
cache.expire(maxSerial);
while "cache" has been declared by the wurblet PdoCache.expireCache in class AbstractPersistentObject<Security,SecurityPersistenceImpl>maxSerial - is the new tableSerial this object will getPdoCachepublic Security selectCachedOnly(long id)
AbstractPersistentObjectselectCachedOnly in interface PersistentObject<Security>selectCachedOnly in class AbstractPersistentObject<Security,SecurityPersistenceImpl>id - the uniue object IDAbstractDbObject.selectObject(long)public Security selectCached(long id)
AbstractPersistentObjectselectCached in interface PersistentObject<Security>selectCached in class AbstractPersistentObject<Security,SecurityPersistenceImpl>id - the uniue object IDAbstractDbObject.selectObject(long)public List<Security> selectAllCached()
AbstractPersistentObjectselectAllCached in interface PersistentObject<Security>selectAllCached in class AbstractPersistentObject<Security,SecurityPersistenceImpl>AbstractPersistentObject.selectAll()public List<Security> selectByGrantee(int granteeClassId, long granteeId)
selectByGrantee in interface SecurityPersistencepublic TrackedList<Security> selectByObject(int objectClassId, long objectId)
selectByObject in interface SecurityPersistencepublic TrackedList<Security> selectByObjectClass(String objectClassName)
selectByObjectClass in interface SecurityPersistencepublic TrackedList<Security> selectByDomainContext(int domainContextClassId, long domainContextId)
selectByDomainContext in interface SecurityPersistencepublic int deleteByGrantee(int granteeClassId,
long granteeId)
deleteByGrantee in interface SecurityPersistencepublic int deleteByObject(int objectClassId,
long objectId)
deleteByObject in interface SecurityPersistencepublic int deleteByObjectClass(String objectClassName)
deleteByObjectClass in interface SecurityPersistencepublic int deleteByDomainContext(int domainContextClassId,
long domainContextId)
deleteByDomainContext in interface SecurityPersistencepublic org.tentackle.security.pdo.rmi.SecurityRemoteDelegate getRemoteDelegate()
AbstractPersistentObjectOverridden due to covariance.
getRemoteDelegate in class AbstractPersistentObject<Security,SecurityPersistenceImpl>public boolean isRootEntity()
isRootEntity in interface PersistentObject<Security>isRootEntity in class AbstractPersistentObject<Security,SecurityPersistenceImpl>public boolean isTracked()
isTracked in interface PersistentObject<Security>isTracked in class AbstractDbObject<SecurityPersistenceImpl>public String orderBy()
AbstractPersistentObjectreturn CN_ID + "," + CN_PRINTED + " DESC";For a single field with sort ascending returning the fieldname is sufficient. The default is null, i.e. no order-by-clause will be added.
orderBy in class AbstractPersistentObject<Security,SecurityPersistenceImpl>public void getFields(ResultSetWrapper rs)
AbstractDbObjectgetFields in class AbstractDbObject<SecurityPersistenceImpl>rs - the result setpublic int setFields(PreparedStatementWrapper st)
AbstractDbObjectPreparedStatementWrapper from the object's attributes.setFields in class AbstractDbObject<SecurityPersistenceImpl>st - the statementpublic String createInsertSql()
AbstractDbObjectcreateInsertSql in class AbstractDbObject<SecurityPersistenceImpl>public String createUpdateSql()
AbstractDbObjectcreateUpdateSql in class AbstractDbObject<SecurityPersistenceImpl>public String getObjectClassName()
getObjectClassName in interface SecurityPersistencepublic void setObjectClassName(String objectClassName)
setObjectClassName in interface SecurityPersistenceobjectClassName - the protected classname, null if an entitypublic int getObjectClassId()
getObjectClassId in interface SecurityPersistencepublic void setObjectClassId(int objectClassId)
setObjectClassId in interface SecurityPersistenceobjectClassId - the protected object's class id, 0 if not an entitypublic long getObjectId()
getObjectId in interface SecurityPersistencepublic void setObjectId(long objectId)
setObjectId in interface SecurityPersistenceobjectId - the id of the protected object, 0 if all instances or not an entitypublic int getDomainContextClassId()
getDomainContextClassId in interface SecurityPersistencepublic void setDomainContextClassId(int domainContextClassId)
setDomainContextClassId in interface SecurityPersistencedomainContextClassId - the class id of the DomainContext's context entity, 0 if all contextspublic long getDomainContextId()
getDomainContextId in interface SecurityPersistencepublic void setDomainContextId(long domainContextId)
setDomainContextId in interface SecurityPersistencedomainContextId - the id of DomainContext's context object, 0 if all instancespublic int getGranteeClassId()
getGranteeClassId in interface SecurityPersistencepublic void setGranteeClassId(int granteeClassId)
setGranteeClassId in interface SecurityPersistencegranteeClassId - the class id of the entity the permissions are granted to, null if all classespublic long getGranteeId()
getGranteeId in interface SecurityPersistencepublic void setGranteeId(long granteeId)
setGranteeId in interface SecurityPersistencegranteeId - the id of the entity the permissions are granted to, 0 if all granteespublic int getPriority()
getPriority in interface SecurityPersistencepublic void setPriority(int priority)
setPriority in interface SecurityPersistencepriority - the priority or evaluation order, 0 is highest or firstpublic String getPermissions()
getPermissions in interface SecurityPersistencepublic void setPermissions(String permissions)
setPermissions in interface SecurityPersistencepermissions - the permissions as a comma-separated listpublic boolean isAllowed()
isAllowed in interface SecurityPersistencepublic void setAllowed(boolean allowed)
setAllowed in interface SecurityPersistenceallowed - the false if denied, true if allowedpublic String getMessage()
getMessage in interface SecurityPersistencepublic void setMessage(String message)
setMessage in interface SecurityPersistencemessage - the user messageprotected void createAttributesInSnapshot(SecurityPersistenceImpl snapshot)
snapshot - the snapshotprotected void revertAttributesToSnapshot(SecurityPersistenceImpl snapshot)
snapshot - the snapshot objectCopyright © 2016 Krake Softwaretechnik. All rights reserved.