com.mycompany.util
Interface Queries


public interface Queries

Constant interface for named JPA queries.

Author:
Ian Hlavats (ian@tarantulaconsulting.com)

Field Summary
static java.lang.String CITY_FIND_BY_NAME_AND_PROVINCE_STATE
          Finds a City by name and ProvinceState.
static java.lang.String CONTENT_FIND_BY_NAME
          Finds a Content by name.
static java.lang.String COUNTRY_FIND_ALL
          Finds all Country objects.
static java.lang.String COUNTRY_FIND_BY_CODE
          Finds a Country by code.
static java.lang.String EVENT_ATTENDANCE_FIND_BY_USER
          Finds all EventAttendance for a particular User.
static java.lang.String EVENT_ATTENDANCE_FIND_BY_USER_AND_EVENT
          Finds a List of EventAttendance for a particular User and Event.
static java.lang.String EVENT_ATTENDANCE_FIND_GENDER_COUNT_BY_EVENT
          Find a count of all EventAttendance objects by Gender.
static java.lang.String EVENT_FIND_ALL
          Find all Event objects.
static java.lang.String USER_FIND_BY_PARTIAL_NAME
          Finds a User by partial name.
static java.lang.String USER_FIND_BY_RELATIONSHIP_TYPE
          Finds a List of User objects by RelationshipType to another User.
static java.lang.String USER_FIND_BY_USERNAME_PASSWORD
          Finds a User by username and password.
 

Field Detail

CITY_FIND_BY_NAME_AND_PROVINCE_STATE

static final java.lang.String CITY_FIND_BY_NAME_AND_PROVINCE_STATE
Finds a City by name and ProvinceState.

See Also:
Constant Field Values

CONTENT_FIND_BY_NAME

static final java.lang.String CONTENT_FIND_BY_NAME
Finds a Content by name.

See Also:
Constant Field Values

COUNTRY_FIND_ALL

static final java.lang.String COUNTRY_FIND_ALL
Finds all Country objects.

See Also:
Constant Field Values

COUNTRY_FIND_BY_CODE

static final java.lang.String COUNTRY_FIND_BY_CODE
Finds a Country by code.

See Also:
Constant Field Values

EVENT_ATTENDANCE_FIND_BY_USER

static final java.lang.String EVENT_ATTENDANCE_FIND_BY_USER
Finds all EventAttendance for a particular User.

See Also:
Constant Field Values

EVENT_ATTENDANCE_FIND_BY_USER_AND_EVENT

static final java.lang.String EVENT_ATTENDANCE_FIND_BY_USER_AND_EVENT
Finds a List of EventAttendance for a particular User and Event.

See Also:
Constant Field Values

EVENT_ATTENDANCE_FIND_GENDER_COUNT_BY_EVENT

static final java.lang.String EVENT_ATTENDANCE_FIND_GENDER_COUNT_BY_EVENT
Find a count of all EventAttendance objects by Gender.

See Also:
Constant Field Values

EVENT_FIND_ALL

static final java.lang.String EVENT_FIND_ALL
Find all Event objects.

See Also:
Constant Field Values

USER_FIND_BY_PARTIAL_NAME

static final java.lang.String USER_FIND_BY_PARTIAL_NAME
Finds a User by partial name.

See Also:
Constant Field Values

USER_FIND_BY_RELATIONSHIP_TYPE

static final java.lang.String USER_FIND_BY_RELATIONSHIP_TYPE
Finds a List of User objects by RelationshipType to another User.

See Also:
Constant Field Values

USER_FIND_BY_USERNAME_PASSWORD

static final java.lang.String USER_FIND_BY_USERNAME_PASSWORD
Finds a User by username and password.

See Also:
Constant Field Values