Package org.cyclos.services.users
Interface RecordService
-
- All Superinterfaces:
CRUDService<RecordDTO,RecordData,RecordDataParams>,CRUDWithConfirmationPasswordService<RecordDTO,RecordData,RecordDataParams>,Service
- All Known Subinterfaces:
RecordServiceLocal
public interface RecordService extends CRUDWithConfirmationPasswordService<RecordDTO,RecordData,RecordDataParams>
Service interface for Records
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileInfoexportRecords(@NotNull ExportFormatVO format, @NotNull RecordQuery query)Generates a file with the query resultList<RecordTypeCountVO>getRecordTypeCount(@NotNull InternalAccountOwner locator)Returns, for each visible record type, the count and permissions over records of the given owner (either system or user)RecordSearchDatagetSearchData(@NotNull RecordTypeVO recordType, UserLocatorVO locator)Returns data for searching records, if the given locator is null it returns system record dataSharedRecordFieldsSearchDatagetSharedFieldsSearchData()Returns data for searching records with shared record fieldsTiledRecordsDatagetTiledRecordsData(@NotNull RecordTypeVO recordType, UserLocatorVO locator)Returns data for listing tiled records of a given user or systemRecordVOloadVO(@NotNull Long id)Loads a VO, by idPage<RecordVO>search(@NotNull RecordQuery query)Searches for records-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.services.CRUDWithConfirmationPasswordService
getConfirmationPasswordInputForRemove, removeAllWithConfirmationPassword, removeWithConfirmationPassword, saveWithConfirmationPassword
-
-
-
-
Method Detail
-
exportRecords
FileInfo exportRecords(@NotNull @NotNull ExportFormatVO format, @NotNull @NotNull RecordQuery query)
Generates a file with the query result
-
getRecordTypeCount
List<RecordTypeCountVO> getRecordTypeCount(@NotNull @NotNull InternalAccountOwner locator) throws FrameworkException
Returns, for each visible record type, the count and permissions over records of the given owner (either system or user)- Throws:
FrameworkException
-
getSearchData
RecordSearchData getSearchData(@NotNull @NotNull RecordTypeVO recordType, UserLocatorVO locator) throws FrameworkException
Returns data for searching records, if the given locator is null it returns system record data- Throws:
FrameworkException
-
getSharedFieldsSearchData
SharedRecordFieldsSearchData getSharedFieldsSearchData() throws FrameworkException
Returns data for searching records with shared record fields- Throws:
FrameworkException
-
getTiledRecordsData
TiledRecordsData getTiledRecordsData(@NotNull @NotNull RecordTypeVO recordType, UserLocatorVO locator) throws FrameworkException
Returns data for listing tiled records of a given user or system- Throws:
FrameworkException
-
loadVO
RecordVO loadVO(@NotNull @NotNull Long id) throws FrameworkException
Loads a VO, by id- Throws:
FrameworkException
-
search
Page<RecordVO> search(@NotNull @NotNull RecordQuery query) throws FrameworkException, QueryParseException
Searches for records
-
-