public interface ModelInstanceDao extends com.whitestein.lsps.common.BasicDao<ModelInstanceEntity,Long>
ModelInstanceEntity
.Modifier and Type | Method and Description |
---|---|
long |
countNotFinishedModelInstances(long moduleId)
Counts unfinished model instances for a module.
|
QueryResult<ModelInstanceEntity> |
findByCriteria(ModelInstanceCriteria criteria)
Returns process instances according to the given criteria.
|
List<ModelInstanceEntity> |
findFormPreviewModelInstances()
Returns all model instances created by form preview.
|
List<Long> |
findModelInstanceIdsByNotifications(Collection<String> notifications)
Returns all model instances which have at least one of the given notifications.
|
QueryResult<ModelInstanceEntity> findByCriteria(ModelInstanceCriteria criteria)
criteria
- NullPointerException
- if criteria
is nullList<Long> findModelInstanceIdsByNotifications(Collection<String> notifications)
notifications
- List<ModelInstanceEntity> findFormPreviewModelInstances()
long countNotFinishedModelInstances(long moduleId)
moduleId
- the module identifierCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.