All Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type |
Method and Description |
protected void |
checkComponentFieldsForOverrideAttempt(Component component) |
abstract fj.data.Either<List<String>,ResponseFormat> |
deleteMarkedComponents() |
protected fj.data.Either<List<String>,ResponseFormat> |
deleteMarkedComponents(ComponentTypeEnum componentType) |
<R extends Component> fj.data.Either<R,StorageOperationStatus> |
getComponent(String componentId,
ComponentTypeEnum componentTypeEnum)
Fetches Component From the DB
|
abstract ComponentInstanceBusinessLogic |
getComponentInstanceBL() |
abstract fj.data.Either<List<ComponentInstance>,ResponseFormat> |
getComponentInstancesFilteredByPropertiesAndInputs(String componentId,
ComponentTypeEnum componentTypeEnum,
String userId,
String searchText) |
fj.data.Either<List<Component>,ResponseFormat> |
getLatestVersionNotAbstractComponents(boolean isAbstractAbstract,
HighestFilterEnum highestFilter,
ComponentTypeEnum componentTypeEnum,
String internalComponentType,
List<String> componentUids,
String userId) |
fj.data.Either<List<Map<String,String>>,ResponseFormat> |
getLatestVersionNotAbstractComponentsUidOnly(boolean isAbstractAbstract,
HighestFilterEnum highestFilter,
ComponentTypeEnum componentTypeEnum,
String internalComponentType,
String userId) |
fj.data.Either<CapReqDef,ResponseFormat> |
getRequirementsAndCapabilities(String componentId,
ComponentTypeEnum componentTypeEnum,
String userId) |
fj.data.Either<org.apache.commons.lang3.tuple.ImmutablePair<String,byte[]>,ResponseFormat> |
getToscaModelByComponentUuid(ComponentTypeEnum componentType,
String uuid,
EnumMap<AuditingFieldsKeysEnum,Object> additionalParam) |
protected StorageOperationStatus |
markComponentToDelete(Component component) |
fj.data.Either<fj.data.Either<ArtifactDefinition,Operation>,ResponseFormat> |
populateToscaArtifacts(Component component,
User user,
boolean isInCertificationRequest,
boolean inTransaction,
boolean shouldLock) |
fj.data.Either<fj.data.Either<ArtifactDefinition,Operation>,ResponseFormat> |
saveToscaArtifactPayload(ArtifactDefinition artifactDefinition,
Component component,
User user,
boolean isInCertificationRequest,
boolean shouldLock,
boolean inTransaction,
boolean fetchTemplatesFromDB) |
void |
setDeploymentArtifactsPlaceHolder(Component component,
User user) |
void |
setToscaArtifactsPlaceHolders(Component component,
User user) |
fj.data.Either<Boolean,ResponseFormat> |
validateAndUpdateDescription(User user,
Component currentComponent,
Component updatedComponent,
AuditingActionEnum audatingAction) |
fj.data.Either<Boolean,ResponseFormat> |
validateAndUpdateIcon(User user,
Component currentComponent,
Component updatedComponent,
boolean hasBeenCertified) |
fj.data.Either<Boolean,ResponseFormat> |
validateAndUpdateProjectCode(User user,
Component currentComponent,
Component updatedComponent) |
fj.data.Either<Boolean,ResponseFormat> |
validateComponentDescription(String description,
ComponentTypeEnum type) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateComponentFieldsBeforeCreate(User user,
Component component,
AuditingActionEnum actionEnum) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateComponentName(User user,
Component component,
AuditingActionEnum actionEnum) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateComponentNameUnique(User user,
Component component,
AuditingActionEnum actionEnum) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateComponentTags(List<String> tags,
String name,
ComponentTypeEnum componentType) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateContactId(User user,
Component component,
AuditingActionEnum actionEnum) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateDescriptionAndCleanup(User user,
Component component,
AuditingActionEnum actionEnum) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateIcon(User user,
Component component,
AuditingActionEnum actionEnum) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateProjectCode(User user,
Component component,
AuditingActionEnum actionEnum) |
protected boolean |
validateTagPattern(String tag) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateTagsListAndRemoveDuplicates(User user,
Component component,
AuditingActionEnum actionEnum) |
protected fj.data.Either<User,ResponseFormat> |
validateUser(User user,
String ecompErrorContext,
Component component,
AuditingActionEnum auditAction,
boolean inTransaction) |
protected fj.data.Either<Boolean,ResponseFormat> |
validateUserRole(User user,
Component component,
List<Role> roles,
AuditingActionEnum auditAction,
String comment) |