public class RepositoryXMLManager extends java.lang.Object implements RepositoryManagement
Constructor and Description |
---|
RepositoryXMLManager(RepositoryXMLConnection conn) |
Modifier and Type | Method and Description |
---|---|
void |
addAllStorageToClean(java.util.Collection names)
Adds a Collection of String names to the List to be cleaned.
|
void |
addStorageToClean(java.lang.String name) |
int |
cleanAllStorage()
Find and delete all disabled storage regardless of Class.
|
boolean |
cleanStorage(java.lang.String storagename)
Deletes from the repository the named storage.
|
int |
cleanStorageOfClass(java.lang.Class storageclass)
Find and delete disabled storage of the stated Class.
|
boolean |
isDeleteable(java.lang.String name)
Returns false if the named candidate for deletion
should not be deleted.
|
boolean |
storageIsDependency(java.lang.String name)
Returns true if the named storage is a dependency or supporting storage for another
storage.
|
public RepositoryXMLManager(RepositoryXMLConnection conn)
public void addAllStorageToClean(java.util.Collection names)
RepositoryManagement
addAllStorageToClean
in interface RepositoryManagement
public void addStorageToClean(java.lang.String name)
addStorageToClean
in interface RepositoryManagement
public boolean storageIsDependency(java.lang.String name)
storageIsDependency
in interface RepositoryManagement
public int cleanAllStorage()
RepositoryManagement
cleanAllStorage
in interface RepositoryManagement
public boolean isDeleteable(java.lang.String name)
RepositoryManagement
isDeleteable
in interface RepositoryManagement
public boolean cleanStorage(java.lang.String storagename)
RepositoryManagement
cleanStorage
in interface RepositoryManagement
public int cleanStorageOfClass(java.lang.Class storageclass)
RepositoryManagement
cleanStorageOfClass
in interface RepositoryManagement
Copyright © 2011, 2013. Daniel P. Dougherty