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 TypeMethodDescriptionbooleanbeforeDelete(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, getSum, getUpdateByColumn, getUser, handleEditor, hasNotify, initBinder, isExporting, isForceReload, isImporting, isSkipWrongData, jpaToBoolean, preImportDataEdit, processAction, processFromEntity, processFromEntity, processFromEntity, processFromEntity, processToEntity, setForceReload, setRequest, setValidator, sumItems, 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:DatatableRestControllerV2Ziska z databazy vsetky zaznamy- Overrides:
getAllItemsin 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:DatatableRestControllerV2Vyhlada objekty podla zadaneho search objektu a pripadnych parametrov z requestu- Overrides:
searchItemin classDatatableRestControllerV2<GdprSearchEntity,Long> - Returns:
-
editItem
Description copied from class:DatatableRestControllerV2Ulozi existujucu entitu do databazy- Overrides:
editItemin classDatatableRestControllerV2<GdprSearchEntity,Long> - Returns:
-
insertItem
Description copied from class:DatatableRestControllerV2Vlozi NOVU entitu do databazy- Overrides:
insertItemin classDatatableRestControllerV2<GdprSearchEntity,Long> - Returns:
-
beforeDelete
Description copied from class:DatatableRestControllerV2Metoda volana pred zmazanim enity z DB, moze vykonat dodatocne akcie napr. zmazanie suborov z disku, ulozenie do archivu, alebo specialne kontroly prav- Overrides:
beforeDeletein classDatatableRestControllerV2<GdprSearchEntity,Long> - Returns:
-