public interface ModelQuery extends Query<ModelQuery,Model>
Model
s.Modifier and Type | Method and Description |
---|---|
ModelQuery |
deployed()
Only select models that are deployed (ie deploymentId != null)
|
ModelQuery |
deploymentId(String deploymentId)
Only select models that are the source for the provided deployment
|
ModelQuery |
latestVersion()
Only select models which has the highest version.
|
ModelQuery |
modelCategory(String modelCategory)
Only select models with the given category.
|
ModelQuery |
modelCategoryLike(String modelCategoryLike)
Only select models where the category matches the given parameter.
|
ModelQuery |
modelCategoryNotEquals(String categoryNotEquals)
Only select models that have a different category then the given one.
|
ModelQuery |
modelId(String modelId)
Only select model with the given id.
|
ModelQuery |
modelKey(String key)
Only selects models with the given key.
|
ModelQuery |
modelName(String modelName)
Only select models with the given name.
|
ModelQuery |
modelNameLike(String modelNameLike)
Only select models where the name matches the given parameter.
|
ModelQuery |
modelTenantId(String tenantId)
Only select models that have the given tenant id.
|
ModelQuery |
modelTenantIdLike(String tenantIdLike)
Only select models with a tenant id like the given one.
|
ModelQuery |
modelVersion(Integer modelVersion)
Only select model with a certain version.
|
ModelQuery |
modelWithoutTenantId()
Only select models that do not have a tenant id.
|
ModelQuery |
notDeployed()
Only select models that are not yet deployed
|
ModelQuery |
orderByCreateTime()
Order by the creation time of the models (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery |
orderByLastUpdateTime()
Order by the last update time of the models (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery |
orderByModelCategory()
Order by the category of the models (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery |
orderByModelId()
Order by the id of the models (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery |
orderByModelKey()
Order by the key of the models (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery |
orderByModelName()
Order by the name of the models (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery |
orderByModelVersion()
Order by the version of the models (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
ModelQuery modelId(String modelId)
ModelQuery modelCategory(String modelCategory)
ModelQuery modelCategoryLike(String modelCategoryLike)
ModelQuery modelCategoryNotEquals(String categoryNotEquals)
ModelQuery modelName(String modelName)
ModelQuery modelNameLike(String modelNameLike)
ModelQuery modelKey(String key)
ModelQuery modelVersion(Integer modelVersion)
ModelQuery latestVersion()
ModelQuery deploymentId(String deploymentId)
ModelQuery deployed()
ModelQuery notDeployed()
ModelQuery modelTenantId(String tenantId)
ModelQuery modelTenantIdLike(String tenantIdLike)
ModelQuery modelWithoutTenantId()
ModelQuery orderByModelCategory()
Query.asc()
or Query.desc()
).ModelQuery orderByModelId()
Query.asc()
or Query.desc()
).ModelQuery orderByModelKey()
Query.asc()
or Query.desc()
).ModelQuery orderByModelVersion()
Query.asc()
or Query.desc()
).ModelQuery orderByModelName()
Query.asc()
or Query.desc()
).ModelQuery orderByCreateTime()
Query.asc()
or Query.desc()
).ModelQuery orderByLastUpdateTime()
Query.asc()
or Query.desc()
).ModelQuery orderByTenantId()
Query.asc()
or Query.desc()
).Copyright © 2017 Alfresco. All rights reserved.