wt.epm.upload
Class EPMUploadStandalone

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

public class EPMUploadStandalone
extends EPMUploadDocument


Field Summary
protected  Map attributes
           
private  Map paramNameToDesignatedName
           
private  Collection processedColumnNames
           
 
Fields inherited from class wt.epm.upload.EPMUploadDocument
 
Constructor Summary
EPMUploadStandalone(EPMUpload upload, EPMNDDocument ndDocument)
           
 
Method Summary
 boolean addProcessedColumn(String columnName)
          addProcessedColumn
protected  void cleanupCells(Collection processedColumnNames)
           
protected  void cleanupColumns(Collection processedColumnNames)
           
protected static void createNewDependencies(Cache cache, CacheDocument cacheDocument, Collection ndDeps)
           
protected static void diffDependencies(Map epmDeps, Collection ndDeps, Collection depsForCreation, Map depsForUpdating, Collection depsForDeletion)
           
protected static void extractInstances(CacheDocument cacheDocument)
           
protected static void extractInstances(CacheDocument cacheDocument, EPMUploadGeneric except)
           
 Map getNDAttrParamNameToDesignatedName()
           
protected  Collection getProcessedColumnNames()
           
 String mapNDAttributeName(String paramName)
           
 void postUpload()
           
 void preUpload()
           
 void processAttributes()
           
 void processDependencies()
           
 void processProperties()
           
protected static void removeDependencies(Collection depsForCreation)
           
 boolean removeProcessedColumn(String columnName)
          removeProcessedColumn
protected static void syncDependency(EPMDocument source, EPMNDDependency dependency, CacheDocument.CacheDependencyLink cacheLink)
           
protected static void syncMemberLink(EPMDocument source, EPMNDMemberLink dependency, CacheDocument.CacheDependencyLink cacheLink)
           
protected static void syncReferenceLink(EPMDocument source, EPMNDReferenceLink dependency, CacheDocument.CacheDependencyLink cacheLink)
           
protected static void updateDependencies(Cache cache, CacheDocument cacheDocument, Map depsForUpdating)
           
 void upload()
           
 
Methods inherited from class wt.epm.upload.EPMUploadDocument
checkNDDocument, ckeckModifiability, createNewDocument, createNewEPMDocument, getCachedDocument, getCachedDocument, getCachedDocumentForModification, getNDCADName, getNDDocument, getUpload, resolveDocument, setNDDocument, toString, updateDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

processedColumnNames

private Collection processedColumnNames

paramNameToDesignatedName

private Map paramNameToDesignatedName

attributes

protected Map attributes
Constructor Detail

EPMUploadStandalone

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

preUpload

public void preUpload()
               throws WTException
Specified by:
preUpload in class EPMUploadDocument
Throws:
WTException

getProcessedColumnNames

protected Collection getProcessedColumnNames()

removeProcessedColumn

public boolean removeProcessedColumn(String columnName)
removeProcessedColumn

Parameters:
columnName - String
Returns:
boolean

addProcessedColumn

public boolean addProcessedColumn(String columnName)
addProcessedColumn

Parameters:
columnName - String
Returns:
boolean

cleanupCells

protected void cleanupCells(Collection processedColumnNames)
                     throws WTException
Throws:
WTException

cleanupColumns

protected void cleanupColumns(Collection processedColumnNames)
                       throws WTException
Throws:
WTException

extractInstances

protected static void extractInstances(CacheDocument cacheDocument)
                                throws WTException
Throws:
WTException

extractInstances

protected static void extractInstances(CacheDocument cacheDocument,
                                       EPMUploadGeneric except)
                                throws WTException
Throws:
WTException

upload

public void upload()
            throws WTException
Specified by:
upload in class EPMUploadDocument
Throws:
WTException

postUpload

public void postUpload()
                throws WTException
Specified by:
postUpload in class EPMUploadDocument
Throws:
WTException

processProperties

public void processProperties()
                       throws WTException
Throws:
WTException

processDependencies

public void processDependencies()
                         throws WTException
Throws:
WTException

diffDependencies

protected static void diffDependencies(Map epmDeps,
                                       Collection ndDeps,
                                       Collection depsForCreation,
                                       Map depsForUpdating,
                                       Collection depsForDeletion)
                                throws WTException
Throws:
WTException

createNewDependencies

protected static void createNewDependencies(Cache cache,
                                            CacheDocument cacheDocument,
                                            Collection ndDeps)
                                     throws WTException
Throws:
WTException

syncMemberLink

protected static void syncMemberLink(EPMDocument source,
                                     EPMNDMemberLink dependency,
                                     CacheDocument.CacheDependencyLink cacheLink)
                              throws WTException
Throws:
WTException

syncReferenceLink

protected static void syncReferenceLink(EPMDocument source,
                                        EPMNDReferenceLink dependency,
                                        CacheDocument.CacheDependencyLink cacheLink)
                                 throws WTException
Throws:
WTException

syncDependency

protected static void syncDependency(EPMDocument source,
                                     EPMNDDependency dependency,
                                     CacheDocument.CacheDependencyLink cacheLink)
                              throws WTException
Throws:
WTException

updateDependencies

protected static void updateDependencies(Cache cache,
                                         CacheDocument cacheDocument,
                                         Map depsForUpdating)
                                  throws WTException
Throws:
WTException

removeDependencies

protected static void removeDependencies(Collection depsForCreation)
                                  throws WTException
Throws:
WTException

getNDAttrParamNameToDesignatedName

public Map getNDAttrParamNameToDesignatedName()
                                       throws WTException
Throws:
WTException

mapNDAttributeName

public String mapNDAttributeName(String paramName)
                          throws WTException
Throws:
WTException

processAttributes

public void processAttributes()
                       throws WTException
Throws:
WTException