|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Select
Method Summary | |
---|---|
void |
add(de.espirit.or.query.FetchMode mode)
|
void |
add(de.espirit.or.query.Order order)
|
void |
add(de.espirit.or.query.Parameter parameter)
|
Select |
applyLanguage(String languageAbbreviation)
Make a clone of this select and replace all place holders %lang% contained in
constaints with the given languageAbbreviation |
void |
clearOrdering()
|
Select |
clone()
Return a deep copy of this select |
boolean |
containsParameter(String identifier)
|
de.espirit.or.query.Constraint |
getConstraint()
Return the constraint defined by this select. |
String |
getEntityTypeName()
Return the name of the entity type which entities in the result set belong to. |
List<de.espirit.or.query.FetchMode> |
getFetchModes()
|
int |
getFetchSize()
Return the fetch size which will applied to the JDBC ResultSet to retrieve data from the database. |
int |
getMaxResultCount()
The maximum number of entities this select will return. |
List<de.espirit.or.query.Order> |
getOrders()
|
de.espirit.or.query.Parameter |
getParameter(String identifier)
Return the parameter with the given identifier . |
Collection<de.espirit.or.query.Parameter> |
getParameters()
Return all parameters defined by this select. |
Object |
getParameterValue(String identifier)
|
long |
getQueryTime()
|
String |
getXML()
|
boolean |
isDeprecated()
Return true if this select is constructed from a 3.1 query document. |
boolean |
isOrdered(String attributeName)
Return true if an order of the attribute attributeName is already defined in this select. |
void |
resetQueryTime()
|
void |
setConstraint(de.espirit.or.query.Constraint constraint)
Set the select constraint to constraint . |
void |
setDeprecated(boolean flag)
Set this select to deprecated or not. |
void |
setFetchSize(int size)
|
void |
setMaxResultCount(int maxResultCount)
Set the maximum number of entities this select will return. |
void |
setParameter(String identifier,
Object value)
|
void |
setQueryTime(long time)
|
Method Detail |
---|
boolean isDeprecated()
void setDeprecated(boolean flag)
String getEntityTypeName()
void setConstraint(de.espirit.or.query.Constraint constraint) throws de.espirit.or.ORException
constraint
.
de.espirit.or.ORException
de.espirit.or.query.Constraint getConstraint()
de.espirit.or.query.Parameter getParameter(@NotNull String identifier) throws de.espirit.or.ORException
identifier
.
de.espirit.or.ORException
Collection<de.espirit.or.query.Parameter> getParameters()
void add(@NotNull de.espirit.or.query.Parameter parameter)
void add(@NotNull de.espirit.or.query.FetchMode mode)
List<de.espirit.or.query.FetchMode> getFetchModes()
Object getParameterValue(@NotNull String identifier)
void setParameter(@NotNull String identifier, Object value) throws de.espirit.or.ORException
de.espirit.or.ORException
@NotNull List<de.espirit.or.query.Order> getOrders()
boolean isOrdered(@NotNull String attributeName)
attributeName
is already defined in this select.
void add(@NotNull de.espirit.or.query.Order order)
long getQueryTime()
void setQueryTime(long time)
void resetQueryTime()
void setFetchSize(int size)
int getFetchSize()
String getXML()
void clearOrdering()
boolean containsParameter(@NotNull String identifier)
Select clone()
int getMaxResultCount()
0
means no restriction (default).
Select.setMaxResultCount(int)
void setMaxResultCount(int maxResultCount)
0
means no restriction
(default).
Select.getMaxResultCount()
Select applyLanguage(@NotNull String languageAbbreviation)
%lang%
contained in
constaints with the given languageAbbreviation
languageAbbreviation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |