com.ptc.windchill.cadx.search
Class IntegratedSearchProcessor
java.lang.Object
com.ptc.windchill.cadx.search.IntegratedSearchProcessor
- All Implemented Interfaces:
- RemoteAccess
- public class IntegratedSearchProcessor
- extends Object
- implements RemoteAccess
$$NONE
Presents the local search criteria in the HTML Local Search UI.
Supported API: false
Extendable: false
Method Summary |
static Vector |
_getDocIBAs()
|
static String |
_getDocSoftType()
|
static String |
_getSearchResult(Group ieGroup,
String activeWs,
String activeServer,
Boolean isK_01,
Locale locale)
|
String |
buildUpdatedCriteria(String updateValue,
String date1Value,
String date2Value,
Locale locale)
|
static String |
createSelectHTML(String name,
String nameParam,
Vector values,
Vector displayValues,
boolean blank,
int selected)
creates the complete select/option HTML from the opening select tag to the closed. |
static Vector |
doCustomSearch(String queryValue,
Hashtable conditions,
String activeServer,
String activeWS,
boolean isK_01,
Locale locale)
|
static Vector |
doProeSearch(Hashtable conditions,
String activeServer,
String activeWS,
boolean isK_01,
Locale locale)
|
static Vector |
getAttributeValueList(PropertyDescriptor pd,
Locale locale)
Tries to generate a Vector of legal value strings to be used in the drop down list. |
static String |
getContainerList(String activeWS,
Locale locale,
String selected)
|
private static String |
getDefinitionIndex(Class class_name)
|
static Vector |
getDocIBAs()
|
static String |
getDocSoftType()
|
private static Collection |
getEPMDocs(Group ieGroup)
|
private static Collection |
getFilteredResult(Group ieGroup)
|
static String |
getGenericName(EPMDocument doc)
|
static String |
getHelpURL(boolean isAdvancedSearch,
String activeWS,
Locale locale)
|
static Vector |
getLegalValueList(String method_name)
Generates a Vector of legal value strings to be used in the drop down list. |
private static String |
getLinkURL(HashMap props,
String msg)
|
static Vector[] |
getProEAttrsList(Locale locale)
|
static String |
getSavedSearchList(String selected,
Vector searchCache,
String owningApp,
Locale locale)
|
static String |
getSearchResult(Group ieGroup,
String activeWs,
String activeServer,
Boolean isK_01,
Locale locale)
|
static String |
getSearchResultPLMViewerURL(String sessionID,
String contextObj)
|
static String |
getSearchResultWindchillViewer(String pageURL,
String sessionId,
String queryValue,
String pageOffset,
Locale locale)
|
private static String |
getSelectHTML(String attrId,
String onChange,
Vector value_list,
String selectedValue,
Vector label_list)
|
private static String |
getSelectHTML(String attrId,
Vector value_list,
String selectedValue)
|
static String |
getTypesList(Locale locale,
String selected)
|
static String |
getUpdatedList(Locale locale,
String selected)
|
static String |
getUserPreferenceURL(String query_value)
|
static String |
getWindchillIntegratedSearchURL()
|
static boolean |
isEnterpriseSearch()
|
static String |
operatorToDCA(String htmlOperator)
|
private static String |
toDCAAttrName(String attrName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER
private static final boolean SERVER
FC_RESOURCE
private static final String FC_RESOURCE
- See Also:
- Constant Field Values
TRAIL_PREFIX_OPEN_IN_PROE_LINK
private static final String TRAIL_PREFIX_OPEN_IN_PROE_LINK
- See Also:
- Constant Field Values
TRAIL_PREFIX_PROPERTIES_LINK
private static final String TRAIL_PREFIX_PROPERTIES_LINK
- See Also:
- Constant Field Values
OPEN_IMG
private static String OPEN_IMG
CODEBASE_URL
private static String CODEBASE_URL
IBA_ID
public static final String IBA_ID
- See Also:
- Constant Field Values
MATCH_ID
public static final String MATCH_ID
- See Also:
- Constant Field Values
QUERY_ID
public static final String QUERY_ID
- See Also:
- Constant Field Values
KEYWORD_ID
public static final String KEYWORD_ID
- See Also:
- Constant Field Values
CABINET_ID
public static final String CABINET_ID
- See Also:
- Constant Field Values
TYPE_ID
public static final String TYPE_ID
- See Also:
- Constant Field Values
MODEL_ID
public static final String MODEL_ID
- See Also:
- Constant Field Values
VERSION_ID
public static final String VERSION_ID
- See Also:
- Constant Field Values
NUMBER_ID
public static final String NUMBER_ID
- See Also:
- Constant Field Values
ORGANIZATION_ID_ID
public static final String ORGANIZATION_ID_ID
- See Also:
- Constant Field Values
ORGANIZATION_NAME_ID
public static final String ORGANIZATION_NAME_ID
- See Also:
- Constant Field Values
UPDATED_ID
public static final String UPDATED_ID
- See Also:
- Constant Field Values
AUTHORING_ID
public static final String AUTHORING_ID
- See Also:
- Constant Field Values
PROE_ID
public static final String PROE_ID
- See Also:
- Constant Field Values
UPDATED_RANGE_1
public static final String UPDATED_RANGE_1
- See Also:
- Constant Field Values
UPDATED_RANGE_2
public static final String UPDATED_RANGE_2
- See Also:
- Constant Field Values
SAVED_SEARCH
public static final String SAVED_SEARCH
- See Also:
- Constant Field Values
ATTR_VERSION
private static final String ATTR_VERSION
- See Also:
- Constant Field Values
ATTR_LC_STATE
private static final String ATTR_LC_STATE
- See Also:
- Constant Field Values
DCA_UPDATED_CRETIRIA
private static final String DCA_UPDATED_CRETIRIA
- See Also:
- Constant Field Values
DCA_ATTR_VERSION
private static final String DCA_ATTR_VERSION
- See Also:
- Constant Field Values
DCA_ATTR_LC_STATE
private static final String DCA_ATTR_LC_STATE
- See Also:
- Constant Field Values
OP_EQUAL
public static final String OP_EQUAL
- See Also:
- Constant Field Values
OP_NOT_EQUAL
public static final String OP_NOT_EQUAL
- See Also:
- Constant Field Values
OP_LESS
public static final String OP_LESS
- See Also:
- Constant Field Values
OP_GREATER
public static final String OP_GREATER
- See Also:
- Constant Field Values
OP_LESS_EQUAL
public static final String OP_LESS_EQUAL
- See Also:
- Constant Field Values
OP_GREATER_EQUAL
public static final String OP_GREATER_EQUAL
- See Also:
- Constant Field Values
WF_SEARCH_ACTION
public static final String WF_SEARCH_ACTION
- See Also:
- Constant Field Values
SUB_ACTION_POPULATE_CRITERIA
public static final String SUB_ACTION_POPULATE_CRITERIA
- See Also:
- Constant Field Values
SUB_ACTION_EXECUTE_SEARCH
public static final String SUB_ACTION_EXECUTE_SEARCH
- See Also:
- Constant Field Values
SESSION_ID
public static String SESSION_ID
PAGE_OFFSET
public static String PAGE_OFFSET
SEARCH_RESULTS_WINDOW_PROPS
public static String SEARCH_RESULTS_WINDOW_PROPS
SEARCH_RESULTS_WINDOW_NAME
public static String SEARCH_RESULTS_WINDOW_NAME
CS_SEPARATOR
public static String CS_SEPARATOR
KEYWORD_TYPE_ID
public static final String KEYWORD_TYPE_ID
- See Also:
- Constant Field Values
PROPERTY_TYPE_ID
public static final String PROPERTY_TYPE_ID
- See Also:
- Constant Field Values
PROPERTYTIMESTAMP_TYPE_ID
public static final String PROPERTYTIMESTAMP_TYPE_ID
- See Also:
- Constant Field Values
PROPERTY_LIST_ID
public static final String PROPERTY_LIST_ID
- See Also:
- Constant Field Values
TIMESTAMP_TYPE_ID
public static final String TIMESTAMP_TYPE_ID
- See Also:
- Constant Field Values
STRING_TYPE_ID
public static final String STRING_TYPE_ID
- See Also:
- Constant Field Values
BOOLEAN_TYPE_ID
public static final String BOOLEAN_TYPE_ID
- See Also:
- Constant Field Values
RATIO_TYPE_ID
public static final String RATIO_TYPE_ID
- See Also:
- Constant Field Values
FLOAT_TYPE_ID
public static final String FLOAT_TYPE_ID
- See Also:
- Constant Field Values
INTEGER_TYPE_ID
public static final String INTEGER_TYPE_ID
- See Also:
- Constant Field Values
CONTAINER_REF_ID
public static final String CONTAINER_REF_ID
- See Also:
- Constant Field Values
CONTAINER_TYPE_ID
public static final String CONTAINER_TYPE_ID
- See Also:
- Constant Field Values
QRESOURCE
private static final String QRESOURCE
- See Also:
- Constant Field Values
WFSRESOURCE
private static final String WFSRESOURCE
- See Also:
- Constant Field Values
WFCOMMONRESOURCE
private static final String WFCOMMONRESOURCE
- See Also:
- Constant Field Values
PROCESSOR_CLASS
private static final String PROCESSOR_CLASS
- See Also:
- Constant Field Values
PROCESSOR_METHOD
private static final String PROCESSOR_METHOD
- See Also:
- Constant Field Values
isWindchillStyle
public static boolean isWindchillStyle
isStandalone
public static boolean isStandalone
isEnterpriseSearch
private static boolean isEnterpriseSearch
VERBOSE
private static boolean VERBOSE
SORT_PREF
private static String SORT_PREF
epmDocumentInfo
private static ClassInfo epmDocumentInfo
ORGANIZATION_EXPOSED
public static boolean ORGANIZATION_EXPOSED
OID
private static String OID
SAVED_SEARCH_LENGTH_LIMIT
private static final int SAVED_SEARCH_LENGTH_LIMIT
- See Also:
- Constant Field Values
SAVED_SEARCH_TRUNCATION_SUFIX
private static final String SAVED_SEARCH_TRUNCATION_SUFIX
- See Also:
- Constant Field Values
attrDefinitionCl
public static final Class[] attrDefinitionCl
attrValueCl
public static final Class[] attrValueCl
excludeType
private static final String[] excludeType
operatorsMap
private static final HashMap operatorsMap
IntegratedSearchProcessor
public IntegratedSearchProcessor()
getDefinitionIndex
private static String getDefinitionIndex(Class class_name)
getWindchillIntegratedSearchURL
public static String getWindchillIntegratedSearchURL()
throws WTException
- Throws:
WTException
getUserPreferenceURL
public static String getUserPreferenceURL(String query_value)
throws WTException
- Throws:
WTException
getLinkURL
private static String getLinkURL(HashMap props,
String msg)
throws WTException
- Throws:
WTException
doCustomSearch
public static Vector doCustomSearch(String queryValue,
Hashtable conditions,
String activeServer,
String activeWS,
boolean isK_01,
Locale locale)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
doProeSearch
public static Vector doProeSearch(Hashtable conditions,
String activeServer,
String activeWS,
boolean isK_01,
Locale locale)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
getSearchResultPLMViewerURL
public static String getSearchResultPLMViewerURL(String sessionID,
String contextObj)
throws WTException
- Throws:
WTException
getSearchResultWindchillViewer
public static String getSearchResultWindchillViewer(String pageURL,
String sessionId,
String queryValue,
String pageOffset,
Locale locale)
throws WTException
- Throws:
WTException
isEnterpriseSearch
public static boolean isEnterpriseSearch()
getHelpURL
public static String getHelpURL(boolean isAdvancedSearch,
String activeWS,
Locale locale)
throws WTException
- Throws:
WTException
getTypesList
public static String getTypesList(Locale locale,
String selected)
throws WTException
- Throws:
WTException
getContainerList
public static String getContainerList(String activeWS,
Locale locale,
String selected)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
getUpdatedList
public static String getUpdatedList(Locale locale,
String selected)
throws WTException
- Throws:
WTException
buildUpdatedCriteria
public String buildUpdatedCriteria(String updateValue,
String date1Value,
String date2Value,
Locale locale)
getSelectHTML
private static String getSelectHTML(String attrId,
Vector value_list,
String selectedValue)
getSelectHTML
private static String getSelectHTML(String attrId,
String onChange,
Vector value_list,
String selectedValue,
Vector label_list)
createSelectHTML
public static String createSelectHTML(String name,
String nameParam,
Vector values,
Vector displayValues,
boolean blank,
int selected)
- creates the complete select/option HTML from the opening select tag to the closed.
NOTE:
Elements in the passed in vector have the toString() method applied to them.
If the displayValues are null the "values" vector will be used for display as well.
The default count starts at zero and includes the blank if it is used.
Supported API: true
- Parameters:
name
- String name of the element in the HTML form.nameParam
- Additional SELECT parameters such as SIZE or onChange. ex: SIZE="5"values
- Vector that contains the form values that correspond to the displayValue vector.displayValues
- Vector that contains the display values visible in the HTML drop down.blank
- Do you wish to have a blank prepended to the list of values? Note: Setting this to "true" will add one to the list's size. Remember this when setting the "default" param.
- Returns:
- The HTML String that creates the select/option.
getProEAttrsList
public static Vector[] getProEAttrsList(Locale locale)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
getAttributeValueList
public static Vector getAttributeValueList(PropertyDescriptor pd,
Locale locale)
- Tries to generate a Vector of legal value strings to be used in the drop down list.
Checks for attribute types that it knows how to generate lists for like boolean and
extensions of EnumeratedType.
Supported API: false
getLegalValueList
public static Vector getLegalValueList(String method_name)
throws WTException
- Generates a Vector of legal value strings to be used in the drop down list.
Does an invoke on the method name.
Supported API: false
- Throws:
WTException
getSavedSearchList
public static String getSavedSearchList(String selected,
Vector searchCache,
String owningApp,
Locale locale)
throws WTException
- Throws:
WTException
operatorToDCA
public static String operatorToDCA(String htmlOperator)
getSearchResult
public static String getSearchResult(Group ieGroup,
String activeWs,
String activeServer,
Boolean isK_01,
Locale locale)
throws WTException
- Throws:
WTException
_getSearchResult
public static String _getSearchResult(Group ieGroup,
String activeWs,
String activeServer,
Boolean isK_01,
Locale locale)
throws WTException
- Throws:
WTException
getDocSoftType
public static String getDocSoftType()
throws WTException
- Throws:
WTException
_getDocSoftType
public static String _getDocSoftType()
throws WTException
- Throws:
WTException
getDocIBAs
public static Vector getDocIBAs()
throws WTException
- Throws:
WTException
_getDocIBAs
public static Vector _getDocIBAs()
throws WTException
- Throws:
WTException
getGenericName
public static String getGenericName(EPMDocument doc)
throws WTException
- Throws:
WTException
getFilteredResult
private static Collection getFilteredResult(Group ieGroup)
throws WTException
- Throws:
WTException
getEPMDocs
private static Collection getEPMDocs(Group ieGroup)
throws WTException
- Throws:
WTException
toDCAAttrName
private static String toDCAAttrName(String attrName)