|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessQueryLov
A representation of the model object 'Business Query Lov'.
This interface represents a list of values that is based on a query built with business objects. Each value is defined as a result of this query.
You can create BusinessQueryLov
s and also retrieve the query expression and edit it.
In the information design tool, the user builds the query in the query panel. See the Information Design Tool User Guide for more information.
The following features are supported:
Method Summary | |
---|---|
java.util.List<BusinessQueryLovColumn> |
getColumns()
Returns the columns of a BusinessQueryLov object. |
java.lang.String |
getExpression()
Returns the value of the 'Expression' attribute. |
boolean |
isFilterForcedBeforeUse()
Returns the value of the 'Filter Forced Before Use' attribute. |
boolean |
isSearchInDatabaseAllowed()
Returns the value of the 'Search In Database Allowed' attribute. |
void |
setExpression(java.lang.String value)
Sets the value of the ' Expression ' attribute. |
void |
setFilterForcedBeforeUse(boolean value)
Sets the value of the ' Filter Forced Before Use ' attribute. |
void |
setSearchInDatabaseAllowed(boolean value)
Sets the value of the ' Search In Database Allowed ' attribute. |
IStatus |
validateExpression()
Validates the query specification against its XSD and returns a status. |
Methods inherited from interface com.sap.sl.sdk.authoring.datafoundation.Lov |
---|
getDescription, isHidden, setDescription, setHidden |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Identifiable |
---|
getIdentifier |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Nameable |
---|
getName, setName |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Inheritable |
---|
getInheritedData |
Method Detail |
---|
boolean isFilterForcedBeforeUse()
"false"
.
Tells if the user has to enter search criteria before getting filtered values for the list of values. Only the values that match the search criteria are returned in the list of values. Characters used to define the matching criteria are the following:
setFilterForcedBeforeUse(boolean)
void setFilterForcedBeforeUse(boolean value)
Filter Forced Before Use
' attribute.
The user has to enter search criteria before getting filtered values for the list of values, if value
is true
.
Only the values that match the search criteria are returned in the list of values.
Characters used to define the matching criteria are the following:
Note: When the business layer is saved, if setFilterForcedBeforeUse(true)
, then setSearchInDatabaseAllowed(true)
is applied automatically.
value
- the new value of the 'Filter Forced Before Use' attribute.isFilterForcedBeforeUse()
boolean isSearchInDatabaseAllowed()
"false"
.
Tells if the user is able to search for a value of the list of values in the database.
setSearchInDatabaseAllowed(boolean)
void setSearchInDatabaseAllowed(boolean value)
Search In Database Allowed
' attribute.
The user is able to search for a value of the list of values in the database, if value
is true
.
value
- the new value of the 'Search In Database Allowed' attribute.isSearchInDatabaseAllowed()
java.lang.String getExpression()
The query is a query specification in XML format.
setExpression(String)
void setExpression(java.lang.String value)
Expression
' attribute.
The query is a query specification in XML format.
value
- the new value of the 'Expression' attribute.getExpression()
IStatus validateExpression()
setExpression(String)
,
getExpression()
java.util.List<BusinessQueryLovColumn> getColumns()
BusinessQueryLov
object.
The list of BusinessQueryLovColumn
objects is computed from the query.
This list cannot be changed directly.
A BusinessQueryLovColumn
corresponds to a result object in the query.
BusinessQueryLovColumn
objects
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |