com.ptc.epm.commands
Class ECADAbstractQuery
java.lang.Object
com.ptc.epm.commands.ECADAbstractQuery
- Direct Known Subclasses:
- ECADAssemblyQuery, ECADBoardQuery, ECADSchematicQuery
- public abstract class ECADAbstractQuery
- extends Object
Method Summary |
protected static QuerySpec |
addCommonConditions(QuerySpec querySpec,
Properties attributes)
|
protected static void |
appendJoin(QuerySpec querySpec,
Class queryClass,
String joinCriteria,
Class joinClass,
String attributeName,
String stringValue)
|
protected static void |
appendLink(QuerySpec querySpec,
Class linkClass,
Class targetClass,
String attributeName,
String stringValue)
|
protected static void |
appendUserAttribute(QuerySpec querySpec,
String attrName,
String value)
|
protected static void |
appendUserAttributes(QuerySpec querySpec,
Properties attributes)
|
protected static void |
appendWhere(QuerySpec querySpec,
Class queryClass,
String attributeName,
String stringValue)
|
private static SearchCondition |
generateWhere(AttributeDefDefaultView attrDef,
String value)
|
private static Class |
getAttributeValueClass(AttributeDefDefaultView attrDef)
|
private static boolean |
isUserDefinedAttribute(String attrName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LATEST_REV
protected static final String LATEST_REV
- See Also:
- Constant Field Values
ALL_REVS
protected static final String ALL_REVS
- See Also:
- Constant Field Values
RESERVED_ATTRIBUTES
protected static final String[] RESERVED_ATTRIBUTES
ECADAbstractQuery
public ECADAbstractQuery()
addCommonConditions
protected static QuerySpec addCommonConditions(QuerySpec querySpec,
Properties attributes)
throws WTException
- Throws:
WTException
appendWhere
protected static void appendWhere(QuerySpec querySpec,
Class queryClass,
String attributeName,
String stringValue)
throws WTException
- Throws:
WTException
appendJoin
protected static void appendJoin(QuerySpec querySpec,
Class queryClass,
String joinCriteria,
Class joinClass,
String attributeName,
String stringValue)
throws WTException
- Throws:
WTException
appendLink
protected static void appendLink(QuerySpec querySpec,
Class linkClass,
Class targetClass,
String attributeName,
String stringValue)
throws WTException
- Throws:
WTException
appendUserAttributes
protected static void appendUserAttributes(QuerySpec querySpec,
Properties attributes)
throws WTException
- Throws:
WTException
appendUserAttribute
protected static void appendUserAttribute(QuerySpec querySpec,
String attrName,
String value)
throws WTException
- Throws:
WTException
getAttributeValueClass
private static Class getAttributeValueClass(AttributeDefDefaultView attrDef)
throws WTException
- Throws:
WTException
generateWhere
private static SearchCondition generateWhere(AttributeDefDefaultView attrDef,
String value)
throws WTException
- Throws:
WTException
isUserDefinedAttribute
private static boolean isUserDefinedAttribute(String attrName)