|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.processor.FormTaskDelegate
com.ptc.windchill.cadx.wsoption.GenWsprefFormTaskDelegate
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static ResourceBundle |
create_ws_resource
|
private static String |
CREATE_WS_RESOURCE
|
(package private) boolean |
invalidEntry
|
(package private) boolean |
multipleInvalidEntries
|
private static ResourceBundle |
resource
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
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 | |
GenWsprefFormTaskDelegate()
|
Method Summary | |
private Properties |
createInterTabParameters(WsConfigSpecEditUtilities wsConfigSpecEditUtilities,
boolean invokedFromCheckoutDownloadPage)
|
private WTContainer |
getValidContainer(String containerName)
For the specified container name, get the container object |
private LifeCycleTemplateMaster |
getValidLifeCycleTemplate(String lifeCycleStr,
WTContainer container,
boolean part)
|
private Folder |
getValidTargetFolder(String folderDisplayLocation,
boolean part,
WTContainer container)
For the specified folder location, get the Folder object from the specified container. |
private TeamTemplate |
getValidTeamTemplate(String teamStr,
WTContainer container)
|
private View |
getValidView(String viewStr)
|
private boolean |
isContainerChanged(WTContainer newContainer,
WTContainer currentContainer)
Check if the container has been changed by the user |
void |
processAction(ContentHTTPStream contentStream)
Deprecated. |
private WTContainer |
validateAndSetContainer(String containerName,
EPMWorkspace workspace)
For the specified container name, validate and set the container context property for the workspace. |
private void |
validateAndSetDependencyType(String dependencyTypestr,
EPMWorkspace workspace)
|
private LifeCycleTemplateMaster |
validateAndSetDocLifeCycleTemplate(String docLifeCyclestr,
WTContainer container,
EPMWorkspace workspace)
Validate the specified doc life cycle string and set this for the workspace. |
private Folder |
validateAndSetDocTargetFolder(String docTargetFolder,
EPMWorkspace workspace,
WTContainer container)
For the spacified string form doc target folder, validate it. |
private LifeCycleTemplateMaster |
validateAndSetPartLifeCycleTemplate(String partLifeCyclestr,
WTContainer container,
EPMWorkspace workspace)
Validate the specified part life cycle string and set this for the workspace. |
private Folder |
validateAndSetPartTargetFolder(String partTargetFolder,
EPMWorkspace workspace,
WTContainer container)
For the spacified string form part target folder, validate it. |
private TeamTemplate |
validateAndSetTeamTemplate(String teamstr,
EPMWorkspace workspace)
Validate the specified team and set it to the workspace |
private View |
validateAndSetView(String partViewstr,
EPMWorkspace workspace,
WTContainer container)
For the spacified string form part view, validate it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
boolean invalidEntry
boolean multipleInvalidEntries
private static final String CREATE_WS_RESOURCE
private static boolean VERBOSE
private static ResourceBundle resource
private static ResourceBundle create_ws_resource
Constructor Detail |
public GenWsprefFormTaskDelegate()
Method Detail |
public void processAction(ContentHTTPStream contentStream) throws Exception
Use the addToResponse
methods to pass back messages on the status/results of the action.
Supported API: true
processAction
in class FormTaskDelegate
contentStream
-
Exception
private Properties createInterTabParameters(WsConfigSpecEditUtilities wsConfigSpecEditUtilities, boolean invokedFromCheckoutDownloadPage)
private TeamTemplate validateAndSetTeamTemplate(String teamstr, EPMWorkspace workspace) throws Exception
Exception
private TeamTemplate getValidTeamTemplate(String teamStr, WTContainer container)
private LifeCycleTemplateMaster validateAndSetPartLifeCycleTemplate(String partLifeCyclestr, WTContainer container, EPMWorkspace workspace) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private LifeCycleTemplateMaster validateAndSetDocLifeCycleTemplate(String docLifeCyclestr, WTContainer container, EPMWorkspace workspace) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private LifeCycleTemplateMaster getValidLifeCycleTemplate(String lifeCycleStr, WTContainer container, boolean part)
private Folder validateAndSetPartTargetFolder(String partTargetFolder, EPMWorkspace workspace, WTContainer container) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private Folder validateAndSetDocTargetFolder(String docTargetFolder, EPMWorkspace workspace, WTContainer container) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private Folder getValidTargetFolder(String folderDisplayLocation, boolean part, WTContainer container)
folderDisplayLocation
- Folder location. Note that folder location is having container name
as part of the location path.private View validateAndSetView(String partViewstr, EPMWorkspace workspace, WTContainer container) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private View getValidView(String viewStr)
private void validateAndSetDependencyType(String dependencyTypestr, EPMWorkspace workspace)
private WTContainer validateAndSetContainer(String containerName, EPMWorkspace workspace) throws WTException
WTException
private WTContainer getValidContainer(String containerName)
private boolean isContainerChanged(WTContainer newContainer, WTContainer currentContainer)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |