Class ProcessInstanceRepository
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.repository.jpa.AbstractJpaEntityRepository<E>
-
- org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository<ProcessInstanceImpl>
-
- org.silverpeas.core.workflow.engine.instance.ProcessInstanceRepository
-
- All Implemented Interfaces:
EntityRepository<ProcessInstanceImpl>
,WithSaveAndFlush<ProcessInstanceImpl>
@Repository @Singleton public class ProcessInstanceRepository extends BasicJpaEntityRepository<ProcessInstanceImpl>
Created by Nicolas on 05/06/2017.
-
-
Constructor Summary
Constructors Constructor Description ProcessInstanceRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessInstanceImpl
getById(String id)
Gets a persisted entity by its unique identifier.SilverpeasList<ProcessInstanceImpl>
getById(Collection<String> ids)
Gets persisted entities by their ids.-
Methods inherited from class org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository
deleteByComponentInstanceId, saveAndFlush
-
Methods inherited from class org.silverpeas.core.persistence.datasource.repository.jpa.AbstractJpaEntityRepository
contains, countByCriteria, countFromJpqlString, delete, deleteById, deleteFromJpqlQuery, deleteFromNamedQuery, findByCriteria, findByNamedQuery, findFirstByNamedQuery, flush, getAll, getEntityClass, getEntityManager, getFromJpqlString, getFromJpqlString, getFromNamedQuery, getFromNamedQuery, getIdentifierConverter, getMaximumItemsInClause, listFromJpqlString, listFromJpqlString, listFromJpqlString, listFromJpqlString, listFromNamedQuery, listFromNamedQuery, newNamedParameters, noParameter, save, setMaximumItemsInClause, split, streamByNamedQuery, streamByNamedQuery, streamFromJpqlString, streamFromJpqlString, updateFromJpqlQuery, updateFromNamedQuery
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository
delete, deleteById, getById, save, save
-
-
-
-
Method Detail
-
getById
public ProcessInstanceImpl getById(String id)
Description copied from interface:EntityRepository
Gets a persisted entity by its unique identifier.- Specified by:
getById
in interfaceEntityRepository<ProcessInstanceImpl>
- Overrides:
getById
in classAbstractJpaEntityRepository<ProcessInstanceImpl>
- Parameters:
id
- a unique identifier.- Returns:
- the entity with the specified entity identifier or null if no such entity exist in the data source.
-
getById
public SilverpeasList<ProcessInstanceImpl> getById(Collection<String> ids)
Description copied from interface:EntityRepository
Gets persisted entities by their ids.- Specified by:
getById
in interfaceEntityRepository<ProcessInstanceImpl>
- Overrides:
getById
in classAbstractJpaEntityRepository<ProcessInstanceImpl>
- Parameters:
ids
- the unique identifiers of the entity to get.- Returns:
- a list of entities.
-
-