wt.dataops.archive.ixutil
Class IXArchiveRestoreStatus

java.lang.Object
  extended bywt.dataops.archive.ixutil.IXArchiveRestoreStatus

public class IXArchiveRestoreStatus
extends Object


Field Summary
private  long archivedContentSize
           
private  Vector messages
           
private  boolean outcome
           
private  WTCollection restoredObjects
           
 
Constructor Summary
IXArchiveRestoreStatus()
           
 
Method Summary
protected  void addMessage(String message)
           
protected  void addToArchivedContentSize(long fileSize)
           
 long getArchivedContentSize()
           
 Vector getMessages()
           
 WTCollection getRestoredObjects()
           
 boolean isOutcomeOK()
           
 void logMessages()
           
 void logMessages(PrintStream out)
           
protected  void setOutcomeOK(boolean b)
           
protected  void setRestoredObjects(WTCollection objects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outcome

private boolean outcome

messages

private Vector messages

archivedContentSize

private long archivedContentSize

restoredObjects

private WTCollection restoredObjects
Constructor Detail

IXArchiveRestoreStatus

public IXArchiveRestoreStatus()
Method Detail

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()