|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.adapter.bean.jpa.JPQLUtils
public class JPQLUtils
Constructor Summary | |
---|---|
JPQLUtils() |
Method Summary | |
---|---|
static java.lang.String |
getFilter(java.lang.Class clz, java.lang.String alias, SearchCriteria criteria) A common utility method that can convert the criteria into JPQL clause. |
static java.lang.String |
getFormatedValue(java.lang.String type, java.lang.String value) |
static java.lang.String |
getOperator(java.lang.String type) Get the name of the associated operator. |
static java.lang.String |
getOrderBy(java.lang.Class clz, java.lang.String alias, SortCriteria criteria) A common utility method that can convert the criteria into JPQL clause. |
static boolean |
isCharType(java.lang.String type) Return true if java.sql is type of char |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JPQLUtils()
Method Detail |
---|
public static java.lang.String getFilter(java.lang.Class clz, java.lang.String alias, SearchCriteria criteria)
clz
- An Class
JPA entity classalias
- String
alias namecriteria
- A SearchCriteria
is the criteria that needs to be converted into a JPQL clausepublic static java.lang.String getFormatedValue(java.lang.String type, java.lang.String value)
public static boolean isCharType(java.lang.String type)
public static java.lang.String getOperator(java.lang.String type)
type
- ADF operator name.public static java.lang.String getOrderBy(java.lang.Class clz, java.lang.String alias, SortCriteria criteria)
clz
- An Class
JPA entity classalias
- String
alias namecriteria
- A SortCriteria
is the criteria that needs to be converted into a JPQL clause
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |