public abstract class AbstractCrudServiceEnvers extends AbstractCrudService implements Auditing
CrudReadService.SORTORDERDEFAULT_PAGE_SIZE, EDITORROLE| Constructor and Description |
|---|
AbstractCrudServiceEnvers() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getRevision(Number n,
Class<T> type)
When more revisions of the same entity are found for this revision, the last is returned
|
<T> List<RevInfo<T>> |
getRevisionInfo(Serializable id,
Integer max,
Class<T> type)
return a list holding revision information, newest come first
|
<T> List<Number> |
getRevisionNumbers(Serializable id,
Class<T> type)
return list of revision numbers, first is the oldest
|
<T extends EntityInterface> |
previousState(Serializable id,
Class<T> type,
int stepsBack)
Return the state before the last crud operation on an entity, or null when not found (or for insert).
|
batchDelete, batchSave, count, countDynamic, create, delete, find, find, find, findAll, findDynamic, findExactlyOne, findNative, findNative, findOne, getDefaultPageSize, save, setJpqlBuilder, stream, streamAll, streamDynamic, streamNative, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, countDynamic, find, find, find, findAll, findDynamic, findExactlyOne, findNative, findNative, findOne, getDefaultPageSize, stream, streamAll, streamDynamic, streamNativegetEntityManagerpublic <T> T getRevision(Number n, Class<T> type)
getRevision in interface AuditingT - n - type - public <T> List<RevInfo<T>> getRevisionInfo(Serializable id, Integer max, Class<T> type)
AuditinggetRevisionInfo in interface Auditingmax - the maximum to number of results to return, defaults to 5public <T> List<Number> getRevisionNumbers(Serializable id, Class<T> type)
AuditinggetRevisionNumbers in interface Auditingpublic <T extends EntityInterface> T previousState(Serializable id, Class<T> type, int stepsBack)
AuditingpreviousState in interface AuditingstepsBack - how may steps back in history, 1 is the first step backCopyright © 2018–2020 Fryske Akademy. All rights reserved.