public class DataQuery extends Query
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
public static final FilterVerifier FILTER_VERIFYER
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.DataTypeConstantspublic 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,
DocumentTypeUtilspublic static DataQuery findUsedInProcessHavingDocumentWithoutDocType(long modelOid, String processId)
modelOid - The model to retrieve the data from.processId - The process to search used data for.Copyright © 2016 Eclipse Stardust. All Rights Reserved.