com.ptc.windchill.enterprise.search.client
Class ArchiveWhereSearchTermProducer

java.lang.Object
  extended bycom.ptc.core.ca.co.client.search.CoDefaultPropertySearchTermProducer
      extended bycom.ptc.windchill.enterprise.search.client.ArchiveWhereSearchTermProducer
All Implemented Interfaces:
CoSearchTermProducer

public class ArchiveWhereSearchTermProducer
extends CoDefaultPropertySearchTermProducer
implements CoSearchTermProducer


Field Summary
private  boolean attributeSameAsPropertyLogicalName
           
private static String WHERE_CLAUSE
           
 
Fields inherited from class com.ptc.core.ca.co.client.search.CoDefaultPropertySearchTermProducer
 
Constructor Summary
ArchiveWhereSearchTermProducer()
           
 
Method Summary
static String getLogicalName(CoElement element, CoEnvData envData)
           
static ArrayList getLogicalNameList(CoElement element, CoEnvData envData)
           
protected  String getSearchRelation(CoElement element, CoEnvData envData)
           
protected  String getTermAttributeName(CoElement element, CoEnvData envData)
           
protected  Object getTermAttributeValue(CoElement element, CoEnvData envData)
           
 String produce(CoElement element, CoEnvData envData)
          

Supported API: false
protected static void setWhereClause(String termToAdd, String relation, CoEnvData envData)
           
 
Methods inherited from class com.ptc.core.ca.co.client.search.CoDefaultPropertySearchTermProducer
createSearchTerm, getTermRelation, isEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeSameAsPropertyLogicalName

private boolean attributeSameAsPropertyLogicalName

WHERE_CLAUSE

private static final String WHERE_CLAUSE
See Also:
Constant Field Values
Constructor Detail

ArchiveWhereSearchTermProducer

public ArchiveWhereSearchTermProducer()
Method Detail

produce

public String produce(CoElement element,
                      CoEnvData envData)
               throws WTException
Description copied from interface: CoSearchTermProducer


Supported API: false

Specified by:
produce in interface CoSearchTermProducer
Overrides:
produce in class CoDefaultPropertySearchTermProducer
Throws:
WTException

getTermAttributeName

protected String getTermAttributeName(CoElement element,
                                      CoEnvData envData)
                               throws WTException
Overrides:
getTermAttributeName in class CoDefaultPropertySearchTermProducer
Throws:
WTException

getLogicalName

public static String getLogicalName(CoElement element,
                                    CoEnvData envData)
                             throws WTException
Throws:
WTException

getLogicalNameList

public static ArrayList getLogicalNameList(CoElement element,
                                           CoEnvData envData)
                                    throws WTException
Throws:
WTException

getTermAttributeValue

protected Object getTermAttributeValue(CoElement element,
                                       CoEnvData envData)
                                throws WTException
Overrides:
getTermAttributeValue in class CoDefaultPropertySearchTermProducer
Throws:
WTException

setWhereClause

protected static void setWhereClause(String termToAdd,
                                     String relation,
                                     CoEnvData envData)
                              throws WTException
Throws:
WTException

getSearchRelation

protected String getSearchRelation(CoElement element,
                                   CoEnvData envData)
                            throws WTException
Throws:
WTException