All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
protected void |
commitOrRollback(fj.data.Either<? extends Object,ResponseFormat> result) |
protected fj.data.Either<Map<String,DataTypeDefinition>,ResponseFormat> |
getAllDataTypes(ApplicationDataTypeCache applicationDataTypeCache) |
ComponentOperation |
getComponentOperation(ComponentTypeEnum componentTypeEnum) |
ComponentOperation |
getComponentOperationByParentComponentType(ComponentTypeEnum parentComponentType) |
ComponentTypeEnum |
getComponentTypeByParentComponentType(ComponentTypeEnum parentComponentType) |
IComponentOperation |
getIComponentOperation(ComponentTypeEnum componentTypeEnum) |
protected fj.data.Either<Resource,StorageOperationStatus> |
getResource(String resourceId) |
protected ToscaPropertyType |
getType(String propertyType) |
protected void |
handleDefaultValue(IComplexDefaultValue newAttributeDef,
Map<String,DataTypeDefinition> dataTypes) |
protected fj.data.Either<Boolean,ResponseFormat> |
lockComponent(Component component,
String ecompErrorContext) |
protected fj.data.Either<Boolean,ResponseFormat> |
lockComponent(String componentId,
Component component,
String ecompErrorContext) |
protected fj.data.Either<Boolean,ResponseFormat> |
lockComponentByName(String name,
Component component,
String ecompErrorContext) |
void |
setComponentsUtils(ComponentsUtils componentsUtils) |
void |
setGraphLockOperation(IGraphLockOperation graphLockOperation) |
void |
setTitanGenericDao(TitanGenericDao titanGenericDao) |
void |
setUserAdmin(UserBusinessLogic userAdmin) |
protected void |
unlockComponent(fj.data.Either<?,?> either,
Component component) |
protected void |
unlockComponent(fj.data.Either<?,?> either,
Component component,
boolean inTransaction) |
fj.data.Either<Boolean,ResponseFormat> |
validateCanWorkOnComponent(Component component,
String userId) |
protected void |
validateCanWorkOnComponent(String componentId,
ComponentTypeEnum componentTypeEnum,
String userId,
Wrapper<ResponseFormat> errorWrapper) |
protected fj.data.Either<Component,ResponseFormat> |
validateComponentExists(String componentId,
ComponentTypeEnum componentType,
boolean inTransaction,
boolean createNewTransaction) |
protected fj.data.Either<? extends Component,ResponseFormat> |
validateComponentExists(String componentId,
ComponentTypeEnum componentType,
ComponentParametersView componentParametersView,
String userId,
AuditingActionEnum auditingAction,
User user) |
protected fj.data.Either<Component,ResponseFormat> |
validateComponentExistsByFilter(String componentId,
ComponentTypeEnum componentType,
ComponentParametersView componentParametersView,
boolean inTransaction) |
protected void |
validateComponentLock(String componentId,
ComponentTypeEnum componentTypeEnum,
Wrapper<ResponseFormat> errorWrapper) |
protected fj.data.Either<ComponentTypeEnum,ResponseFormat> |
validateComponentType(String componentType) |
protected void |
validateComponentTypeEnum(ComponentTypeEnum componentTypeEnum,
String errorContext,
Wrapper<ResponseFormat> errorWrapper) |
protected <T> fj.data.Either<Boolean,ResponseFormat> |
validateJsonBody(T bodyObject,
Class<T> clazz) |
protected fj.data.Either<Boolean,ResponseFormat> |
validatePropertyDefaultValue(IComplexDefaultValue property,
Map<String,DataTypeDefinition> dataTypes) |
protected void |
validateUserExist(String userId,
String ecompErrorContext,
Wrapper<ResponseFormat> errorWrapper) |
fj.data.Either<User,ResponseFormat> |
validateUserExists(String userId,
String ecompErrorContext,
boolean inTransaction) |
protected fj.data.Either<User,ResponseFormat> |
validateUserExists(User user,
String ecompErrorContext,
boolean inTransaction) |
fj.data.Either<User,ActionStatus> |
validateUserExistsActionStatus(String userId,
String ecompErrorContext) |
protected fj.data.Either<User,ResponseFormat> |
validateUserNotEmpty(User user,
String ecompErrorContext) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateUserRole(User user,
List<Role> roles) |