Class GdprSearchRestController
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestControllerV2<GdprSearchEntity,Long>
sk.iway.iwcm.components.gdpr.rest.GdprSearchRestController
@RestController
@RequestMapping("/admin/rest/gdpr/search")
@PreAuthorize("@WebjetSecurityService.hasPermission(\'menuGDPRregexp\')")
public class GdprSearchRestController
extends DatatableRestControllerV2<GdprSearchEntity,Long>
Vyhladavanie v aplikaciach/moduloch pre GDPR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
beforeDelete
(GdprSearchEntity entity) Metoda volana pred zmazanim enity z DB, moze vykonat dodatocne akcie napr.editItem
(GdprSearchEntity entity, long logId) Ulozi existujucu entitu do databazyorg.springframework.data.domain.Page<GdprSearchEntity>
getAllItems
(org.springframework.data.domain.Pageable pageable) Ziska z databazy vsetky zaznamyinsertItem
(GdprSearchEntity entity) Vlozi NOVU entitu do databazyorg.springframework.data.domain.Page<GdprSearchEntity>
searchItem
(Map<String, String> params, org.springframework.data.domain.Pageable pageable, GdprSearchEntity entity) Vyhlada objekty podla zadaneho search objektu a pripadnych parametrov z requestuMethods inherited from class sk.iway.iwcm.system.datatable.DatatableRestControllerV2
action, add, addNotify, addNotify, addSpecSearch, addSpecSort, afterDelete, afterDuplicate, afterImportChunk, afterSave, beforeDuplicate, beforeSave, checkAccessAllowed, checkItemPerms, copyEntityIntoOriginal, delete, deleteItem, edit, findByColumns, findItemBy, getAll, getAllItemsIncludeSpecSearch, getCleanKey, getCleanValue, getImportedColumns, getImportMode, getInvalidImportedRows, getLastImportedRow, getOne, getOneItem, getOptions, getParamsMap, getProp, getRepo, getRequest, getSearchConditions, getSearchProperties, getUpdateByColumn, getUser, handleEditor, hasNotify, initBinder, isExporting, isForceReload, isImporting, isSkipWrongData, jpaToBoolean, preImportDataEdit, processAction, processFromEntity, processFromEntity, processFromEntity, processFromEntity, processToEntity, setForceReload, setRequest, setValidator, throwConstraintViolation, throwError, throwError, throwError, throwError, throwError, throwError, validateEditor
-
Constructor Details
-
GdprSearchRestController
@Autowired public GdprSearchRestController()
-
-
Method Details
-
getAllItems
public org.springframework.data.domain.Page<GdprSearchEntity> getAllItems(org.springframework.data.domain.Pageable pageable) Description copied from class:DatatableRestControllerV2
Ziska z databazy vsetky zaznamy- Overrides:
getAllItems
in classDatatableRestControllerV2<GdprSearchEntity,
Long> - Returns:
-
searchItem
public org.springframework.data.domain.Page<GdprSearchEntity> searchItem(Map<String, String> params, org.springframework.data.domain.Pageable pageable, GdprSearchEntity entity) Description copied from class:DatatableRestControllerV2
Vyhlada objekty podla zadaneho search objektu a pripadnych parametrov z requestu- Overrides:
searchItem
in classDatatableRestControllerV2<GdprSearchEntity,
Long> - Returns:
-
editItem
Description copied from class:DatatableRestControllerV2
Ulozi existujucu entitu do databazy- Overrides:
editItem
in classDatatableRestControllerV2<GdprSearchEntity,
Long> - Returns:
-
insertItem
Description copied from class:DatatableRestControllerV2
Vlozi NOVU entitu do databazy- Overrides:
insertItem
in classDatatableRestControllerV2<GdprSearchEntity,
Long> - Returns:
-
beforeDelete
Description copied from class:DatatableRestControllerV2
Metoda volana pred zmazanim enity z DB, moze vykonat dodatocne akcie napr. zmazanie suborov z disku, ulozenie do archivu, alebo specialne kontroly prav- Overrides:
beforeDelete
in classDatatableRestControllerV2<GdprSearchEntity,
Long> - Returns:
-