Package | Description |
---|---|
org.nuclos.api.businessobject | |
org.nuclos.api.businessobject.attribute | |
org.nuclos.api.provider | |
org.nuclos.api.service |
Modifier and Type | Field and Description |
---|---|
(package private) Attribute<T> |
SearchExpression.source |
(package private) Attribute<T> |
SearchExpression.target |
Modifier and Type | Method and Description |
---|---|
Attribute<T> |
SearchExpression.getSource()
returns the Source
|
Attribute<T> |
SearchExpression.getTarget()
returns the Target
|
Modifier and Type | Method and Description |
---|---|
Query<T> |
Query.and(Attribute element,
java.lang.Boolean ascending) |
Query<T> |
Query.orderBy(Attribute element,
java.lang.Boolean ascending)
Use this method to set the Map of element that must be considered for ordering
Attach for each field a Boolean.TRUE for ascending a boolean.FALSE for descending ordering
|
Constructor and Description |
---|
SearchExpression(Attribute<T> pSource,
Attribute<T> pTarget,
QueryOperation pOperator)
This Constructor is used when there are two attributes to compare
|
SearchExpression(Attribute<T> pSource,
Attribute<T> pTarget,
QueryOperation pOperator)
This Constructor is used when there are two attributes to compare
|
SearchExpression(Attribute<T> pSource,
QueryOperation pOperator)
This Constructor is used when a attributes is checkd on Null or notNull
|
SearchExpression(Attribute<T> pSource,
T pValue,
QueryOperation pOperator)
This Constructor is used when a attributes is compared to a given value with a given operator
|
Modifier and Type | Class and Description |
---|---|
class |
ForeignKeyAttribute<T>
ForeignKeyAttribute is used if the attribute references to an other entity. |
class |
NumericAttribute<T>
NumericAttribute is used if the attribute type provides general numeric comparison operations |
class |
PrimaryKeyAttribute<T>
PrimaryKeyAttribute is the id of an object |
class |
StringAttribute<T>
StringAttribute is used if the attribute type provides comparison operations based on Strings |
Modifier and Type | Method and Description |
---|---|
static <PK,T extends BusinessObject<PK>> |
QueryProvider.execute(Query<T> query,
Attribute<?>... attributes)
This methods executes a
Query and returns a list of found BusinessObject of the type
determined by the Query type. |
static <PK,T extends BusinessObject<PK>> |
QueryProvider.executeSingleResult(Query<T> query,
Attribute<?>... attributes)
This methods executes a
Query and returns a single result BusinessObject of the type
determined by the Query type. |
static <PK,T extends BusinessObject<PK>> |
QueryProvider.getById(java.lang.Class<T> type,
PK id,
Attribute<?>... attributes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<PK,T extends BusinessObject<PK>> |
QueryService.executeQuery(Query<T> query,
Attribute<?>... attributes) |
<PK,T extends BusinessObject<PK>> |
QueryService.executeQuerySingleResult(Query<T> query,
Attribute<?>... attributes) |
<PK,T extends BusinessObject<PK>> |
QueryService.getById(java.lang.Class<T> classtype,
PK Id,
Attribute<?>... attributes) |
Copyright © 2024. All rights reserved.