Package sk.iway.iwcm.components.media
Class MediaGroupRestController
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestControllerV2<T,ID>
sk.iway.iwcm.system.datatable.DatatableRestControllerAvailableGroups<sk.iway.spirit.model.MediaGroupBean,Long>
sk.iway.iwcm.components.media.MediaGroupRestController
@RestController
@RequestMapping("/admin/rest/media-group")
@PreAuthorize("@WebjetSecurityService.hasPermission(\'editor_edit_media_group\')")
public class MediaGroupRestController
extends DatatableRestControllerAvailableGroups<sk.iway.spirit.model.MediaGroupBean,Long>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<sk.iway.spirit.model.MediaGroupBean>filterByPerms(List<sk.iway.spirit.model.MediaGroupBean> all) Filter entities by availableGroupssk.iway.spirit.model.MediaGroupBeanprocessFromEntity(sk.iway.spirit.model.MediaGroupBean entity, ProcessItemAction action) Vykona upravy v entite pred vratenim cez REST rozhranie napr.sk.iway.spirit.model.MediaGroupBeanprocessToEntity(sk.iway.spirit.model.MediaGroupBean entity, ProcessItemAction action) Vykona upravy v entite pri odpovedi (ulozeni) z REST rozhranie napr.Methods inherited from class sk.iway.iwcm.system.datatable.DatatableRestControllerAvailableGroups
beforeSave, checkItemPerms, getAllItemsMethods inherited from class sk.iway.iwcm.system.datatable.DatatableRestControllerV2
action, add, addNotify, addNotify, addSpecSearch, addSpecSort, afterDelete, afterDuplicate, afterImportChunk, afterSave, beforeDelete, beforeDuplicate, checkAccessAllowed, copyEntityIntoOriginal, delete, deleteItem, edit, editItem, 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, insertItem, isDuplicate, isExporting, isForceReload, isImporting, isSkipWrongData, jpaToBoolean, preImportDataEdit, processAction, processFromEntity, processFromEntity, processFromEntity, rowReorder, searchItem, setForceReload, setRedirect, setRequest, setValidator, sumItems, throwConstraintViolation, throwError, throwError, throwError, throwError, throwError, throwError, validateEditor
-
Constructor Details
-
MediaGroupRestController
-
-
Method Details
-
filterByPerms
public List<sk.iway.spirit.model.MediaGroupBean> filterByPerms(List<sk.iway.spirit.model.MediaGroupBean> all) Description copied from class:DatatableRestControllerAvailableGroupsFilter entities by availableGroups- Overrides:
filterByPermsin classDatatableRestControllerAvailableGroups<sk.iway.spirit.model.MediaGroupBean,Long> - Returns:
-
processToEntity
public sk.iway.spirit.model.MediaGroupBean processToEntity(sk.iway.spirit.model.MediaGroupBean entity, ProcessItemAction action) Description copied from class:DatatableRestControllerV2Vykona upravy v entite pri odpovedi (ulozeni) z REST rozhranie napr. vyvola potrebne editorFields nastavenia (from editorFields to entity)- Overrides:
processToEntityin classDatatableRestControllerV2<sk.iway.spirit.model.MediaGroupBean,Long> action- - typ zmeny - create,edit,getall,
-
processFromEntity
public sk.iway.spirit.model.MediaGroupBean processFromEntity(sk.iway.spirit.model.MediaGroupBean entity, ProcessItemAction action) Description copied from class:DatatableRestControllerV2Vykona upravy v entite pred vratenim cez REST rozhranie napr. vyvola potrebne editorFields nastavenia (from entity to editorFields)- Overrides:
processFromEntityin classDatatableRestControllerV2<sk.iway.spirit.model.MediaGroupBean,Long> action- - typ zmeny - create,edit,getall...
-