wt.dataops.archive.ixutil
Class IXArchiveRestoreStatus
java.lang.Object
wt.dataops.archive.ixutil.IXArchiveRestoreStatus
- public class IXArchiveRestoreStatus
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outcome
private boolean outcome
messages
private Vector messages
archivedContentSize
private long archivedContentSize
restoredObjects
private WTCollection restoredObjects
IXArchiveRestoreStatus
public IXArchiveRestoreStatus()
setOutcomeOK
protected void setOutcomeOK(boolean b)
isOutcomeOK
public boolean isOutcomeOK()
- Returns:
- true if the operation was successful
addMessage
protected void addMessage(String message)
getArchivedContentSize
public long getArchivedContentSize()
- Returns:
- total size of archived content files (not including metadadata files)
addToArchivedContentSize
protected void addToArchivedContentSize(long fileSize)
getRestoredObjects
public WTCollection getRestoredObjects()
- Returns:
- The set of objects created during restore operation.
Archive service needs this to emit POST_RESTORE event for Pro/I Gateway.
Currently this set will contain only EPMDocuments.
setRestoredObjects
protected void setRestoredObjects(WTCollection objects)
getMessages
public Vector getMessages()
- Returns:
- Vector of Strings. In Archive-Restore context, these would be
the localized messages from IX handlers.
logMessages
public void logMessages(PrintStream out)
logMessages
public void logMessages()