com.ptc.windchill.enterprise.search.server
Class SavedSearchHelper
java.lang.Object
com.ptc.windchill.enterprise.search.server.SavedSearchHelper
- All Implemented Interfaces:
- RemoteAccess
- public final class SavedSearchHelper
- extends Object
- implements RemoteAccess
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private static String value
objectID
private static String objectID
queryName
private static String queryName
savedSearchCache
private static Vector savedSearchCache
CLASSNAME
private static final String CLASSNAME
SERVER
static final boolean SERVER
FC_RESOURCE
private static final String FC_RESOURCE
- See Also:
- Constant Field Values
prefNode
public static final String prefNode
- See Also:
- Constant Field Values
prefKey
public static final String prefKey
- See Also:
- Constant Field Values
SEARCH_TOKEN
public static final String SEARCH_TOKEN
- See Also:
- Constant Field Values
CACHE
public static final String CACHE
- See Also:
- Constant Field Values
ADVANCED_SEARCH
public static final String ADVANCED_SEARCH
- See Also:
- Constant Field Values
SIMPLE_SEARCH
public static final String SIMPLE_SEARCH
- See Also:
- Constant Field Values
PROE_CUSTOM_SEARCH
public static final String PROE_CUSTOM_SEARCH
- See Also:
- Constant Field Values
PROE_SIMPLE_SEARCH
public static final String PROE_SIMPLE_SEARCH
- See Also:
- Constant Field Values
CREATE
public static final String CREATE
- See Also:
- Constant Field Values
CUSTOMIZE
public static final String CUSTOMIZE
- See Also:
- Constant Field Values
SavedSearchHelper
public SavedSearchHelper()
populateSavedSearchCache
public static Vector populateSavedSearchCache()
throws WTException
- Throws:
WTException
_populateSavedSearchCache
public static Vector _populateSavedSearchCache()
throws WTException
- Throws:
WTException
updateSavedSearchCache
public static void updateSavedSearchCache(javax.servlet.http.HttpSession session)
throws WTException
- Throws:
WTException
getSavedSearchesAsList
public static String[] getSavedSearchesAsList(Vector savedSearchCache,
String owningClient)
throws WTException
- Throws:
WTException
_getSavedSearchesAsList
public static String[] _getSavedSearchesAsList(Vector savedSearchCache,
String owningClient)
throws WTException
- Throws:
WTException
getSavedSearches
public static String getSavedSearches(Vector savedSearchCache,
String owningClient)
throws WTException
- Throws:
WTException
executeSavedSearchInProE
public static Vector executeSavedSearchInProE(String objectID)
throws WTException
- Throws:
WTException
savedSearchURL
public static String savedSearchURL(String action,
String owningClient)
throws WTException
- Throws:
WTException
getSavedSearchElements
public static HashMap getSavedSearchElements(Group group)
throws WTException
- Throws:
WTException
getPrincipalRole
public static Vector getPrincipalRole()
throws WTException
- Uses a remote method server call.
Returns a vector of role elements including:
1) User's roleId (String): 'admin' for container administrator, 'siteadmin' for site administrator
and 'user' for a non-admin user.
2) ArrayList of containers the user is an administrator of.
This should be used by non-DCA clients using saved search.
- Throws:
WTException
_getPrincipalRole
public static Vector _getPrincipalRole()
throws WTException
- Returns a vector of role elements including:
1) User's roleId (String): 'admin' for container administrator, 'siteadmin' for site administrator
and 'user' for a non-admin user.
2) ArrayList of containers the user is an administrator of.
This should be used by non-DCA clients using saved search.
- Throws:
WTException