|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.dataops.archive.StandardArchiveRestoreService
Use the newStandardArchiveRestoreService
static factory
method(s), not the StandardArchiveRestoreService
constructor,
to construct instances of this class. Instances must be constructed
using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: false
Extendable: false
Nested Class Summary | |
private class |
StandardArchiveRestoreService.ArchiveRecordContentListener
|
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
private static boolean |
VETO_CONTAINER_MOVE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardArchiveRestoreService()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final boolean VERBOSE
private static final boolean VETO_CONTAINER_MOVE
Constructor Detail |
public StandardArchiveRestoreService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardArchiveRestoreService newStandardArchiveRestoreService() throws WTException
WTException
public ArchiveStatus doArchive(ArchiveRecord record, WTCollection archiveables, Locale locale) throws WTException
doArchive
in interface ArchiveService
record
- archiveables
- locale
-
WTException
public ArchiveStatus doArchive(ArchiveRecord record, WTCollection archiveables) throws WTException
doArchive
in interface ArchiveService
record
- archiveables
-
WTException
public ArchiveStatus doArchive(String name, String desc, CollectionCriteria criteria, RelationshipMap relationMap, WTContainerRef context) throws WTPropertyVetoException, WTException
doArchive
in interface ArchiveService
name
- desc
- criteria
- relationMap
- context
-
WTPropertyVetoException
WTException
public void removeInvalidArchiveRecords() throws WTException
removeInvalidArchiveRecords
in interface ArchiveService
WTException
public void removeFailedArchiveRecords() throws WTException
removeFailedArchiveRecords
in interface ArchiveService
WTException
public QueryResult getAllArchiveRecords() throws WTException
getAllArchiveRecords
in interface ArchiveService
WTException
public QueryResult getAllArchiveRecords(ArchiveStatus status) throws WTException
getAllArchiveRecords
in interface ArchiveService
status
-
WTException
public QueryResult getRecentArchives(int numLatest) throws WTException
getRecentArchives
in interface ArchiveService
numLatest
-
WTException
public RestoreStatus doRestore(RestoreRecord record) throws WTException
doRestore
in interface RestoreService
record
-
WTException
public RestoreStatus doRestore(RestoreRecord record, ConflictResolution[] resolutions) throws WTException
doRestore
in interface RestoreService
record
- resolutions
-
WTException
public RestoreStatus doRestore(Archive archive) throws WTPropertyVetoException, WTException
doRestore
in interface RestoreService
archive
-
WTPropertyVetoException
WTException
public RestoreStatus doRestore(Archive archive, ConflictResolution[] resolutions) throws WTPropertyVetoException, WTException
doRestore
in interface RestoreService
archive
- resolutions
-
WTPropertyVetoException
WTException
public RestoreStatus doRestore(Archive archive, Locale locale) throws WTPropertyVetoException, WTException
doRestore
in interface RestoreService
archive
- locale
-
WTPropertyVetoException
WTException
public RestoreStatus doRestore(Archive archive, ConflictResolution[] resolutions, Locale locale) throws WTPropertyVetoException, WTException
doRestore
in interface RestoreService
archive
- resolutions
- locale
-
WTPropertyVetoException
WTException
public RestoreStatus doRestore(RestoreRecord record, Locale locale) throws WTException
doRestore
in interface RestoreService
record
- locale
-
WTException
public RestoreStatus doRestore(RestoreRecord record, ConflictResolution[] resolutions, Locale locale) throws WTException
doRestore
in interface RestoreService
record
- resolutions
- locale
-
WTException
public void removeRestoreRecords() throws WTException
removeRestoreRecords
in interface RestoreService
WTException
public QueryResult getAllRestoreRecords(RestoreStatus status) throws WTException
getAllRestoreRecords
in interface RestoreService
status
-
WTException
public QueryResult getRecentRestoreRecords(int numLatest) throws WTException
getRecentRestoreRecords
in interface RestoreService
numLatest
-
WTException
private void registerListeners()
private void processPostArchive(WTCollection targets) throws WTException
WTException
private void processPostArchive(Iterated[] iterations) throws WTException
WTException
private void processContainerMoveEvent(WTCollection archiveables) throws WTException
WTException
private ConflictElement processOverridableConflict(Persistable object, ArchiveConflictType conflictType, ArchiveResolutionType resolutionType, WTMessage msg, boolean onlyConflictElement) throws WTException
WTException
private QueryResult getRecentObjects(Class targetClass, int numLatest) throws WTException
WTException
private void validateTaskEventRemove(DataMaintRecord record, TaskEvent taskEvent) throws WTException
WTException
private static DisplayIdentity getHolderDisplayIdentity(ArchiveInfoHolder holder) throws WTException
WTException
private void dispatchRestoreEvent(WTCollection objects) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |