|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.templateutil.processor.DefaultTemplateProcessor
wt.templateutil.processor.GenerateFormProcessor
wt.templateutil.processor.NavigateFormProcessor
com.ptc.windchill.cadx.common.BrowseFoldersProcessor
Supported API: false
Extendable: false
Nested Class Summary | |
private class |
BrowseFoldersProcessor.ContainerListData
|
Field Summary | |
static String |
ALIAS
|
static String |
BROWSE_FOLDERS_RESOURCE
|
private static String |
CLASSNAME
|
(package private) BrowseFoldersProcessor.ContainerListData |
containerListData
|
protected static String |
CONTEXT_ID_SELECT_LIST_NAME
|
static String |
CURRENT_CONTEXT_ID
|
static String |
CURRENT_CONTEXT_NAME
|
static String |
CURRENT_FOLDER_ID
|
(package private) WTContainer |
currentContainer
|
(package private) Folder |
currentFolder
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static String |
FOLDER_SELECT_LIST_NAME
|
static String |
LOCATION
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
(package private) PickerUtilities |
utilities
|
static String |
VALUE_TO_SELECT
|
Fields inherited from class wt.templateutil.processor.NavigateFormProcessor |
LocationSelect, NAVIGATE_FOLDERS, VERBOSE |
Fields inherited from class wt.templateutil.processor.GenerateFormProcessor |
DEFAULT_LIFECYCLE, ON_CHANGE_EVENT_NAME, TEAMTEMPLATE_INPUT_NAME |
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor |
ACTION, CLASS, CODEBASE, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR, OID |
Fields inherited from interface wt.templateutil.processor.ContextTranslator |
CONTEXT_LIST_IN, CONTEXT_LIST_OUT |
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 | |
BrowseFoldersProcessor()
|
Method Summary | |
void |
actualFolderPath(Properties parameters,
Locale locale,
OutputStream os)
|
protected String |
createFoundationStyleOptionIDValue(String selectName,
String optionValue)
|
void |
currentContainerVisibilityMask(Properties parameters,
Locale locale,
OutputStream os)
|
void |
currentContextId(Properties parameters,
Locale locale,
OutputStream os)
Outputs the oid of the current container context |
void |
currentContextName(Properties parameters,
Locale locale,
OutputStream os)
Outputs the name of the current container context |
void |
currentFolderPath(Properties parameters,
Locale locale,
OutputStream os)
|
static String |
fixPathForContainer(String path,
WTContainer container)
|
static WTContainer |
getContainerFromId(String currentContextId)
|
private Folder |
getCurrentFolder()
|
private Folder |
getParentFolder(Folder currentFolder)
|
private QueryResult |
getSubFolders(Folder currentFolder,
WTContainer currentContainer)
|
void |
initListContainers(Properties parameters,
Locale locale,
OutputStream os)
List the name of containers which belongs to same solution context as the current workspace's container. |
private void |
initPickerUtilities(Properties parameters,
Locale locale,
OutputStream os)
Creates an instance of PickerUtilities if no yet created |
void |
listContainers(Properties parameters,
Locale locale,
OutputStream os)
Creates a SELECT tag that contains the list of containers |
void |
parentFolderPath(Properties parameters,
Locale locale,
OutputStream os)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(BrowseFoldersProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
selectFolderMenu(Properties parameters,
Locale locale,
OutputStream os)
Overrides GenerateFormProcessor's selectFolderMenu method to support a current folder entry "/." Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.templateutil.processor.NavigateFormProcessor |
processTemplateName, readVersion |
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
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static String LOCATION
public static String VALUE_TO_SELECT
public static String CURRENT_FOLDER_ID
public static String CURRENT_CONTEXT_ID
public static String CURRENT_CONTEXT_NAME
public static String ALIAS
public static String BROWSE_FOLDERS_RESOURCE
protected static String CONTEXT_ID_SELECT_LIST_NAME
protected static String FOLDER_SELECT_LIST_NAME
BrowseFoldersProcessor.ContainerListData containerListData
PickerUtilities utilities
WTContainer currentContainer
Folder currentFolder
Constructor Detail |
public BrowseFoldersProcessor()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class NavigateFormProcessor
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class NavigateFormProcessor
input
-
IOException
ClassNotFoundException
protected boolean readVersion(BrowseFoldersProcessor thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void selectFolderMenu(Properties parameters, Locale locale, OutputStream os) throws WTException
selectFolderMenu
in class GenerateFormProcessor
parameters
- locale
- os
-
WTException
public void currentFolderPath(Properties parameters, Locale locale, OutputStream os) throws WTException
currentFolderPath
in class GenerateFormProcessor
WTException
public void actualFolderPath(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void parentFolderPath(Properties parameters, Locale locale, OutputStream os) throws WTException
parentFolderPath
in class GenerateFormProcessor
WTException
public void initListContainers(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void listContainers(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void currentContextName(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void currentContextId(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void currentContainerVisibilityMask(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public static WTContainer getContainerFromId(String currentContextId)
public static String fixPathForContainer(String path, WTContainer container) throws WTException
WTException
private void initPickerUtilities(Properties parameters, Locale locale, OutputStream os)
private Folder getCurrentFolder()
private QueryResult getSubFolders(Folder currentFolder, WTContainer currentContainer) throws WTException
WTException
private Folder getParentFolder(Folder currentFolder) throws WTException
WTException
protected String createFoundationStyleOptionIDValue(String selectName, String optionValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |