Package sk.iway.iwcm.editor.rest
Class WebpagesRestController
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestControllerV2<DocDetails,Long>
sk.iway.iwcm.editor.rest.WebpagesDatatable
sk.iway.iwcm.editor.rest.WebpagesRestController
@RestController
@RequestMapping("/admin/rest/web-pages")
@PreAuthorize("@WebjetSecurityService.hasPermission(\'menuWebpages\')")
public class WebpagesRestController
extends WebpagesDatatable
-
Field Summary
Fields inherited from class sk.iway.iwcm.editor.rest.WebpagesDatatable
docAtrDefRepository, docDetailsRepository, editorFacade
-
Constructor Summary
ConstructorsConstructorDescriptionWebpagesRestController
(DocDetailsRepository docDetailsRepository, EditorFacade editorFacade, DocAtrDefRepository docAtrDefRepository) -
Method Summary
Modifier and TypeMethodDescriptionparentGroups
(int docId) Vrati zoznam parent adresarov pre zadane docid, nastavi aj domenu ak je odlisna a kartu (System/Kos) v ktorej sa nachadza koren adresarovMethods inherited from class sk.iway.iwcm.editor.rest.WebpagesDatatable
addInsertEditNotify, addSpecSearch, afterDuplicate, afterSave, checkItemPerms, deleteItem, editItem, findByColumns, getAllItems, getDefaultOptions, getOneItem, insertItem, isRefreshMenuRequired, preview, processAction, processFromEntity
Methods inherited from class sk.iway.iwcm.system.datatable.DatatableRestControllerV2
action, add, addNotify, addNotify, addSpecSort, afterDelete, afterImportChunk, beforeDelete, beforeDuplicate, beforeSave, checkAccessAllowed, copyEntityIntoOriginal, delete, edit, findItemBy, getAll, getAllItemsIncludeSpecSearch, getCleanKey, getCleanValue, getImportedColumns, getImportMode, getInvalidImportedRows, getLastImportedRow, getOne, getOptions, getParamsMap, getProp, getRepo, getRequest, getSearchConditions, getSearchProperties, getUpdateByColumn, getUser, handleEditor, hasNotify, initBinder, isExporting, isForceReload, isImporting, isSkipWrongData, jpaToBoolean, preImportDataEdit, processFromEntity, processFromEntity, processFromEntity, processToEntity, searchItem, setForceReload, setRequest, setValidator, throwConstraintViolation, throwError, throwError, throwError, throwError, throwError, throwError, validateEditor
-
Constructor Details
-
WebpagesRestController
@Autowired public WebpagesRestController(DocDetailsRepository docDetailsRepository, EditorFacade editorFacade, DocAtrDefRepository docAtrDefRepository)
-
-
Method Details
-
parentGroups
@RequestMapping(path="/parents/{id}") public ParentGroupsResult parentGroups(@PathVariable("id") int docId) Vrati zoznam parent adresarov pre zadane docid, nastavi aj domenu ak je odlisna a kartu (System/Kos) v ktorej sa nachadza koren adresarov- Parameters:
docId
-- Returns:
-