@Transactional(readOnly=true) @RestController public class CallChainController extends AbstractController<UICallChain,org.qubership.automation.itf.core.model.jpa.callchain.CallChain>
LOGGER| Constructor and Description |
|---|
CallChainController() |
_deleteSubObjects, _isObjectSuitable, asListUIObject, beforeStoreUpdated, create, create, create, create, create, create, delete, delete, delete, delete, getAll, getAll, getAllSimple, getAllSuitable, getAllWithEciParams, getById, manager, setSimple, storeUpdated, update, update, updateUIObject, usageInfoListAsStringhaveUsages@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'READ\')")
@RequestMapping(value="/callchain/all",
method=GET)
public List<? extends UIObject> getAll(@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="projectUuid")
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'READ\')")
@RequestMapping(value="/callchain/allbyparent",
method=GET)
public List<? extends UIObject> getAll(@RequestParam(value="parentId",defaultValue="0")
String parentId,
@RequestParam(value="projectUuid")
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'READ\')")
@RequestMapping(value="/callchain/allIdsAndNames",
method=GET)
public UIChainObjectsList getAllIdsAndNames(@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="projectUuid")
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'READ\')")
@RequestMapping(value="/callchain",
method=GET)
public UICallChain getById(@RequestParam(value="id",defaultValue="0")
String id,
@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'CREATE\')")
@RequestMapping(value="/callchain",
method=POST)
public UICallChain create(@RequestParam(value="id",defaultValue="0")
String parentId,
@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'UPDATE\')")
@RequestMapping(value="/callchain/bulk",
method=POST)
public UIResult bulkUpdate(@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="projectUuid")
UUID projectUuid,
@RequestBody
BulkUpdateRequest bulkObject)
@Transactional
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'UPDATE\')")
@RequestMapping(value="/callchain",
method=PUT)
public UICallChain update(@RequestBody
UICallChain callChain,
@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'DELETE\')")
@RequestMapping(value="/callchain",
method=DELETE)
public Map<String,List<UIObject>> delete(@RequestBody
Collection<UICallChain> objectsToDelete,
@RequestParam(value="projectUuid")
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'READ\')")
@RequestMapping(value="/callchain/fullPath",
method=GET)
public UIWrapper getFullPath(@RequestParam(value="id",defaultValue="0")
String id,
@RequestParam(value="projectUuid")
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'READ\')")
@RequestMapping(value="/callchain/usages",
method=GET,
produces="application/json")
public Map<String,Object> getUsages(@RequestParam(value="id")
String id,
@RequestParam(value="projectUuid")
UUID projectUuid)
protected Class<org.qubership.automation.itf.core.model.jpa.callchain.CallChain> _getGenericUClass()
AbstractController_getGenericUClass in class AbstractController<UICallChain,org.qubership.automation.itf.core.model.jpa.callchain.CallChain>protected UICallChain _newInstanceTClass(org.qubership.automation.itf.core.model.jpa.callchain.CallChain object)
AbstractController_newInstanceTClass in class AbstractController<UICallChain,org.qubership.automation.itf.core.model.jpa.callchain.CallChain>object - storable for create an object extends UIObjectprotected org.qubership.automation.itf.core.model.jpa.folder.Folder _getParent(String parentId)
AbstractController_getParent in class AbstractController<UICallChain,org.qubership.automation.itf.core.model.jpa.callchain.CallChain>parentId - parent identifyprotected org.qubership.automation.itf.core.model.jpa.callchain.CallChain _beforeUpdate(UICallChain uiObject, org.qubership.automation.itf.core.model.jpa.callchain.CallChain object)
AbstractController_beforeUpdate in class AbstractController<UICallChain,org.qubership.automation.itf.core.model.jpa.callchain.CallChain>uiObject - have param for updateobject - updatable objectprotected void checkVersion(org.qubership.automation.itf.core.model.jpa.callchain.CallChain object, UICallChain uiObject)
Copyright © 2025. All rights reserved.