wt.epm.upload
Class EPMStandardUploadManager

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

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

Field Summary
private static String CLASSNAME
           
static boolean logTime
           
private static String RESOURCE
           
private static Object UPLOAD_IN_PROGRESS
           
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
EPMStandardUploadManager()
           
 
Method Summary
 String getConceptualClassname()
          Deprecated.  
protected  void initialize()
          

Supported API: false
static EPMStandardUploadManager newEPMStandardUploadManager()
          Default factory for the class.
protected  void performStartupProcess()
          Dummy method to be overridden by subclasses.
static EPMCacheInterface staticUpload(EPMNeutralData neutralData, boolean isNonLatest)
           
 EPMCacheInterface upload(EPMNeutralData neutralData)
          

Supported API: true
 WTSet uploadAndCheckin(EPMNeutralData neutralData)
          Uploads documents to a workspace and checks them in.
 WTSet uploadAndCheckin(EPMNeutralData neutralData, Map checkinData)
          Uploads documents to a workspace and checks them in.
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

UPLOAD_IN_PROGRESS

private static final Object UPLOAD_IN_PROGRESS

logTime

public static boolean logTime
Constructor Detail

EPMStandardUploadManager

public EPMStandardUploadManager()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

initialize

protected void initialize()
                   throws WTException


Supported API: false

Overrides:
initialize in class StandardManager
Throws:
WTException

performStartupProcess

protected void performStartupProcess()
                              throws ManagerException
Dummy method to be overridden by subclasses. Subclasses should override this method and provide startup processing.

Supported API: false

Overrides:
performStartupProcess in class StandardManager
Throws:
ManagerException

newEPMStandardUploadManager

public static EPMStandardUploadManager newEPMStandardUploadManager()
                                                            throws WTException
Default factory for the class.

Supported API: false

Returns:
EPMStandardUploadManager
Throws:
WTException

upload

public EPMCacheInterface upload(EPMNeutralData neutralData)
                         throws WTException


Supported API: true

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

uploadAndCheckin

public WTSet uploadAndCheckin(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:
neutralData - the neutral data of documents to be uploaded to a specified workspace
Returns:
WTSet
Throws:
WTException

uploadAndCheckin

public WTSet uploadAndCheckin(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:
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

staticUpload

public static EPMCacheInterface staticUpload(EPMNeutralData neutralData,
                                             boolean isNonLatest)
                                      throws WTException
Throws:
WTException