Package org.cyclos.services.system
Interface EntityLogService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
EntityLogServiceLocal
public interface EntityLogService extends Service
Service for work with the generated entity logs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileInfoexportEntityPropertyLogs(@NotNull ExportFormatVO formatVO, @NotNull EntityPropertyLogQuery params)Exports the entity property logs found with the given query.EntityLogSearchDatagetGeneralSearchData(boolean configuration)Return the data for a general search of entity logsEntityLogSearchDatagetSearchData(@NotNull Long id, @NotNull EntityLogType type)Return data to search for logs of a specific entity.EntityLogSearchDatagetSystemRecordsLogsSearchData(SystemRecordTypeVO systemRecordTypeVO)Return the data for search system records entity logs of the given system record typeEntityPropertyLogVOload(@NotNull Long id)Loads anEntityPropertyLogVOby idPage<EntityPropertyLogVO>search(@NotNull EntityPropertyLogQuery params)Search for logs of an specific entity or logs of specific types.
If aEntityPropertyLogQuery.ENTITY_IDis given thenEntityPropertyLogQuery.TYPEis required.
-
-
-
Method Detail
-
exportEntityPropertyLogs
FileInfo exportEntityPropertyLogs(@NotNull @NotNull ExportFormatVO formatVO, @NotNull @NotNull EntityPropertyLogQuery params)
Exports the entity property logs found with the given query.
-
getGeneralSearchData
EntityLogSearchData getGeneralSearchData(boolean configuration) throws FrameworkException
Return the data for a general search of entity logs- Throws:
FrameworkException
-
getSearchData
EntityLogSearchData getSearchData(@NotNull @NotNull Long id, @NotNull @NotNull EntityLogType type) throws FrameworkException
Return data to search for logs of a specific entity. Example: for viewing the profile history, the "type" is 'USER' and the "id" is the user id.- Throws:
FrameworkException
-
getSystemRecordsLogsSearchData
EntityLogSearchData getSystemRecordsLogsSearchData(SystemRecordTypeVO systemRecordTypeVO) throws FrameworkException
Return the data for search system records entity logs of the given system record type- Throws:
FrameworkException
-
load
EntityPropertyLogVO load(@NotNull @NotNull Long id)
Loads anEntityPropertyLogVOby id
-
search
Page<EntityPropertyLogVO> search(@NotNull @NotNull EntityPropertyLogQuery params)
Search for logs of an specific entity or logs of specific types.
If aEntityPropertyLogQuery.ENTITY_IDis given thenEntityPropertyLogQuery.TYPEis required. OtherwiseEntityPropertyLogQuery.TYPE_FILTERSare required.
-
-