Class RedirectCleaningRestController
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestControllerV2<RedirectCleaningAction,Long>
sk.iway.iwcm.components.redirects.RedirectCleaningRestController
@RestController
@RequestMapping("/admin/rest/settings/redirect-cleaning")
@PreAuthorize("@WebjetSecurityService.hasPermission(\'cmp_redirects\')")
public class RedirectCleaningRestController
extends DatatableRestControllerV2<RedirectCleaningAction,Long>
Read-only DataTable controller for redirect cleaning previews.
Analysis stores one immutable plan in the application cache for the current domain ID. All authorized administrators in that domain share the preview, while paging, filtering, and sorting operate on the cached snapshot. Execution applies the complete snapshot regardless of the visible page or selected rows.
-
Constructor Summary
ConstructorsConstructorDescriptionRedirectCleaningRestController(sk.iway.iwcm.components.redirects.RedirectCleaningPlanCoordinator coordinator) -
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteItem(RedirectCleaningAction entity, long id) Zmaze danu entitu z databazyeditItem(RedirectCleaningAction entity, long id) Ulozi existujucu entitu do databazyorg.springframework.data.domain.Page<RedirectCleaningAction>getAllItems(org.springframework.data.domain.Pageable pageable) Ziska z databazy vsetky zaznamyvoidDoplni pri volani getAllItems options polozky pre vyberove poliainsertItem(RedirectCleaningAction entity) Vlozi NOVU entitu do databazybooleanprocessAction(RedirectCleaningAction entity, String action) Vykona zadanu akciu (napr.org.springframework.data.domain.Page<RedirectCleaningAction>searchItem(Map<String, String> params, org.springframework.data.domain.Pageable pageable, RedirectCleaningAction search) 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, allowGeneratedIdOnCreate, beforeDelete, beforeDuplicate, beforeDuplicate, beforeSave, checkAccessAllowed, checkItemPerms, checkRowReorderScope, copyEntityIntoOriginal, delete, edit, findByColumns, findItemBy, getAll, getAllItemsIncludeSpecSearch, getCleanKey, getCleanValue, getCustomFieldsSearchDto, getDomainId, getImportedColumns, getImportMode, getInvalidImportedRows, getLastImportedRow, getOne, getOneItem, getParamsMap, getProp, getRepo, getRequest, getSearchConditions, getSearchProperties, getSum, getUpdateByColumn, getUser, handleEditor, hasNotify, initBinder, isDuplicate, isExporting, isForceReload, isImporting, isSkipWrongData, jpaToBoolean, preImportDataEdit, processFromEntity, processFromEntity, processFromEntity, processFromEntity, processToEntity, rowReorder, setForceReload, setRedirect, setRequest, setValidator, sumItems, throwConstraintViolation, throwError, throwError, throwError, throwError, throwError, throwError, validateEditor, validateEditorForCustomFields
-
Constructor Details
-
RedirectCleaningRestController
@Autowired public RedirectCleaningRestController(sk.iway.iwcm.components.redirects.RedirectCleaningPlanCoordinator coordinator)
-
-
Method Details
-
getAllItems
public org.springframework.data.domain.Page<RedirectCleaningAction> getAllItems(org.springframework.data.domain.Pageable pageable) Description copied from class:DatatableRestControllerV2Ziska z databazy vsetky zaznamy- Overrides:
getAllItemsin classDatatableRestControllerV2<RedirectCleaningAction,Long> - Returns:
-
searchItem
public org.springframework.data.domain.Page<RedirectCleaningAction> searchItem(Map<String, String> params, org.springframework.data.domain.Pageable pageable, RedirectCleaningAction search) Description copied from class:DatatableRestControllerV2Vyhlada objekty podla zadaneho search objektu a pripadnych parametrov z requestu- Overrides:
searchItemin classDatatableRestControllerV2<RedirectCleaningAction,Long> - Returns:
-
getOptions
Description copied from class:DatatableRestControllerV2Doplni pri volani getAllItems options polozky pre vyberove polia- Overrides:
getOptionsin classDatatableRestControllerV2<RedirectCleaningAction,Long>
-
processAction
Description copied from class:DatatableRestControllerV2Vykona zadanu akciu (napr. rotacia obrazku v galerii)- Overrides:
processActionin classDatatableRestControllerV2<RedirectCleaningAction,Long> - Returns:
- false ak nastane chyba
-
insertItem
Description copied from class:DatatableRestControllerV2Vlozi NOVU entitu do databazy- Overrides:
insertItemin classDatatableRestControllerV2<RedirectCleaningAction,Long> - Returns:
-
editItem
Description copied from class:DatatableRestControllerV2Ulozi existujucu entitu do databazy- Overrides:
editItemin classDatatableRestControllerV2<RedirectCleaningAction,Long> - Returns:
-
deleteItem
Description copied from class:DatatableRestControllerV2Zmaze danu entitu z databazy- Overrides:
deleteItemin classDatatableRestControllerV2<RedirectCleaningAction,Long> - Returns:
-