com.ptc.windchill.uwgm.common.query
Class QueryHelper
java.lang.Object
com.ptc.windchill.uwgm.common.query.QueryHelper
- All Implemented Interfaces:
- WTAttributeNameIfc
- public class QueryHelper
- extends Object
- implements WTAttributeNameIfc
QueryHelper specifies persistInfo AttributeDescriptor relative paths
and useful search conditions
Fields inherited from interface wt.util.WTAttributeNameIfc |
CREATE_STAMP_NAME, ID_NAME, LATEST_ITERATION, LINK_REFA, LINK_REFB, MODIFY_STAMP_NAME, OBJECT_IDENTIFIER, OID_CLASSNAME, PERSIST_INFO, REF_CLASSNAME, REF_OBJECT_ID, REF_SUFFIX, ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLE, ROLEA_CLASSNAME, ROLEA_OBJECT_ID, ROLEA_VERSION_ID, ROLEB_CLASSNAME, ROLEB_OBJECT_ID, ROLEB_VERSION_ID, UPDATE_COUNT_NAME, UPDATE_STAMP_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTAINER_ID
public static final String CONTAINER_ID
- See Also:
- Constant Field Values
PRINCIPAL_ID
public static final String PRINCIPAL_ID
- See Also:
- Constant Field Values
MASTER_ID
public static final String MASTER_ID
- See Also:
- Constant Field Values
BRANCH_ID
public static final String BRANCH_ID
- See Also:
- Constant Field Values
MARK_FOR_DELETE
public static final String MARK_FOR_DELETE
- See Also:
- Constant Field Values
LINK_REFA_KEY
public static final String LINK_REFA_KEY
- See Also:
- Constant Field Values
LINK_REFB_KEY
public static final String LINK_REFB_KEY
- See Also:
- Constant Field Values
CHUNK_SIZE
public static int CHUNK_SIZE
isInClauseUseBindOptimization
public static boolean isInClauseUseBindOptimization
log
private static Log log
QueryHelper
public QueryHelper()
getSearchConditionByPrincipal
public static SearchCondition getSearchConditionByPrincipal(Class cl,
WTPrincipal principal)
throws WTException
- Throws:
WTException
getSearchConditionByContainer
public static SearchCondition getSearchConditionByContainer(Class cl,
WTContainer container)
throws WTException
- Throws:
WTException
getSearchConditionByOids
public static SearchCondition getSearchConditionByOids(Class iterCl,
String attr,
long[] ids)
throws WTException
- Throws:
WTException
getSearchConditionByName
public static SearchCondition getSearchConditionByName(Class masterCl,
String attr,
String[] ids)
throws WTException
- Throws:
WTException
getSearchConditionNotInProjects
public static SearchCondition getSearchConditionNotInProjects(Class iterCl,
WTContainer current)
throws WTException
- Throws:
WTException
getSearchConditionNotWorkingCopy
public static SearchCondition getSearchConditionNotWorkingCopy(Class iterCl)
throws WTException
- Throws:
WTException
getSearchConditionNotDeleted
public static SearchCondition getSearchConditionNotDeleted(Class persistableCl)
throws WTException
- Throws:
WTException