|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
com.ptc.windchill.cadx.search.StandardCustomSearchManager
Use the newStandardCustomSearchManager
static factory method(s),
not the StandardCustomSearchManager
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private Class[] |
attrDefinitionCl
|
private static Class[] |
attrValueCl
|
private String |
BRANCH_ID
|
private static String |
CLASSNAME
|
private static String |
CODEBASE_URL
|
private String |
CONTENT_HOLDER_ID
|
private String |
DEFINITION_REFERENCE_ID
|
private static long |
EXPIRED_INTERVAL
|
private String |
GENERIC_ID
|
private String |
HOLDER_REFERENCE_CLASS
|
private String |
HOLDER_REFERENCE_ID
|
private String |
INSTANCE_ID
|
private String |
ITERATION_ID
|
private String |
MASTER_ID
|
private String |
MASTER_NUMBER
|
private String |
OBJ_ID
|
private static String |
OPEN_IMG
|
private static String[][] |
PDMObjStatusGlyphTable
|
private static String |
RESOURCE
|
private Hashtable |
searchResults
|
private String |
TRAIL_PREFIX_OPEN_IN_PROE_LINK
|
private String |
TRAIL_PREFIX_PROPERTIES_LINK
|
private static String |
UTIL_RESOURCE
|
private static boolean |
VERBOSE
|
private String |
VERSION_ID
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardCustomSearchManager()
|
Method Summary | |
private Vector |
filterByContainer(QueryResult qr,
Map enabledContainers,
Map shared,
boolean filterByCabinet)
|
Vector |
getAllUsedIBA()
Supported API: false |
String |
getConceptualClassname()
Deprecated. |
Vector |
getContainers(String activeWS,
Locale locale)
Supported API: false |
static int |
getDocumentType(boolean isInstance,
boolean isGeneric)
|
private Map |
getEnabledContainers(String value,
String activeWS,
Locale locale)
|
private HashMap |
getGenericHolderOfInstances(QuerySpec searchQuerySpec)
|
private HashMap |
getGenerics(QuerySpec searchQuerySpec)
|
String |
getHelpURL(String helpContext,
String activeWS,
Locale locale)
Supported API: false |
private HashMap |
getHolders(QuerySpec searchQuerySpec)
|
long |
getIDByKey(String className,
String path)
Supported API: false |
long |
getIDByKey(String className,
String number,
String version,
String iteration)
Supported API: false |
private HashMap |
getInstances(QuerySpec searchQuerySpec)
|
String[] |
getKeyByID(String className,
long ID)
Supported API: false |
private String |
getObjGlyphTag(EPMDocument obj,
boolean[] instance_generic_holder_shared)
|
private String |
getOperator(String value)
|
Vector |
getSearchResults(String sessionID)
Supported API: false |
Vector |
getSearchResults(String queryValue,
Hashtable conditions,
Vector sortKeys,
String filter,
Vector contentLibrary,
String activeServer,
String activeWS,
Locale locale,
Boolean isK_01)
Supported API: false |
String |
getSearchResultsPage(String pageURL,
String queryValue,
long sessionID,
int pageOffset,
int pageRange,
Locale locale)
Supported API: false |
private HashMap |
getShared(QuerySpec searchQuerySpec,
WTContainer container)
|
private String |
getStatusGlyph(String objState)
|
Vector |
getUsedIBA(Vector holdersCl)
Supported API: false |
private String |
getValue(String value)
|
static String |
getWorkspaceContentState(EPMDocument obj)
|
private String[] |
getWorkspaces(Vector objs)
|
private boolean |
isClassValid(Class cl)
|
boolean |
isEnterpriseSearch()
Supported API: false |
static String |
MapDocumentTypeToPDMObjType(int docType,
boolean isDocWithContents)
|
static StandardCustomSearchManager |
newStandardCustomSearchManager()
Default factory for the class. |
private void |
refreshCache()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String UTIL_RESOURCE
private final Class[] attrDefinitionCl
private static final Class[] attrValueCl
private final String OBJ_ID
private final String MASTER_ID
private final String DEFINITION_REFERENCE_ID
private final String HOLDER_REFERENCE_ID
private final String HOLDER_REFERENCE_CLASS
private final String BRANCH_ID
private final String MASTER_NUMBER
private final String VERSION_ID
private final String ITERATION_ID
private final String INSTANCE_ID
private final String GENERIC_ID
private final String CONTENT_HOLDER_ID
private final String TRAIL_PREFIX_OPEN_IN_PROE_LINK
private final String TRAIL_PREFIX_PROPERTIES_LINK
private static String OPEN_IMG
private static String CODEBASE_URL
private static long EXPIRED_INTERVAL
private static boolean VERBOSE
private Hashtable searchResults
private static String[][] PDMObjStatusGlyphTable
Constructor Detail |
public StandardCustomSearchManager()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardCustomSearchManager newStandardCustomSearchManager() throws WTException
WTException
public Vector getUsedIBA(Vector holdersCl) throws WTException, WTPropertyVetoException
getUsedIBA
in interface CustomSearchManager
holdersCl
-
WTException
WTPropertyVetoException
public Vector getAllUsedIBA() throws WTException, WTPropertyVetoException
getAllUsedIBA
in interface CustomSearchManager
WTException
WTPropertyVetoException
public Vector getSearchResults(String queryValue, Hashtable conditions, Vector sortKeys, String filter, Vector contentLibrary, String activeServer, String activeWS, Locale locale, Boolean isK_01) throws WTException, WTPropertyVetoException
getSearchResults
in interface CustomSearchManager
queryValue
- conditions
- sortKeys
- filter
- contentLibrary
- activeServer
- activeWS
- locale
- isK_01
-
WTException
WTPropertyVetoException
public Vector getSearchResults(String sessionID) throws WTException
getSearchResults
in interface CustomSearchManager
sessionID
-
WTException
public String getSearchResultsPage(String pageURL, String queryValue, long sessionID, int pageOffset, int pageRange, Locale locale) throws WTException
getSearchResultsPage
in interface CustomSearchManager
pageURL
- queryValue
- sessionID
- pageOffset
- pageRange
- locale
-
WTException
public long getIDByKey(String className, String path) throws WTException
getIDByKey
in interface CustomSearchManager
className
- path
-
WTException
public long getIDByKey(String className, String number, String version, String iteration) throws WTException
getIDByKey
in interface CustomSearchManager
className
- number
- version
- iteration
-
WTException
public String[] getKeyByID(String className, long ID) throws WTException
getKeyByID
in interface CustomSearchManager
className
- ID
-
WTException
public boolean isEnterpriseSearch() throws WTException
isEnterpriseSearch
in interface CustomSearchManager
WTException
public String getHelpURL(String helpContext, String activeWS, Locale locale) throws WTException
getHelpURL
in interface CustomSearchManager
helpContext
- activeWS
- locale
-
WTException
public Vector getContainers(String activeWS, Locale locale) throws WTException, WTPropertyVetoException
getContainers
in interface CustomSearchManager
activeWS
- locale
-
WTException
WTPropertyVetoException
private boolean isClassValid(Class cl) throws WTException
WTException
private String getOperator(String value)
private String getValue(String value)
private String[] getWorkspaces(Vector objs) throws WTException
WTException
private String getObjGlyphTag(EPMDocument obj, boolean[] instance_generic_holder_shared) throws WTException
WTException
private String getStatusGlyph(String objState)
public static int getDocumentType(boolean isInstance, boolean isGeneric)
public static String MapDocumentTypeToPDMObjType(int docType, boolean isDocWithContents)
public static String getWorkspaceContentState(EPMDocument obj)
private HashMap getGenerics(QuerySpec searchQuerySpec) throws WTException
WTException
private HashMap getInstances(QuerySpec searchQuerySpec) throws WTException
WTException
private HashMap getGenericHolderOfInstances(QuerySpec searchQuerySpec) throws WTException
WTException
private HashMap getHolders(QuerySpec searchQuerySpec) throws WTException
WTException
private HashMap getShared(QuerySpec searchQuerySpec, WTContainer container) throws WTException
WTException
private Map getEnabledContainers(String value, String activeWS, Locale locale) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private Vector filterByContainer(QueryResult qr, Map enabledContainers, Map shared, boolean filterByCabinet)
private void refreshCache()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |