|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.enterprise.search.MigrateSavedSearchCriteria.Server
Field Summary |
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
MigrateSavedSearchCriteria.Server()
|
Method Summary | |
private static Map |
buildCriteriaForSimpleSearch(Map criteria,
Map migratedCriteria)
Builds criteriaMap for simple search page. |
private static Element |
buildElementForQueryBuilder(HashMap criteriaMap,
Class attType,
String attName,
String attQueryName,
String pickerType,
String ufidAtt,
String displayKey,
String searchTermProducer,
String searchClass,
String displayName)
Builds an IE element for the given attribute |
private static Element |
buildSoftTypeElementForQueryBuilder(String attName,
String attValue,
Class attType,
String searchClass)
Builds an IE element from the given soft attribute name and value |
private static ArrayList |
checkForSoftAttributes(ArrayList criteriaElements,
String objectType,
String whereClause,
Locale locale)
Checks the where clause for any soft attributes that weren't in the criteria map. |
private static ArrayList |
getListOfSimpleSearchAttributes()
Returns list of attributes available on the simple search page. |
static Boolean |
migrateData()
Querys for all SavedQuery objects and sends each object through updateSearchCriteria(SavedQuery query) |
private static void |
updateSearchCriteria(SavedQuery query)
Takes a SavedQuery object as an input and manipulates the criteria attribute to make it executable on the 8.0 query builder search page |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MigrateSavedSearchCriteria.Server()
Method Detail |
public static Boolean migrateData() throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static void updateSearchCriteria(SavedQuery query) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static ArrayList checkForSoftAttributes(ArrayList criteriaElements, String objectType, String whereClause, Locale locale) throws WTException
WTException
private static Element buildSoftTypeElementForQueryBuilder(String attName, String attValue, Class attType, String searchClass) throws WTException
WTException
private static Element buildElementForQueryBuilder(HashMap criteriaMap, Class attType, String attName, String attQueryName, String pickerType, String ufidAtt, String displayKey, String searchTermProducer, String searchClass, String displayName) throws WTException
WTException
private static Map buildCriteriaForSimpleSearch(Map criteria, Map migratedCriteria) throws WTException
WTException
private static ArrayList getListOfSimpleSearchAttributes() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |