Package | Description |
---|---|
com.xpert.core.crud | |
com.xpert.core.validation | |
com.xpert.faces.bean | |
com.xpert.faces.primefaces | |
com.xpert.persistence.dao | |
com.xpert.persistence.query |
Modifier and Type | Method and Description |
---|---|
List<Restriction> |
AbstractBaseBean.getDataModelRestrictions() |
Modifier and Type | Method and Description |
---|---|
UniqueFields |
UniqueFields.add(Restriction restriction,
String... fields) |
Constructor and Description |
---|
UniqueField(Restriction restriction,
String... constraints) |
UniqueFields(Restriction restriction,
String... fields) |
Modifier and Type | Method and Description |
---|---|
List<Restriction> |
ClassModel.getRestrictions() |
Modifier and Type | Method and Description |
---|---|
void |
ClassModel.setRestrictions(List<Restriction> restrictions) |
Constructor and Description |
---|
ClassModel(String itemLabel,
Restriction restriction,
String order) |
Constructor and Description |
---|
ClassModel(String itemLabel,
List<Restriction> restrictions,
String order) |
Modifier and Type | Method and Description |
---|---|
List<Restriction> |
LazyDataModelImpl.getQueryRestrictions() |
List<Restriction> |
LazyDataModelImpl.getRestrictions()
Restrictions to be added in Query
|
List<Restriction> |
LazyDataModelImpl.getRestrictionsFromFilterMap(Map filters) |
Modifier and Type | Method and Description |
---|---|
void |
LazyDataModelImpl.setQueryRestrictions(List<Restriction> queryRestrictions) |
void |
LazyDataModelImpl.setRestrictions(List<Restriction> restrictions) |
Constructor and Description |
---|
LazyDataModelImpl(String defaultOrder,
Restriction restriction,
BaseDAO<T> dao) |
LazyDataModelImpl(String defaultOrder,
Restriction restriction,
BaseDAO<T> dao,
JoinBuilder joinBuilder) |
LazyDataModelImpl(String attributes,
String defaultOrder,
Restriction restriction,
BaseDAO<T> dao) |
Constructor and Description |
---|
LazyDataModelImpl(String defaultOrder,
List<Restriction> restrictions,
BaseDAO<T> dao) |
LazyDataModelImpl(String defaultOrder,
List<Restriction> restrictions,
BaseDAO<T> dao,
JoinBuilder joinBuilder) |
LazyDataModelImpl(String attributes,
String defaultOrder,
List<Restriction> restrictions,
BaseDAO<T> dao) |
Modifier and Type | Method and Description |
---|---|
Long |
BaseDAOImpl.count(Restriction restriction) |
Long |
BaseDAO.count(Restriction restriction) |
List<T> |
BaseDAOImpl.list(Class clazz,
Restriction restriction) |
List<T> |
BaseDAO.list(Class clazz,
Restriction restriction) |
List<T> |
BaseDAOImpl.list(Class clazz,
Restriction restriction,
String order) |
List<T> |
BaseDAO.list(Class clazz,
Restriction restriction,
String order) |
List<T> |
BaseDAOImpl.list(Class clazz,
Restriction restriction,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAO.list(Class clazz,
Restriction restriction,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAOImpl.list(Class clazz,
Restriction restriction,
String order,
Integer firstResult,
Integer maxResults,
String attributes) |
List<T> |
BaseDAO.list(Class clazz,
Restriction restriction,
String order,
Integer firstResult,
Integer maxResults,
String attributes) |
List<T> |
BaseDAOImpl.list(Restriction restriction) |
List<T> |
BaseDAO.list(Restriction restriction) |
List<T> |
BaseDAOImpl.list(Restriction restriction,
String order) |
List<T> |
BaseDAO.list(Restriction restriction,
String order) |
List<T> |
BaseDAOImpl.list(Restriction restriction,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAO.list(Restriction restrictions,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAOImpl.listAttributes(Restriction restriction,
String attributes) |
List<T> |
BaseDAO.listAttributes(Restriction restriction,
String attributes) |
List<T> |
BaseDAOImpl.listAttributes(Restriction restriction,
String attributes,
String order) |
List<T> |
BaseDAO.listAttributes(Restriction restriction,
String attributes,
String order) |
T |
BaseDAOImpl.unique(Restriction restriction) |
T |
BaseDAO.unique(Restriction restriction) |
T |
BaseDAOImpl.unique(Restriction restrictions,
Class clazz) |
T |
BaseDAO.unique(Restriction restriction,
Class clazz) |
Modifier and Type | Method and Description |
---|---|
Long |
BaseDAOImpl.count(List<Restriction> restrictions) |
Long |
BaseDAO.count(List<Restriction> restrictions) |
List<T> |
BaseDAOImpl.list(Class clazz,
List<Restriction> restrictions) |
List<T> |
BaseDAO.list(Class clazz,
List<Restriction> restrictions) |
List<T> |
BaseDAOImpl.list(Class clazz,
List<Restriction> restrictions,
String order) |
List<T> |
BaseDAO.list(Class clazz,
List<Restriction> restrictions,
String order) |
List<T> |
BaseDAOImpl.list(Class clazz,
List<Restriction> restrictions,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAO.list(Class clazz,
List<Restriction> restrictions,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAOImpl.list(Class clazz,
List<Restriction> restrictions,
String order,
Integer firstResult,
Integer maxResults,
String attributes) |
List<T> |
BaseDAO.list(Class clazz,
List<Restriction> restrictions,
String order,
Integer firstResult,
Integer maxResults,
String attributes) |
List<T> |
BaseDAOImpl.list(List<Restriction> restrictions) |
List<T> |
BaseDAO.list(List<Restriction> restrictions) |
List<T> |
BaseDAOImpl.list(List<Restriction> restrictions,
String order) |
List<T> |
BaseDAO.list(List<Restriction> restrictions,
String order) |
List<T> |
BaseDAOImpl.list(List<Restriction> restrictions,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAO.list(List<Restriction> restrictions,
String order,
Integer firstResult,
Integer maxResults) |
List<T> |
BaseDAOImpl.listAttributes(List<Restriction> restrictions,
String attributes) |
List<T> |
BaseDAO.listAttributes(List<Restriction> restrictions,
String attributes) |
List<T> |
BaseDAOImpl.listAttributes(List<Restriction> restrictions,
String attributes,
String order) |
List<T> |
BaseDAO.listAttributes(List<Restriction> restrictions,
String attributes,
String order) |
T |
BaseDAOImpl.unique(List<Restriction> restrictions) |
T |
BaseDAO.unique(List<Restriction> restrictions)
Returns a unique object from query
|
T |
BaseDAOImpl.unique(List<Restriction> restrictions,
Class clazz) |
T |
BaseDAO.unique(List<Restriction> restrictions,
Class clazz) |
Modifier and Type | Method and Description |
---|---|
static Restriction |
Restriction.equals(String property,
Calendar value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type EQUALS
|
static Restriction |
Restriction.equals(String property,
Date value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type EQUALS
|
static Restriction |
Restriction.equals(String property,
Object value)
Creates a Restrition of type EQUALS
|
static Restriction |
Restriction.greaterEqualsThan(String property,
Calendar value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type GREATER_EQUALS_THAN
|
static Restriction |
Restriction.greaterEqualsThan(String property,
Date value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type GREATER_EQUAS_THAN
|
static Restriction |
Restriction.greaterEqualsThan(String property,
Object value)
Creates a Restrition of type GREATER_EQUALS_THHAN
|
static Restriction |
Restriction.greaterThan(String property,
Calendar value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type GREATER_THAN
|
static Restriction |
Restriction.greaterThan(String property,
Date value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type GREATER_THAN
|
static Restriction |
Restriction.greaterThan(String property,
Object value)
Creates a Restrition of type GREATER_THAN
|
static Restriction |
Restriction.in(String property,
Object value)
Creates a Restrition of type IN
|
static Restriction |
Restriction.isNotNull(String property)
Creates a Restrition of type NOT_NULL
|
static Restriction |
Restriction.isNull(String property)
Creates a Restrition of type NULL
|
static Restriction |
Restriction.lessEqualsThan(String property,
Calendar value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type LESS_EQUALS_THAN
|
static Restriction |
Restriction.lessEqualsThan(String property,
Date value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type LESS_EQUALS_THAN
|
static Restriction |
Restriction.lessEqualsThan(String property,
Object value)
Creates a Restrition of type LESS_EQUAS_THAN
|
static Restriction |
Restriction.lessThan(String property,
Calendar value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type LESS_THAN
|
static Restriction |
Restriction.lessThan(String property,
Date value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type LESS_THAN
|
static Restriction |
Restriction.lessThan(String property,
Object value)
Creates a Restrition of type LESS_THAN
|
static Restriction |
Restriction.like(String property,
Object value)
Creates a Restrition of type LIKE
|
static Restriction |
Restriction.like(String property,
Object value,
boolean ilike)
Creates a Restrition of type LIKE
|
static Restriction |
Restriction.like(String property,
Object value,
LikeType likeType)
Creates a Restrition of type LIKE
|
static Restriction |
Restriction.like(String property,
Object value,
LikeType likeType,
boolean ilike)
Creates a Restrition of type LIKE
|
static Restriction |
Restriction.notEquals(String property,
Calendar value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type NOT_EQUALS
|
static Restriction |
Restriction.notEquals(String property,
Date value,
javax.persistence.TemporalType temporalType)
Creates a Restrition of type NOT_EQUALS
|
static Restriction |
Restriction.notEquals(String property,
Object value)
Creates a Restrition of type NOT_EQUALS
|
static Restriction |
Restriction.notIn(String property,
Object value)
Creates a Restrition of type NOT_IN
|
static Restriction |
Restriction.notLike(String property,
Object value)
Creates a Restrition of type NOT_LIKE
|
static Restriction |
Restriction.notLike(String property,
Object value,
boolean ilike)
Creates a Restrition of type NOT_LIKE
|
static Restriction |
Restriction.notLike(String property,
Object value,
LikeType likeType)
Creates a Restrition of type NOT_LIKE
|
static Restriction |
Restriction.notLike(String property,
Object value,
LikeType likeType,
boolean ilike)
Creates a Restrition of type NOT_LIKE
|
Modifier and Type | Method and Description |
---|---|
List<Restriction> |
QueryBuilder.getNormalizedRestrictions() |
static List<Restriction> |
RestrictionsNormalizer.getNormalizedRestrictions(Class from,
List<Restriction> restrictions,
String alias) |
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
QueryBuilder.add(Restriction restriction)
Add a restriction
|
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
QueryBuilder.add(List<Restriction> restrictions)
Add a restriction list
|
static List<Restriction> |
RestrictionsNormalizer.getNormalizedRestrictions(Class from,
List<Restriction> restrictions,
String alias) |
static String |
QueryBuilder.getQueryStringFromRestrictions(List<Restriction> restrictions) |
Copyright © 2015. All rights reserved.