public class HQLQueryTranslater extends Object
Constructor and Description |
---|
HQLQueryTranslater() |
protected static final String HQL_USER_NAME
protected static final String HQL_USER_EMAIL_ADDRESS
protected static final String HQL_USER_FIRST_NAME
protected static final String HQL_USER_LAST_NAME
protected static final String HQL_USER_DISPLAY_NAME
protected static final String HQL_USER_ACTIVE
protected static final String HQL_CREATED_DATE
protected static final String HQL_UPDATED_DATE
protected static final String HQL_GROUP_NAME
protected static final String HQL_GROUP_ACTIVE
protected static final String HQL_GROUP_TYPE
protected static final String HQL_GROUP_LOCAL
protected static final String HQL_TOKEN_NAME
protected static final String HQL_TOKEN_LAST_ACCESSED_TIME
protected static final String HQL_TOKEN_DIRECTORY_ID
protected static final String HQL_TOKEN_RANDOM_NUMBER
protected static final String HQL_DIRECTORY_NAME
protected static final String HQL_DIRECTORY_ACTIVE
protected static final String HQL_DIRECTORY_TYPE
protected static final String HQL_DIRECTORY_IMPLEMENTATION_CLASS
protected static final String HQL_APPLICATION_NAME
protected static final String HQL_APPLICATION_ACTIVE
protected static final String HQL_APPLICATION_TYPE
protected static final String HQL_ALIAS_NAME
protected static final String HQL_ALIAS_APPLICATION_ID
protected static final String HQL_ALIAS_USERNAME
protected static final String HQL_ATTRIBUTE_NAME
protected static final String HQL_ATTRIBUTE_VALUE
protected static final String HQL_ATTRIBUTE_ALIAS
protected static final String HQL_DIRECTORY_ID
protected static final String HQL_MEMBERSHIP_ALIAS
protected static final String HQL_MEMBERSHIP_TYPE
protected static final String HQL_MEMBERSHIP_GROUP_TYPE
public HQLQuery asHQL(long directoryID, MembershipQuery query)
protected HQLQuery membershipNamesQueryAsHQL(long directoryID, MembershipQuery query)
protected HQLQuery membershipEntityQueryAsHQL(long directoryID, MembershipQuery query)
public HQLQuery asHQL(EntityQuery entityQuery)
public HQLQuery asHQL(long directoryID, EntityQuery entityQuery)
protected void appendQueryAsHQL(EntityQuery query, HQLQuery hql)
protected void appendPropertyRestrictionAsHQL(HQLQuery hql, Entity entityType, SearchRestriction restriction)
protected void appendIsNullTermRestrictionAsHSQL(HQLQuery hql, Entity entityType, PropertyRestriction<?> restriction)
protected void appendDateTermRestriction(HQLQuery hql, Entity entityType, PropertyRestriction<? extends Date> restriction)
protected void appendBooleanTermRestrictionAsHQL(HQLQuery hql, Entity entityType, PropertyRestriction<Boolean> restriction)
protected void appendEnumTermRestrictionAsHQL(HQLQuery hql, Entity entityType, PropertyRestriction<Enum> restriction)
protected void appendMultiTermRestrictionAsHQL(HQLQuery hql, Entity entityType, BooleanRestriction booleanRestriction)
protected void appendStringTermRestrictionAsHQL(HQLQuery hql, Entity entityType, PropertyRestriction<String> restriction)
protected void appendEntityPropertyAsHQL(HQLQuery hql, Entity entityType, PropertyRestriction restriction)
protected void appendDirectoryPropertyAsHQL(HQLQuery hql, PropertyRestriction restriction)
protected void appendTokenPropertyAsHQL(HQLQuery hql, PropertyRestriction restriction)
protected void appendGroupTypeRestrictionAsHQL(HQLQuery hql, GroupType groupType)
protected void appendGroupPropertyAsHQL(HQLQuery hql, PropertyRestriction restriction)
protected void appendUserPropertyAsHQL(HQLQuery hql, PropertyRestriction restriction)
protected void appendStringValueAsHQL(HQLQuery hql, PropertyRestriction<String> restriction)
protected void appendComparableValueAsHQL(HQLQuery hql, PropertyRestriction restriction)
Copyright © 2013 Atlassian. All Rights Reserved.