wt.epm.upload
Class EPMUploadDocument

java.lang.Object
  extended bywt.epm.upload.EPMUploadDocument
Direct Known Subclasses:
EPMUploadStandalone

public abstract class EPMUploadDocument
extends Object


Field Summary
private  CacheDocument cacheDocument
           
private  EPMNDDocument ndDocument
           
private  EPMUpload upload
           
 
Constructor Summary
EPMUploadDocument(EPMUpload upload, EPMNDDocument ndDocument)
           
 
Method Summary
protected  void checkNDDocument()
           
protected  void ckeckModifiability()
           
protected  CacheDocument createNewDocument()
           
protected  EPMDocument createNewEPMDocument()
           
 CacheDocument getCachedDocument()
           
 CacheDocument getCachedDocument(boolean includeDeleted, boolean restore)
           
 CacheDocument getCachedDocumentForModification()
           
 String getNDCADName()
           
 EPMNDDocument getNDDocument()
           
 EPMUpload getUpload()
           
abstract  void postUpload()
           
abstract  void preUpload()
           
 CacheDocument resolveDocument()
           
protected  void setNDDocument(EPMNDDocument ndDocument)
           
 String toString()
           
protected  void updateDocument()
           
abstract  void upload()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

upload

private EPMUpload upload

ndDocument

private EPMNDDocument ndDocument

cacheDocument

private CacheDocument cacheDocument
Constructor Detail

EPMUploadDocument

public EPMUploadDocument(EPMUpload upload,
                         EPMNDDocument ndDocument)
                  throws WTException
Method Detail

checkNDDocument

protected void checkNDDocument()
                        throws WTException
Throws:
WTException

getUpload

public EPMUpload getUpload()

getNDDocument

public EPMNDDocument getNDDocument()

setNDDocument

protected void setNDDocument(EPMNDDocument ndDocument)

getNDCADName

public String getNDCADName()
                    throws WTException
Throws:
WTException

getCachedDocumentForModification

public CacheDocument getCachedDocumentForModification()
                                               throws WTException
Throws:
WTException

getCachedDocument

public CacheDocument getCachedDocument()
                                throws WTException
Throws:
WTException

getCachedDocument

public CacheDocument getCachedDocument(boolean includeDeleted,
                                       boolean restore)
                                throws WTException
Throws:
WTException

resolveDocument

public CacheDocument resolveDocument()
                              throws WTException
Throws:
WTException

createNewDocument

protected CacheDocument createNewDocument()
                                   throws WTException
Throws:
WTException

createNewEPMDocument

protected EPMDocument createNewEPMDocument()
                                    throws WTException
Throws:
WTException

updateDocument

protected void updateDocument()
                       throws WTException
Throws:
WTException

preUpload

public abstract void preUpload()
                        throws WTException
Throws:
WTException

upload

public abstract void upload()
                     throws WTException
Throws:
WTException

postUpload

public abstract void postUpload()
                         throws WTException
Throws:
WTException

ckeckModifiability

protected void ckeckModifiability()
                           throws WTException
Throws:
WTException

toString

public String toString()