HistoryServiceImpl

public class HistoryServiceImpl extends BasePersistenceService implements HistoryService

Default implementation of org.motechproject.mds.service.HistoryService interface.

Methods

countHistoryRecords

public long countHistoryRecords(Object instance)

getHistoryForInstance

public List getHistoryForInstance(Object instance, QueryParams queryParams)

getSingleHistoryInstance

public Object getSingleHistoryInstance(Object instance, Long historyId)

record

public void record(Object instance)