com.ptc.windchill.uwgm.proesrv.request
Class EpmUploadRequest
java.lang.Object
com.ptc.windchill.uwgm.proesrv.ProeServiceRequest
com.ptc.windchill.uwgm.proesrv.request.EpmUploadRequest
- All Implemented Interfaces:
- RequestResultCache.Populator, TransactionalRequest
- public class EpmUploadRequest
- extends ProeServiceRequest
- implements TransactionalRequest
Methods inherited from class com.ptc.windchill.uwgm.proesrv.ProeServiceRequest |
addContainer, addContent, addEPMDocument, addEPMDocumentMaster, addEPMWorkspace, addEPMWorkspace, addFakeFolder, addFolder, addLink, addLink, addPreferedContentURLs, addWTPart, addWTPartMaster, bindContent, bindFoldered, createDbObjIterator, getContext, getLocalizedName, getUwgmRequest, ignoreOriginalState, reportFailure, reportInfoMessage, reportInfoMessage, reportMessage, reportMessages, reportWarnings, resetCurrentEpmWS, setRequestCode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
epmUpload
private com.ptc.windchill.uwgm.soap.uwgmsvc.EpmUpload epmUpload
requestCache
protected final EpmUploadRequestCache requestCache
resultCache
private RequestResultCache resultCache
m_ccData
private Vector m_ccData
oidHelper
private static final ObjectIdentifierHelper oidHelper
modificator
private com.ptc.windchill.uwgm.soap.uwgmdb.DbObj.Modificator modificator
errorElements
private Collection errorElements
log
private static Log log
- logging
EpmUploadRequest
public EpmUploadRequest(com.ptc.windchill.uwgm.soap.uwgmsvc.EpmUpload upload,
RequestResultCache resCache)
validateRequest
public void validateRequest()
throws RequestValidationException,
UwgmErrorException
- Description copied from class:
ProeServiceRequest
- validates request data
- Specified by:
validateRequest
in class ProeServiceRequest
- Throws:
RequestValidationException
- to report validation problems
UwgmErrorException
- to report errors
executeRequest
public com.ptc.windchill.uwgm.soap.uwgm.UwgmMessage executeRequest()
throws UwgmConflictException,
UwgmErrorException
- Description copied from class:
ProeServiceRequest
- executes request
reports success UwgmMessage
- Specified by:
executeRequest
in class ProeServiceRequest
- Returns:
- UwgmMessage
- Throws:
UwgmErrorException
- to report errors
UwgmConflictException
- to report execution conflicts
setContentOids
private Map setContentOids()
registerContent
private void registerContent(String cadName,
com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIt,
com.ptc.windchill.uwgm.soap.uwgmdb.Content.Iterator it,
boolean isPrimary)
setFamilyInstanceObjIds
private void setFamilyInstanceObjIds(com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIt,
CacheDocument cacheDoc,
Map localIdMapForFamInst)
throws Exception
- Throws:
Exception
setDependencyObjIds
private void setDependencyObjIds(ProENDDocument ndDoc,
CacheDocument cacheDoc)
throws UwgmErrorException
- Throws:
UwgmErrorException
setTargetFolders
private void setTargetFolders(EPMWorkspace epmWorkspace,
Map uploadInstructions)
throws UwgmConflictException,
UwgmErrorException
- Throws:
UwgmConflictException
UwgmErrorException
addNewEPMDocuments
private Map addNewEPMDocuments(Map m_neutralDocs,
EPMCacheInterface m_cache)
throws UwgmErrorException
- Throws:
UwgmErrorException