@Component(value="inputsBusinessLogic") public class InputsBusinessLogic extends BaseBusinessLogic
applicationDataTypeCache, artifactOperation, attributeOperation, elementDao, graphLockOperation, groupOperation, groupTypeOperation, productOperation, serviceOperation, titanGenericDao, userAdmin
Constructor and Description |
---|
InputsBusinessLogic() |
Modifier and Type | Method and Description |
---|---|
fj.data.Either<List<InputDefinition>,ResponseFormat> |
createInputs(String componentId,
String userId,
ComponentTypeEnum componentType,
List<InputDefinition> inputsDefinitions,
boolean shouldLockComp,
boolean inTransaction) |
fj.data.Either<List<InputDefinition>,ResponseFormat> |
createInputsInGraph(List<InputDefinition> inputsDefinitions,
Component component,
User user,
boolean inTransaction) |
fj.data.Either<List<InputDefinition>,ResponseFormat> |
createMultipleInputs(String userId,
String componentId,
ComponentTypeEnum componentType,
ComponentInstInputsMap componentInstInputsMapUi,
boolean shouldLockComp,
boolean inTransaction) |
fj.data.Either<InputDefinition,ResponseFormat> |
deleteInput(String componentType,
String componentId,
String userId,
String inputId,
boolean inTransaction)
Delete input from service
|
fj.data.Either<List<ComponentInstanceProperty>,ResponseFormat> |
getComponentInstancePropertiesByInputId(String userId,
String instanceId,
String inputId)
associate properties to a given component instance input
|
fj.data.Either<List<InputDefinition>,ResponseFormat> |
getInputs(String userId,
String componentId,
String fromName,
int amount)
associate inputs to a given component with paging
|
fj.data.Either<List<ComponentInstanceInput>,ResponseFormat> |
getInputsForComponentInput(String userId,
String componentId,
String inputId) |
commitOrRollback, getAllDataTypes, getComponentOperation, getComponentOperationByParentComponentType, getComponentTypeByParentComponentType, getIComponentOperation, getResource, getType, handleDefaultValue, lockComponent, lockComponent, lockComponentByName, setComponentsUtils, setGraphLockOperation, setTitanGenericDao, setUserAdmin, unlockComponent, unlockComponent, validateCanWorkOnComponent, validateCanWorkOnComponent, validateComponentExists, validateComponentExists, validateComponentExistsByFilter, validateComponentLock, validateComponentType, validateComponentTypeEnum, validateJsonBody, validatePropertyDefaultValue, validateUserExist, validateUserExists, validateUserExists, validateUserExistsActionStatus, validateUserNotEmpty, validateUserRole
public fj.data.Either<List<InputDefinition>,ResponseFormat> getInputs(String userId, String componentId, String fromName, int amount)
componentId
- userId
- fromId
- amount
- public fj.data.Either<List<ComponentInstanceProperty>,ResponseFormat> getComponentInstancePropertiesByInputId(String userId, String instanceId, String inputId)
instanceId
- userId
- inputId
- public fj.data.Either<List<ComponentInstanceInput>,ResponseFormat> getInputsForComponentInput(String userId, String componentId, String inputId)
public fj.data.Either<List<InputDefinition>,ResponseFormat> createMultipleInputs(String userId, String componentId, ComponentTypeEnum componentType, ComponentInstInputsMap componentInstInputsMapUi, boolean shouldLockComp, boolean inTransaction)
public fj.data.Either<List<InputDefinition>,ResponseFormat> createInputs(String componentId, String userId, ComponentTypeEnum componentType, List<InputDefinition> inputsDefinitions, boolean shouldLockComp, boolean inTransaction)
public fj.data.Either<List<InputDefinition>,ResponseFormat> createInputsInGraph(List<InputDefinition> inputsDefinitions, Component component, User user, boolean inTransaction)
public fj.data.Either<InputDefinition,ResponseFormat> deleteInput(String componentType, String componentId, String userId, String inputId, boolean inTransaction)
component
- user
- componentType
- inputId
- inTransaction
- Copyright © 2017. All rights reserved.