public class GenericlinkQueryHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
maintablealiasforgetallforgenericid |
Constructor and Description |
---|
GenericlinkQueryHelper(java.lang.String name)
generates a query helper for the generic link of the given name
|
Modifier and Type | Method and Description |
---|---|
static GenericlinkQueryHelper |
get(java.lang.String name)
gets the query helper for the provided property name
|
<E extends DataObject<E>> |
getallforgenericid(DataObjectId<?> genericobjectid,
QueryFilter additionalcondition,
DataObjectDefinition<E> parentdefinition,
GenericlinkDefinition<E> genericlinkforworkflowobjectDefinition)
gets all the objects that have the provided generic object id.
|
<E extends DataObject<E>> |
getGenericIdQueryCondition(TableAlias alias,
DataObjectId<?> genericidvalue,
DataObjectDefinition<E> parentdefinition)
generates a condition to filter a data object based on a generic id
|
public static java.lang.String maintablealiasforgetallforgenericid
public GenericlinkQueryHelper(java.lang.String name)
name
- generic link property namepublic static GenericlinkQueryHelper get(java.lang.String name)
name
- generic link property namepublic <E extends DataObject<E>> QueryCondition getGenericIdQueryCondition(TableAlias alias, DataObjectId<?> genericidvalue, DataObjectDefinition<E> parentdefinition)
alias
- alias of the table of the object having the generic
link propertygenericidvalue
- data object id of the data object the generic link is
pointing toparentdefinition
- definition of the data object holding the generic
linkpublic <E extends DataObject<E>> E[] getallforgenericid(DataObjectId<?> genericobjectid, QueryFilter additionalcondition, DataObjectDefinition<E> parentdefinition, GenericlinkDefinition<E> genericlinkforworkflowobjectDefinition)
genericobjectid
- generic object data object idadditionalcondition
- additional conditionparentdefinition
- definition of the parent data
object holding the generic linkgenericlinkforworkflowobjectDefinition
- definition of the generic link
property