org.tentackle.appworx.rmi
Class SecurityRemoteDelegateImpl<T extends Security>
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.tentackle.db.rmi.RemoteDelegateImpl<T>
org.tentackle.db.rmi.DbObjectRemoteDelegateImpl<T>
org.tentackle.appworx.rmi.AppDbObjectRemoteDelegateImpl<T>
org.tentackle.appworx.rmi.SecurityRemoteDelegateImpl<T>
- All Implemented Interfaces:
- Serializable, Remote, AppDbObjectRemoteDelegate, SecurityRemoteDelegate, DbObjectRemoteDelegate, RemoteDelegate
public class SecurityRemoteDelegateImpl<T extends Security>
- extends AppDbObjectRemoteDelegateImpl<T>
- implements SecurityRemoteDelegate
Implementation of the Security remote delegate.
- Author:
- harald
- See Also:
- Serialized Form
| Methods inherited from class org.tentackle.appworx.rmi.AppDbObjectRemoteDelegateImpl |
deleteObject, deletePlain, dummyUpdate, getTreeChildObjects, getTreeChildObjects, getTreeParentObjects, getTreeParentObjects, insertObject, insertPlain, isReferenced, newObject, searchQbfCursor, select, selectAll, selectAllInContext, selectAllInContextCursor, selectAllInContextFromServerCache, selectByNormText, selectByNormTextCursor, selectLocked, setContextDb, setServerContextDb, transferEditedBy, updateEditedBy, updateEditedByOnly, updateObject, updatePlain, updateSerial, updateSerialAndTableSerial, updateTableSerial |
| Methods inherited from class org.tentackle.db.rmi.DbObjectRemoteDelegateImpl |
getExpirationBacklog, getExpiredTableSerials, isReferenced, newObject, save, select, selectAllCursor, selectExpiredTableSerials, selectExpiredTableSerials, selectInValidContext, selectLocked, selectModification, selectSerial |
| Methods inherited from interface org.tentackle.appworx.rmi.AppDbObjectRemoteDelegate |
getTreeChildObjects, getTreeChildObjects, getTreeParentObjects, getTreeParentObjects, isReferenced, searchQbfCursor, select, selectAll, selectAllInContext, selectAllInContextCursor, selectAllInContextFromServerCache, selectByNormText, selectByNormTextCursor, selectLocked, transferEditedBy, updateEditedBy, updateEditedByOnly |
| Methods inherited from interface org.tentackle.db.rmi.DbObjectRemoteDelegate |
deleteObject, deletePlain, dummyUpdate, getExpirationBacklog, getExpiredTableSerials, insertObject, insertPlain, isReferenced, save, select, selectAllCursor, selectExpiredTableSerials, selectExpiredTableSerials, selectInValidContext, selectLocked, selectModification, selectSerial, updateObject, updatePlain, updateSerial, updateSerialAndTableSerial, updateTableSerial |
SecurityRemoteDelegateImpl
public SecurityRemoteDelegateImpl(RemoteDbSessionImpl session,
Class<T> clazz)
throws RemoteException
- Creates a security delegate on the session socket.
- Parameters:
session - the RMI sessionclazz - the subclass of DbObject
- Throws:
RemoteException
assertRemoteSecurityManagerInitialized
public void assertRemoteSecurityManagerInitialized(ContextDb contextDb)
throws RemoteException
- Specified by:
assertRemoteSecurityManagerInitialized in interface SecurityRemoteDelegate
- Throws:
RemoteException
selectByGrantId
public List<Security> selectByGrantId(ContextDb contextDb,
long grantId)
throws RemoteException
- Specified by:
selectByGrantId in interface SecurityRemoteDelegate
- Throws:
RemoteException
selectByObject
public TrackedArrayList<Security> selectByObject(ContextDb contextDb,
long objectId,
String objectClass)
throws RemoteException
- Specified by:
selectByObject in interface SecurityRemoteDelegate
- Throws:
RemoteException
deleteByGrantee
public int deleteByGrantee(long grantId)
throws RemoteException
- Specified by:
deleteByGrantee in interface SecurityRemoteDelegate
- Throws:
RemoteException
deleteByObject
public int deleteByObject(long objectId,
String objectClass)
throws RemoteException
- Specified by:
deleteByObject in interface SecurityRemoteDelegate
- Throws:
RemoteException
deleteObjectRulesByObjectClass
public int deleteObjectRulesByObjectClass(String objectClass)
throws RemoteException
- Specified by:
deleteObjectRulesByObjectClass in interface SecurityRemoteDelegate
- Throws:
RemoteException
deleteObjectRulesByObjectClassAndContext
public int deleteObjectRulesByObjectClassAndContext(String objectClass,
long contextId,
String contextClass)
throws RemoteException
- Specified by:
deleteObjectRulesByObjectClassAndContext in interface SecurityRemoteDelegate
- Throws:
RemoteException
deleteObjectRulesByGrantClass
public int deleteObjectRulesByGrantClass(String grantClass)
throws RemoteException
- Specified by:
deleteObjectRulesByGrantClass in interface SecurityRemoteDelegate
- Throws:
RemoteException
deleteObjectRulesByGrantClassAndContext
public int deleteObjectRulesByGrantClassAndContext(String grantClass,
long contextId,
String contextClass)
throws RemoteException
- Specified by:
deleteObjectRulesByGrantClassAndContext in interface SecurityRemoteDelegate
- Throws:
RemoteException
Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de