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)
RepositoryManagementaddAllStorageToClean in interface RepositoryManagementpublic void addStorageToClean(java.lang.String name)
addStorageToClean in interface RepositoryManagementpublic boolean storageIsDependency(java.lang.String name)
storageIsDependency in interface RepositoryManagementpublic int cleanAllStorage()
RepositoryManagementcleanAllStorage in interface RepositoryManagementpublic boolean isDeleteable(java.lang.String name)
RepositoryManagementisDeleteable in interface RepositoryManagementpublic boolean cleanStorage(java.lang.String storagename)
RepositoryManagementcleanStorage in interface RepositoryManagementpublic int cleanStorageOfClass(java.lang.Class storageclass)
RepositoryManagementcleanStorageOfClass in interface RepositoryManagementCopyright © 2011, 2013. Daniel P. Dougherty