wt.epm.upload
Class EPMUploadTopGeneric

java.lang.Object
  extended bywt.epm.upload.EPMUploadDocument
      extended bywt.epm.upload.EPMUploadStandalone
          extended bywt.epm.upload.EPMUploadInstance
              extended bywt.epm.upload.EPMUploadGeneric
                  extended bywt.epm.upload.EPMUploadTopGeneric

public class EPMUploadTopGeneric
extends EPMUploadGeneric


Nested Class Summary
 
Nested classes inherited from class wt.epm.upload.EPMUploadGeneric
EPMUploadGeneric.InstanceIterator
 
Nested classes inherited from class wt.epm.upload.EPMUploadInstance
EPMUploadInstance.Column, EPMUploadInstance.ColumnAttribute, EPMUploadInstance.ColumnDependency, EPMUploadInstance.ColumnFeature, EPMUploadInstance.ColumnMember, EPMUploadInstance.ColumnParameter, EPMUploadInstance.ColumnReference
 
Field Summary
 
Fields inherited from class wt.epm.upload.EPMUploadGeneric
 
Fields inherited from class wt.epm.upload.EPMUploadInstance
 
Fields inherited from class wt.epm.upload.EPMUploadStandalone
attributes
 
Fields inherited from class wt.epm.upload.EPMUploadDocument
 
Constructor Summary
EPMUploadTopGeneric(EPMUpload upload, EPMNDFamilyTable familyTable, EPMNDFamilyTableMember familyTableMember, EPMNDDocument memberDocument)
          Creates top generic upload document.
 
Method Summary
protected  void checkNDGenericDocument()
           
 String getNDGenericCadName()
           
 String getNDTopGenericCadName()
           
 EPMNDDocument getNDTopGenericDocument()
           
 void postUpload()
           
 void preUpload()
           
protected  void processFamilyTableCellValues()
           
protected  CacheFamilyTable resolveFamilyTable(String name, CacheDocument topGeneric)
           
protected  void setFamilyTableAndGeneric()
           
 
Methods inherited from class wt.epm.upload.EPMUploadGeneric
addInstance, getInstance, getInstances, getProcessedColumnNames, preUploadInstances, processFamilyTable, processFamilyTableCellDefinitions, removeInstance, resolveDocument, upload
 
Methods inherited from class wt.epm.upload.EPMUploadInstance
checkNDDocument, checkNDFamilyTable, checkNDFamilyTableMember, findCacheFamilyTable, getNDCADName, getNDFamilyTable, getNDFamilyTableMember, getUploadGeneric, markParamFeatValuesAsDeleted, processFamilyTableCells
 
Methods inherited from class wt.epm.upload.EPMUploadStandalone
addProcessedColumn, cleanupCells, cleanupColumns, createNewDependencies, diffDependencies, extractInstances, extractInstances, getNDAttrParamNameToDesignatedName, mapNDAttributeName, processAttributes, processDependencies, processProperties, removeDependencies, removeProcessedColumn, syncDependency, syncMemberLink, syncReferenceLink, updateDependencies
 
Methods inherited from class wt.epm.upload.EPMUploadDocument
ckeckModifiability, createNewDocument, createNewEPMDocument, getCachedDocument, getCachedDocument, getCachedDocumentForModification, getNDDocument, getUpload, setNDDocument, toString, updateDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EPMUploadTopGeneric

public EPMUploadTopGeneric(EPMUpload upload,
                           EPMNDFamilyTable familyTable,
                           EPMNDFamilyTableMember familyTableMember,
                           EPMNDDocument memberDocument)
                    throws WTException
Creates top generic upload document. The family table and the family table member is required.

Parameters:
upload - EPMUpload
familyTableMember - EPMNDFamilyTableMember
memberDocument - EPMNDDocument
Throws:
WTException
Method Detail

checkNDGenericDocument

protected void checkNDGenericDocument()
                               throws WTException
Overrides:
checkNDGenericDocument in class EPMUploadInstance
Throws:
WTException

getNDTopGenericDocument

public EPMNDDocument getNDTopGenericDocument()

getNDGenericCadName

public String getNDGenericCadName()
                           throws WTException
Overrides:
getNDGenericCadName in class EPMUploadInstance
Throws:
WTException

getNDTopGenericCadName

public String getNDTopGenericCadName()
                              throws WTException
Overrides:
getNDTopGenericCadName in class EPMUploadInstance
Throws:
WTException

preUpload

public void preUpload()
               throws WTException
Overrides:
preUpload in class EPMUploadGeneric
Throws:
WTException

postUpload

public void postUpload()
                throws WTException
Overrides:
postUpload in class EPMUploadGeneric
Throws:
WTException

setFamilyTableAndGeneric

protected void setFamilyTableAndGeneric()
                                 throws WTException
Overrides:
setFamilyTableAndGeneric in class EPMUploadInstance
Throws:
WTException

resolveFamilyTable

protected CacheFamilyTable resolveFamilyTable(String name,
                                              CacheDocument topGeneric)
                                       throws WTException
Throws:
WTException

processFamilyTableCellValues

protected void processFamilyTableCellValues()
                                     throws WTException
Overrides:
processFamilyTableCellValues in class EPMUploadInstance
Throws:
WTException