wt.epm.delegate
Class StaleDocumentInfo

java.lang.Object
  extended bywt.epm.delegate.StaleDocumentInfo

public class StaleDocumentInfo
extends Object


Field Summary
 EPMDocument document
           
 boolean isPrimaryModified
           
 WTList modifiedContents
           
 AbstractValueView[] modifiedIBAs
           
 WTList unmodifiedContents
           
 
Constructor Summary
StaleDocumentInfo(EPMDocument doc, WTCollection modifiedContents, AbstractValueView[] modifiedAttributes)
           
 
Method Summary
protected static ContentItem getPrimary(WTCollection contents)
          Given a list of ContentItems, returns the primary content.
private  void initializeUnmodifiedContents()
          Unmodified contents is a list of Primary and Secondary ApplicationData on the document, excluding the modified contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

public EPMDocument document

modifiedContents

public WTList modifiedContents

unmodifiedContents

public WTList unmodifiedContents

isPrimaryModified

public boolean isPrimaryModified

modifiedIBAs

public AbstractValueView[] modifiedIBAs
Constructor Detail

StaleDocumentInfo

public StaleDocumentInfo(EPMDocument doc,
                         WTCollection modifiedContents,
                         AbstractValueView[] modifiedAttributes)
                  throws WTException
Parameters:
doc -
modifiedContents - a WTCollection of modified ApplicationData
Method Detail

initializeUnmodifiedContents

private void initializeUnmodifiedContents()
                                   throws WTException
Unmodified contents is a list of Primary and Secondary ApplicationData on the document, excluding the modified contents.

Throws:
WTException

getPrimary

protected static ContentItem getPrimary(WTCollection contents)
                                 throws WTException
Given a list of ContentItems, returns the primary content.

Throws:
WTException