wt.epm.upload
Class EPMStandardUploadManager

java.lang.Object
  extended by wt.services.StandardManager
      extended by wt.epm.upload.EPMStandardUploadManager
All Implemented Interfaces:
Serializable, EPMUploadManager, NetFactor, wt.services.Manager

public class EPMStandardUploadManager
extends StandardManager
implements EPMUploadManager, Serializable

Use the newEPMStandardUploadManager static factory method(s), not the EPMStandardUploadManager constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
 wt.epm.util.EPMCacheInterface upload(EPMWorkspace workspace, EPMNeutralData neutralData)
          Uploades documents and family tables to a workspace.
 WTSet uploadAndCheckin(EPMWorkspace workspace, EPMNeutralData neutralData)
          Uploads documents to a workspace and checks them in.
 WTSet uploadAndCheckin(EPMWorkspace workspace, EPMNeutralData neutralData, Map checkinData)
          Uploads documents to a workspace and checks them in.
 
Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

upload

public wt.epm.util.EPMCacheInterface upload(EPMWorkspace workspace,
                                            EPMNeutralData neutralData)
                                     throws WTException
Uploades documents and family tables to a workspace.

Supported API: true

Specified by:
upload in interface EPMUploadManager
Parameters:
workspace -
neutralData -
Returns:
EPMCacheInterface
Throws:
WTException

uploadAndCheckin

public WTSet uploadAndCheckin(EPMWorkspace workspace,
                              EPMNeutralData neutralData)
                       throws WTException
Uploads documents to a workspace and checks them in. The returning result is similar to EPMWorkspaceManager.checkin result. All the uploaded documents will be checked in with default checkin options.

Supported API: true

Specified by:
uploadAndCheckin in interface EPMUploadManager
Parameters:
workspace -
neutralData - the neutral data of documents to be uploaded to a specified workspace
Returns:
WTSet
Throws:
WTException

uploadAndCheckin

public WTSet uploadAndCheckin(EPMWorkspace workspace,
                              EPMNeutralData neutralData,
                              Map checkinData)
                       throws WTException
Uploads documents to a workspace and checks them in. The returning result is similar to EPMWorkspaceManager.checkin result.

Supported API: true

Specified by:
uploadAndCheckin in interface EPMUploadManager
Parameters:
workspace -
neutralData - the neutral data of documents to be uploaded to a specified workspace
checkinData - the map which contains CAD Name to CheckinOption relations. If the map is not null and does not contain CheckinOption for an uploaded CAD Name - this document will be checked in with the default options. It may be null - in this case all the uploaded documents will be checked in with the default CheckinOption (see EPMWorkspaceManager.checkin for more details).
Returns:
WTSet
Throws:
WTException