|
|||||||||||
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.createws.CreateWSFormTaskDelegate
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
debug
|
static String |
DEFAULT_DOC_LIFE_CYCLE
|
static String |
DEFAULT_PART_LIFE_CYCLE
|
static String |
DEFAULT_PART_VIEW
|
static String |
DEFAULT_TEAM
|
private Folder |
docFolder
|
private LifeCycleTemplateMaster |
docLifeCycle
|
private static String |
ENTERPRISE_RESOURCE
|
private String |
isPDMLink
HTML log error/info/warning code: last used WS0000014 |
private Folder |
partFolder
|
private LifeCycleTemplateMaster |
partLifeCycle
|
private String |
productName
|
private static String |
RESOURCE
|
private TeamTemplate |
teamTemplate
|
private static boolean |
VERBOSE
|
private View |
view
|
private EPMWorkspace |
workspace
|
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 | |
CreateWSFormTaskDelegate()
|
Method Summary | |
boolean |
activateWorkspace()
This is default implementation of activateWorkspace (). |
SubFolder |
checkSubFolder(String wsName)
This method provides default implementation of checkSubFolder (). |
private String |
getAdditionalValidCharacters()
|
private WTContainer |
getAndValidateContainer(Properties formData)
Get WTContainer object from the specified container name parameter. |
private Folder |
getDefaultFolderForWCObject(String containerRuleBasedFolder,
WTContainer container)
|
private String |
getFormDataValue(String formDataName)
Get the value from the form data for the specified form data name |
private boolean |
isPartCentricProcessing()
Check if PartCentricProcessing is configured in the user preferences. |
void |
processAction(ContentHTTPStream contentStream)
Deprecated. |
void |
setWorkspaceConfigDefaults(Folder subFolder)
Get some of the default values from the cadxhtmlui.ini file for this workspace. |
private void |
showContainerBasedDefaultValuesForCADDoc(WTContainer wsContainer)
Show user, as informational message, the potential container based default values for the CAD Document business objects. |
private void |
showContainerBasedDefaultValuesForPart(WTContainer wsContainer)
Show user, as informational message, the potential container based default values for the WTPart business objects. |
protected boolean |
workspaceAlreadyExists(String ws_name,
String owner)
Supported API: false |
protected boolean |
workspaceAlreadyExists(String ws_name,
WTPrincipal principal)
|
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
private static boolean debug
private View view
private EPMWorkspace workspace
private TeamTemplate teamTemplate
private LifeCycleTemplateMaster docLifeCycle
private LifeCycleTemplateMaster partLifeCycle
private Folder docFolder
private Folder partFolder
private String isPDMLink
private String productName
public static final String DEFAULT_TEAM
public static final String DEFAULT_DOC_LIFE_CYCLE
public static final String DEFAULT_PART_LIFE_CYCLE
public static final String DEFAULT_PART_VIEW
private static final String ENTERPRISE_RESOURCE
private static boolean VERBOSE
Constructor Detail |
public CreateWSFormTaskDelegate()
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: false
processAction
in class FormTaskDelegate
contentStream
-
Exception
public boolean activateWorkspace()
public void setWorkspaceConfigDefaults(Folder subFolder)
subFolder
- protected boolean workspaceAlreadyExists(String ws_name, String owner) throws WTException
ws_name
- owner
-
WTException
public SubFolder checkSubFolder(String wsName)
wsName
-
private Folder getDefaultFolderForWCObject(String containerRuleBasedFolder, WTContainer container) throws WTException
WTException
private String getAdditionalValidCharacters()
private WTContainer getAndValidateContainer(Properties formData)
private void showContainerBasedDefaultValuesForCADDoc(WTContainer wsContainer)
private void showContainerBasedDefaultValuesForPart(WTContainer wsContainer)
private String getFormDataValue(String formDataName)
private boolean isPartCentricProcessing()
protected boolean workspaceAlreadyExists(String ws_name, WTPrincipal principal) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |