com.ptc.windchill.cadx.autoassociate
Class AutoAssociateTaskDelegate
java.lang.Object
wt.templateutil.processor.FormTaskDelegate
com.ptc.windchill.cadx.autoassociate.AutoAssociateTaskDelegate
- All Implemented Interfaces:
- ContextHolder, Serializable
- public class AutoAssociateTaskDelegate
- extends FormTaskDelegate
- implements Serializable
Supported API: true
Extendable: false
- See Also:
- Serialized Form
Fields inherited from interface wt.templateutil.processor.ContextHolder |
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
Method Summary |
private EPMDocument |
associate(EPMDocument doc,
Object part,
String exist_assoc,
String modify_assoc,
EPMWorkspace ws,
String otherAssocDocExists)
|
private void |
associateNew(EPMDocument doc,
WTPart newPart,
String modify_assoc,
EPMWorkspace ws,
String a_source,
String a_defaultUnits)
|
private String |
getDefaultFolderOid(EPMWorkspace workspace,
Class objectClass)
|
private RevisionControlled |
getObjectFromOid(String oid)
|
Vector |
getSelectedObjectList()
Supported API: false |
void |
processAction(ContentHTTPStream contentStream)
Deprecated. |
private void |
processExistingAssociate(EPMDocument doc,
Workable aPart,
String exist_assoc,
String modify_assoc,
EPMWorkspace ws,
String otherAssocDocExists)
|
private void |
processNewPartsAssociation(EPMDocument doc,
WTPart newPart,
String modify_assoc,
EPMWorkspace ws,
String a_source,
String a_defaultUnits)
|
private void |
removeAssociation(EPMDocument doc,
WTPart part)
|
void |
setHttpHeaderString(String contextAction)
|
Methods inherited from class wt.templateutil.processor.FormTaskDelegate |
addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, deleteFormDataFromSession, getContextAction, getContextClassName, getContextObj, getContextProperties, getFormData, getQueryData, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getState, getStatus, saveFormDataInSession, setContextAction, setContextClassName, setContextObj, setContextProperties, setFormData, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setState, setStatus, switchPages |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
currentWorkspace
private EPMWorkspace currentWorkspace
isCurrentWorkspaceActive
private boolean isCurrentWorkspaceActive
selection
private static Vector selection
locale
private Locale locale
docMap
private HashMap docMap
defaultFolderOid
String defaultFolderOid
AutoAssociateTaskDelegate
public AutoAssociateTaskDelegate()
getSelectedObjectList
public Vector getSelectedObjectList()
Supported API: false
- Returns:
- Vector
processAction
public void processAction(ContentHTTPStream contentStream)
throws Exception
- Deprecated.
- Processed the desired action and then updates the state so that
the desired response page can be generated.
Use the addToResponse
methods to pass back messages on the status/results of the action.
Supported API: true
- Specified by:
processAction
in class FormTaskDelegate
- Parameters:
contentStream
-
- Throws:
Exception
getObjectFromOid
private RevisionControlled getObjectFromOid(String oid)
throws WTException
- Throws:
WTException
associate
private EPMDocument associate(EPMDocument doc,
Object part,
String exist_assoc,
String modify_assoc,
EPMWorkspace ws,
String otherAssocDocExists)
processExistingAssociate
private void processExistingAssociate(EPMDocument doc,
Workable aPart,
String exist_assoc,
String modify_assoc,
EPMWorkspace ws,
String otherAssocDocExists)
removeAssociation
private void removeAssociation(EPMDocument doc,
WTPart part)
associateNew
private void associateNew(EPMDocument doc,
WTPart newPart,
String modify_assoc,
EPMWorkspace ws,
String a_source,
String a_defaultUnits)
processNewPartsAssociation
private void processNewPartsAssociation(EPMDocument doc,
WTPart newPart,
String modify_assoc,
EPMWorkspace ws,
String a_source,
String a_defaultUnits)
setHttpHeaderString
public void setHttpHeaderString(String contextAction)
throws WTException
- Throws:
WTException
getDefaultFolderOid
private String getDefaultFolderOid(EPMWorkspace workspace,
Class objectClass)
throws WTException
- Throws:
WTException