|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.metadata.runtime.AbstractVDBDeleteUtility
public abstract class AbstractVDBDeleteUtility
Utility class that deletes VDBs that were marked for deletion.
| Constructor Summary | |
|---|---|
AbstractVDBDeleteUtility()
Constructor |
|
| Method Summary | |
|---|---|
abstract boolean |
checkSessions(VirtualDatabaseID vdbID)
Check for any sessions logged into the specified VDB. |
abstract boolean |
checkSessions(VirtualDatabaseID vdbID,
MetaMatrixSessionID sessionID)
Check for any sessions logged into the specified VDB. |
abstract void |
deleteAuthorizationPoliciesForVDB(java.lang.String VDBName,
java.lang.String VDBVersion)
For a given VDB version, delete all AuthorizationPolicies associated with it. |
void |
deleteVDBMarkedForDelete(VirtualDatabaseID vdbID)
Deletes the given VDB version provided it has been marked for delete and has no user sessions logged in to it. |
void |
deleteVDBsMarkedForDelete(MetaMatrixSessionID id)
|
protected java.util.Collection |
getSessionsLoggedInToVDB(java.lang.String VDBName,
java.lang.String VDBVersion)
For a given VDB version, get all sessionIDs logged in to it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractVDBDeleteUtility()
| Method Detail |
|---|
public void deleteVDBMarkedForDelete(VirtualDatabaseID vdbID)
throws VirtualDatabaseException,
MetaMatrixComponentException
VirtualDatabaseException - If an error occurs while deleting the VDB.
MetaMatrixComponentException - If an erorr occurs while accessing components required to delete the VDB.
public void deleteVDBsMarkedForDelete(MetaMatrixSessionID id)
throws MetaMatrixProcessingException,
MetaMatrixComponentException
MetaMatrixProcessingException
MetaMatrixComponentExceptioncom.metamatrix.platform.util.VDBDeleteUtility#deleteVDBsMarkedForDelete(com.metamatrix.platform.security.api.MetaMatrixSessionID)
protected java.util.Collection getSessionsLoggedInToVDB(java.lang.String VDBName,
java.lang.String VDBVersion)
throws MetaMatrixComponentException
MetaMatrixComponentException
public abstract void deleteAuthorizationPoliciesForVDB(java.lang.String VDBName,
java.lang.String VDBVersion)
throws MetaMatrixComponentException
MetaMatrixComponentException
public abstract boolean checkSessions(VirtualDatabaseID vdbID,
MetaMatrixSessionID sessionID)
throws MetaMatrixComponentException
vdbID - sessionID -
MetaMatrixComponentException
public abstract boolean checkSessions(VirtualDatabaseID vdbID)
throws MetaMatrixComponentException
vdbID -
MetaMatrixComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||