Class AbstractConfigurationController
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestControllerV2<ConfPrefixDto,Long>
sk.iway.iwcm.components.configuration.AbstractConfigurationController
- Direct Known Subclasses:
AbTestingConfigRestController,MirroringConfigRestController
public abstract class AbstractConfigurationController
extends DatatableRestControllerV2<ConfPrefixDto,Long>
Abstract class for configuration controllers with specified prefix of conf. variables
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractConfigurationController(String confPrefix, ConfDetailsMapper confDetailsMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeDuplicate(ConfPrefixDto entity) Metoda volana pred duplikovanim danej entity, da sa pouzit na resetovanie udajov, napr.booleandeleteItem(ConfPrefixDto entity, long id) Zmaze danu entitu z databazyeditItem(ConfPrefixDto entity, long id) Ulozi existujucu entitu do databazyorg.springframework.data.domain.Page<ConfPrefixDto>getAllItems(org.springframework.data.domain.Pageable pageable) Ziska z databazy vsetky zaznamyinsertItem(ConfPrefixDto entity) Vlozi NOVU entitu do databazyMethods inherited from class sk.iway.iwcm.system.datatable.DatatableRestControllerV2
action, add, addNotify, addNotify, addSpecSearch, addSpecSort, afterDelete, afterDuplicate, afterImportChunk, afterSave, beforeDelete, beforeSave, checkAccessAllowed, checkItemPerms, copyEntityIntoOriginal, delete, 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, searchItem, setForceReload, setRequest, setValidator, sumItems, throwConstraintViolation, throwError, throwError, throwError, throwError, throwError, throwError, validateEditor
-
Constructor Details
-
AbstractConfigurationController
-
-
Method Details
-
getAllItems
public org.springframework.data.domain.Page<ConfPrefixDto> getAllItems(org.springframework.data.domain.Pageable pageable) Description copied from class:DatatableRestControllerV2Ziska z databazy vsetky zaznamy- Overrides:
getAllItemsin classDatatableRestControllerV2<ConfPrefixDto,Long> - Returns:
-
editItem
Description copied from class:DatatableRestControllerV2Ulozi existujucu entitu do databazy- Overrides:
editItemin classDatatableRestControllerV2<ConfPrefixDto,Long> - Returns:
-
insertItem
Description copied from class:DatatableRestControllerV2Vlozi NOVU entitu do databazy- Overrides:
insertItemin classDatatableRestControllerV2<ConfPrefixDto,Long> - Returns:
-
deleteItem
Description copied from class:DatatableRestControllerV2Zmaze danu entitu z databazy- Overrides:
deleteItemin classDatatableRestControllerV2<ConfPrefixDto,Long> - Returns:
-
beforeDuplicate
Description copied from class:DatatableRestControllerV2Metoda volana pred duplikovanim danej entity, da sa pouzit na resetovanie udajov, napr. priradena default stranka adresara a podobne- Overrides:
beforeDuplicatein classDatatableRestControllerV2<ConfPrefixDto,Long>
-