@Transactional(readOnly=true) @RestController public class CallChainStepsController extends AbstractController<UIAbstractCallChainStep,org.qubership.automation.itf.core.model.jpa.step.Step>
LOGGER| Constructor and Description |
|---|
CallChainStepsController() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<org.qubership.automation.itf.core.model.jpa.step.Step> |
_getGenericUClass()
must be return generic UClass.
|
protected org.qubership.automation.itf.core.model.jpa.callchain.CallChain |
_getParent(String parentId)
logic how to find a parent for id.
|
protected UIAbstractCallChainStep |
_newInstanceTClass(org.qubership.automation.itf.core.model.jpa.step.Step step)
create new UIObject class.
|
UIAbstractCallChainStep |
create(String parentId,
String type,
UUID projectUuid) |
Map<String,Object> |
delete(String parentId,
Collection<UIAbstractCallChainStep> objectsToDelete,
UUID projectUuid) |
UIWrapper<List<UIAbstractCallChainStep>> |
getSteps(String id,
UUID projectUuid) |
void |
saveStepPreScript(String stepId,
String preScript) |
_beforeUpdate, _deleteSubObjects, _isObjectSuitable, asListUIObject, beforeStoreUpdated, checkVersion, 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/steps",
method=GET)
public UIWrapper<List<UIAbstractCallChainStep>> getSteps(@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/steps",
method=POST)
public UIAbstractCallChainStep create(@RequestParam(value="id",defaultValue="0")
String parentId,
@RequestParam(value="type",defaultValue="embeddedChainStep")
String type,
@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"DELETE\")")
@RequestMapping(value="/callchain/steps",
method=DELETE)
public Map<String,Object> delete(@RequestParam(value="parentId")
String parentId,
@RequestBody
Collection<UIAbstractCallChainStep> objectsToDelete,
@RequestParam(value="projectUuid")
UUID projectUuid)
protected Class<org.qubership.automation.itf.core.model.jpa.step.Step> _getGenericUClass()
AbstractController_getGenericUClass in class AbstractController<UIAbstractCallChainStep,org.qubership.automation.itf.core.model.jpa.step.Step>protected UIAbstractCallChainStep _newInstanceTClass(org.qubership.automation.itf.core.model.jpa.step.Step step)
AbstractController_newInstanceTClass in class AbstractController<UIAbstractCallChainStep,org.qubership.automation.itf.core.model.jpa.step.Step>step - storable for create an object extends UIObjectprotected org.qubership.automation.itf.core.model.jpa.callchain.CallChain _getParent(String parentId)
AbstractController_getParent in class AbstractController<UIAbstractCallChainStep,org.qubership.automation.itf.core.model.jpa.step.Step>parentId - parent identifyCopyright © 2025. All rights reserved.