|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.metadata.runtime.AbstractVDBDeleteUtility
com.metamatrix.metadata.runtime.RuntimeVDBDeleteUtility
public class RuntimeVDBDeleteUtility
Implementation of RuntimeVDBDeleteUtility to be used with a running server. This implementation requires a running SessionService and AuthenticationService.
This implementation uses the Session service to determine when it is safe to delete a VDB version that has been marked for delete. It is safe to delete a VDB version when no more user sessions are logged in to it.
Constructor Summary | |
---|---|
RuntimeVDBDeleteUtility()
|
Method Summary | |
---|---|
boolean |
checkSessions(VirtualDatabaseID vdbID)
Check for any sessions logged into the specified VDB. |
boolean |
checkSessions(VirtualDatabaseID vdbID,
MetaMatrixSessionID sessionID)
Check for any sessions logged into the specified VDB. |
void |
deleteAuthorizationPoliciesForVDB(java.lang.String VDBName,
java.lang.String VDBVersion)
For a given VDB version, delete all AuthorizationPolicies associated with it. |
Methods inherited from class com.metamatrix.metadata.runtime.AbstractVDBDeleteUtility |
---|
deleteVDBMarkedForDelete, deleteVDBsMarkedForDelete, getSessionsLoggedInToVDB |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimeVDBDeleteUtility()
Method Detail |
---|
public boolean checkSessions(VirtualDatabaseID vdbID, MetaMatrixSessionID sessionID) throws MetaMatrixComponentException
checkSessions
in class AbstractVDBDeleteUtility
vdbID
- sessionID
-
MetaMatrixComponentException
public boolean checkSessions(VirtualDatabaseID vdbID) throws MetaMatrixComponentException
checkSessions
in class AbstractVDBDeleteUtility
vdbID
-
MetaMatrixComponentException
public void deleteAuthorizationPoliciesForVDB(java.lang.String VDBName, java.lang.String VDBVersion) throws MetaMatrixComponentException
deleteAuthorizationPoliciesForVDB
in class AbstractVDBDeleteUtility
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |