Package sk.iway.iwcm.system.elfinder
Class FileHistoryRestController
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestControllerV2<FileHistoryEntity,Long>
sk.iway.iwcm.system.elfinder.FileHistoryRestController
@RestController
@RequestMapping("/admin/rest/elfinder/file-history/")
@PreAuthorize("@WebjetSecurityService.hasPermission(\'cmp_elfinder\')")
public class FileHistoryRestController
extends DatatableRestControllerV2<FileHistoryEntity,Long>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<FileHistoryEntity>
getAllItems
(org.springframework.data.domain.Pageable pageable) Ziska z databazy vsetky zaznamyboolean
processAction
(FileHistoryEntity entity, String action) Vykona zadanu akciu (napr.Methods inherited from class sk.iway.iwcm.system.datatable.DatatableRestControllerV2
action, add, addNotify, addNotify, addSpecSearch, addSpecSort, afterDelete, afterDuplicate, afterImportChunk, afterSave, beforeDelete, beforeDuplicate, beforeSave, checkAccessAllowed, checkItemPerms, copyEntityIntoOriginal, delete, deleteItem, edit, editItem, findByColumns, findItemBy, getAll, getAllItemsIncludeSpecSearch, getCleanKey, getCleanValue, getImportedColumns, getImportMode, getInvalidImportedRows, getLastImportedRow, getOne, getOneItem, getOptions, getParamsMap, getProp, getRepo, getRequest, getSearchConditions, getSearchProperties, getUpdateByColumn, getUser, handleEditor, hasNotify, initBinder, insertItem, isExporting, isForceReload, isImporting, isSkipWrongData, jpaToBoolean, preImportDataEdit, processFromEntity, processFromEntity, processFromEntity, processFromEntity, processToEntity, searchItem, setForceReload, setRequest, setValidator, throwConstraintViolation, throwError, throwError, throwError, throwError, throwError, throwError, validateEditor
-
Constructor Details
-
FileHistoryRestController
-
-
Method Details
-
getAllItems
public org.springframework.data.domain.Page<FileHistoryEntity> getAllItems(org.springframework.data.domain.Pageable pageable) Description copied from class:DatatableRestControllerV2
Ziska z databazy vsetky zaznamy- Overrides:
getAllItems
in classDatatableRestControllerV2<FileHistoryEntity,
Long> - Returns:
-
processAction
Description copied from class:DatatableRestControllerV2
Vykona zadanu akciu (napr. rotacia obrazku v galerii)- Overrides:
processAction
in classDatatableRestControllerV2<FileHistoryEntity,
Long> - Returns:
- false ak nastane chyba
-