|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.api.query.Query
org.eclipse.stardust.engine.api.query.DataQuery
public class DataQuery
Query container for building complex queries for data.
| Field Summary | |
|---|---|
static FilterableAttribute |
DATA_TYPE_ID
Attribute to filter for a specific data type. |
static FilterableAttribute |
DECLARED_TYPE_ID
Attribute to filter for dms data having a specific declared type id assigned. |
static FilterVerifier |
FILTER_VERIFYER
|
static FilterableAttribute |
MODEL_OID
Attribute to filter for a specific model. |
static FilterableAttribute |
PROCESS_ID
Attribute to filter for the process id. |
| Method Summary | |
|---|---|
static DataQuery |
findAll()
Creates a query for finding all data. |
static DataQuery |
findAllForModel(long modelOid)
Creates a query for finding all data used in the specified model. |
static DataQuery |
findUsedInProcess(long modelOid,
String processId)
Creates a query for finding all data used in a specified model and process. |
static DataQuery |
findUsedInProcessHavingDataType(long modelOid,
String processId,
String dataTypeId)
Creates a query for finding data of a specified type (see DataTypeConstants) used in a specified model and process. |
static DataQuery |
findUsedInProcessHavingDocumentWithDocType(long modelOid,
String processId,
DocumentType documentType)
Creates a query for finding document data used in a specified process having the specified DocumentType assigned. |
static DataQuery |
findUsedInProcessHavingDocumentWithoutDocType(long modelOid,
String processId)
Creates a query for finding document data used in a specified process having no document type assigned. |
| Methods inherited from class org.eclipse.stardust.engine.api.query.Query |
|---|
getFilter, getOrderCriteria, getPolicy, orderBy, orderBy, orderBy, removePolicy, setPolicy, toString, where |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final FilterableAttribute PROCESS_ID
public static final FilterableAttribute DATA_TYPE_ID
DataTypeConstants.
public static final FilterableAttribute DECLARED_TYPE_ID
This is only valid for dms types as document, document list, folder or folder list.
public static final FilterableAttribute MODEL_OID
findAllForModel(long),
findUsedInProcess(long, String)public static final FilterVerifier FILTER_VERIFYER
| Method Detail |
|---|
public static DataQuery findAll()
public static DataQuery findAllForModel(long modelOid)
modelOid - The model to retrieve the data from.
public static DataQuery findUsedInProcess(long modelOid,
String processId)
modelOid - The model to retrieve the data from.processId - The process to search used data for.
public static DataQuery findUsedInProcessHavingDataType(long modelOid,
String processId,
String dataTypeId)
DataTypeConstants) used in a specified model and process.
modelOid - The model to retrieve the data from.processId - The process to search used data for.dataTypeId - The data type from DataTypeConstants.
DataTypeConstants
public static DataQuery findUsedInProcessHavingDocumentWithDocType(long modelOid,
String processId,
DocumentType documentType)
DocumentType assigned.
modelOid - The model to retrieve the data from.processId - The process to search used data for.documentType - The document type to search used data for.
DocumentType,
DocumentTypeUtils
public static DataQuery findUsedInProcessHavingDocumentWithoutDocType(long modelOid,
String processId)
modelOid - The model to retrieve the data from.processId - The process to search used data for.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||