com.ptc.wvs.common.ui
Class SearchHelper
java.lang.Object
com.ptc.wvs.common.ui.SearchHelper
- public class SearchHelper
- extends Object
Method Summary |
static boolean |
deleteObject(String reference)
|
static boolean |
deleteObjects(Vector references)
|
private static String |
getAuthoringApplication(Persistable result,
Locale locale)
|
private static String |
getDescription(Persistable result)
|
private static String |
getDocType(Persistable result,
Locale locale)
|
private static String |
getHTMLResult(String result)
|
private static String |
getIteration(Persistable result)
|
private static String |
getName(Persistable result)
|
private static String |
getNumber(Persistable result)
|
private static String |
getOwnerApplication(Persistable result,
Locale locale)
|
static int |
getPrefMaxResults()
|
static String |
getPropertyPageURL(String oid)
|
private static String |
getView(Persistable result)
|
static boolean |
isEnterpriseSearchInstalled()
|
static SortedEnumeration |
performLocalSearch(Vector vector,
Hashtable criteria,
Vector vector1,
String sortPreference,
Locale locale)
Performs the database search
Supported API: false |
static Object[] |
performUnifiedSearch(Vector classnames,
Hashtable criteria,
String keyword,
Vector display,
Vector sortKeys,
int pageOffset,
int pageRange,
boolean allIterations,
Locale locale,
Long sessionID,
String searchType,
boolean longListing,
boolean showEDRDelete,
String allLineFlag,
Vector vexpanded,
Vector toolTips)
|
static StringBuffer |
reformatResults(Vector representables,
boolean allIterations,
String searchType,
boolean longListing,
boolean showEDRDelete,
String allLineFlag,
Vector vexpanded,
Vector toolTips,
Locale locale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_CLASS
private static final String SERVER_CLASS
SERVER
private static final boolean SERVER
debug
private static boolean debug
wvsProperties
private static WVSProperties wvsProperties
displayPartView
private static boolean displayPartView
SearchHelper
public SearchHelper()
performLocalSearch
public static SortedEnumeration performLocalSearch(Vector vector,
Hashtable criteria,
Vector vector1,
String sortPreference,
Locale locale)
- Performs the database search
Supported API: false
performUnifiedSearch
public static Object[] performUnifiedSearch(Vector classnames,
Hashtable criteria,
String keyword,
Vector display,
Vector sortKeys,
int pageOffset,
int pageRange,
boolean allIterations,
Locale locale,
Long sessionID,
String searchType,
boolean longListing,
boolean showEDRDelete,
String allLineFlag,
Vector vexpanded,
Vector toolTips)
reformatResults
public static StringBuffer reformatResults(Vector representables,
boolean allIterations,
String searchType,
boolean longListing,
boolean showEDRDelete,
String allLineFlag,
Vector vexpanded,
Vector toolTips,
Locale locale)
deleteObject
public static boolean deleteObject(String reference)
deleteObjects
public static boolean deleteObjects(Vector references)
getPropertyPageURL
public static String getPropertyPageURL(String oid)
getPrefMaxResults
public static int getPrefMaxResults()
isEnterpriseSearchInstalled
public static boolean isEnterpriseSearchInstalled()
getHTMLResult
private static String getHTMLResult(String result)
getNumber
private static String getNumber(Persistable result)
getName
private static String getName(Persistable result)
getDescription
private static String getDescription(Persistable result)
getIteration
private static String getIteration(Persistable result)
getDocType
private static String getDocType(Persistable result,
Locale locale)
getOwnerApplication
private static String getOwnerApplication(Persistable result,
Locale locale)
getAuthoringApplication
private static String getAuthoringApplication(Persistable result,
Locale locale)
getView
private static String getView(Persistable result)