Package sk.iway.iwcm.stat.rest
Class DocNewInOutRestController
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestControllerV2<InOutDTO,Long>
sk.iway.iwcm.stat.rest.DocNewInOutRestController
@RestController
@RequestMapping("/admin/rest/stat/doc-new-in-out")
@PreAuthorize("@WebjetSecurityService.hasPermission(\'cmp_stat\')")
public class DocNewInOutRestController
extends DatatableRestControllerV2<InOutDTO,Long>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeSave
(InOutDTO entity) Metoda volana pred insert/save danej entity, da sa pouzit na nastavenie udajov, napr.org.springframework.data.domain.Page<InOutDTO>
findByColumns
(Map<String, String> params, org.springframework.data.domain.Pageable pageable, InOutDTO search) Vyhlada zaznamy v databaze podla zadanych kriterii (serverovo strankovane a sortovane).Methods inherited from class sk.iway.iwcm.system.datatable.DatatableRestControllerV2
action, add, addNotify, addNotify, addSpecSearch, addSpecSort, afterDelete, afterDuplicate, afterImportChunk, afterSave, beforeDelete, beforeDuplicate, checkAccessAllowed, checkItemPerms, copyEntityIntoOriginal, delete, deleteItem, edit, editItem, findItemBy, getAll, getAllItems, getAllItemsIncludeSpecSearch, getCleanKey, getCleanValue, getImportedColumns, getImportMode, getInvalidImportedRows, getLastImportedRow, getOne, getOneItem, getOptions, getParamsMap, getProp, getRepo, getRequest, getSearchConditions, getSearchProperties, getSum, getUpdateByColumn, getUser, handleEditor, hasNotify, initBinder, insertItem, isExporting, isForceReload, isImporting, isSkipWrongData, jpaToBoolean, preImportDataEdit, processAction, processFromEntity, processFromEntity, processFromEntity, processFromEntity, processToEntity, searchItem, setForceReload, setRequest, setValidator, throwConstraintViolation, throwError, throwError, throwError, throwError, throwError, throwError, validateEditor
-
Constructor Details
-
DocNewInOutRestController
@Autowired public DocNewInOutRestController()
-
-
Method Details
-
beforeSave
Description copied from class:DatatableRestControllerV2
Metoda volana pred insert/save danej entity, da sa pouzit na nastavenie udajov, napr. datum ulozenia, domainId a podobne- Overrides:
beforeSave
in classDatatableRestControllerV2<InOutDTO,
Long>
-
findByColumns
public org.springframework.data.domain.Page<InOutDTO> findByColumns(Map<String, String> params, org.springframework.data.domain.Pageable pageable, InOutDTO search) Description copied from class:DatatableRestControllerV2
Vyhlada zaznamy v databaze podla zadanych kriterii (serverovo strankovane a sortovane). Pouziva EampleMatcher, v Beane NESMU BYT pouzite primitivne typy (vsetko musia byt Objekty)- Overrides:
findByColumns
in classDatatableRestControllerV2<InOutDTO,
Long>
-