com.ptc.windchill.cadx.checkin
Class CheckinFormTaskDelegate

java.lang.Object
  extended bywt.templateutil.processor.FormTaskDelegate
      extended bycom.ptc.windchill.cadx.checkin.CheckinFormTaskDelegate
All Implemented Interfaces:
ContextHolder, Serializable

public class CheckinFormTaskDelegate
extends FormTaskDelegate
implements Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CHOICE
           
private static String CLASSNAME
           
private static String CONTAINER
           
private static EPMWorkspace currentWorkspace
           
private static String LOC
           
private static String NUMBER
           
private static Vector objectsToRemove
           
private static String RESOURCE
           
private static String SELECTED_ITEM
           
private static Vector selectedObjectInfoVector
           
private static Vector SelectedObjects
           
private static boolean VERBOSE
           
private static String VERSION
           
 
Fields inherited from class wt.templateutil.processor.FormTaskDelegate
 
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
 
Constructor Summary
CheckinFormTaskDelegate()
           
 
Method Summary
private static Folder getFolderFromDisplayLocation(String folderDisplayName, boolean isFolderPathConversionReqd, WTContainer contextContainer)
          get WC folder object from folder "display" name This method is special for baseline because of following reasons 1 - It is too late to change the code so that instead of sending from client to server the folder path we send the folder oid 2.1 - If current context is Windchill PDM, the folder passed will not require conversion 2.2 - If current context is either Windchill PDMLink or PJL, the folder path will require conversion and will start with //...
 void processAction(ContentHTTPStream contentStream)
          Deprecated.  
 void setHttpHeaderString()
          

Supported API: false
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

SelectedObjects

private static Vector SelectedObjects

objectsToRemove

private static Vector objectsToRemove

selectedObjectInfoVector

private static Vector selectedObjectInfoVector

currentWorkspace

private static EPMWorkspace currentWorkspace

SELECTED_ITEM

private static String SELECTED_ITEM

LOC

private static String LOC

CHOICE

private static String CHOICE

NUMBER

private static String NUMBER

VERSION

private static String VERSION

CONTAINER

private static String CONTAINER

VERBOSE

private static boolean VERBOSE
Constructor Detail

CheckinFormTaskDelegate

public CheckinFormTaskDelegate()
Method Detail

setHttpHeaderString

public void setHttpHeaderString()
                         throws WTException


Supported API: false

Throws:
WTException

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

getFolderFromDisplayLocation

private static Folder getFolderFromDisplayLocation(String folderDisplayName,
                                                   boolean isFolderPathConversionReqd,
                                                   WTContainer contextContainer)
                                            throws WTException
get WC folder object from folder "display" name This method is special for baseline because of following reasons 1 - It is too late to change the code so that instead of sending from client to server the folder path we send the folder oid 2.1 - If current context is Windchill PDM, the folder passed will not require conversion 2.2 - If current context is either Windchill PDMLink or PJL, the folder path will require conversion and will start with //...

Throws:
WTException