public class CertificationRequestTransition extends LifeCycleTransition
authorizedRoles, componentUtils, configurationManager, lifeCycleOperation
Constructor and Description |
---|
CertificationRequestTransition(ComponentsUtils componentUtils,
ILifecycleOperation lifecycleOperation,
ServiceDistributionArtifactsBuilder serviceDistributionArtifactsBuilder,
ServiceBusinessLogic serviceBusinessLogic,
CapabilityOperation capabilityOperation,
ToscaExportHandler toscaExportUtils) |
Modifier and Type | Method and Description |
---|---|
fj.data.Either<? extends Component,ResponseFormat> |
changeState(ComponentTypeEnum componentType,
Component component,
ComponentBusinessLogic componentBl,
User modifier,
User owner,
boolean shouldLock,
boolean inTransaction) |
AuditingActionEnum |
getAuditingAction() |
LifeCycleTransitionEnum |
getName() |
protected fj.data.Either<Boolean,ResponseFormat> |
validateAllResourceInstanceCertified(Component component) |
fj.data.Either<Boolean,ResponseFormat> |
validateBeforeTransition(Component component,
ComponentTypeEnum componentType,
User modifier,
User owner,
LifecycleStateEnum oldState,
LifecycleChangeInfoWithAction lifecycleChangeInfo) |
addAuthorizedRoles, getAuthorizedRoles, getComponentOwner, getComponentOwner, getConfigurationManager, getLifeCycleOperation, setConfigurationManager, setLifeCycleOperation, userRoleValidation, validateBeforeTransition
public CertificationRequestTransition(ComponentsUtils componentUtils, ILifecycleOperation lifecycleOperation, ServiceDistributionArtifactsBuilder serviceDistributionArtifactsBuilder, ServiceBusinessLogic serviceBusinessLogic, CapabilityOperation capabilityOperation, ToscaExportHandler toscaExportUtils)
public LifeCycleTransitionEnum getName()
getName
in class LifeCycleTransition
public AuditingActionEnum getAuditingAction()
getAuditingAction
in class LifeCycleTransition
protected fj.data.Either<Boolean,ResponseFormat> validateAllResourceInstanceCertified(Component component)
public fj.data.Either<? extends Component,ResponseFormat> changeState(ComponentTypeEnum componentType, Component component, ComponentBusinessLogic componentBl, User modifier, User owner, boolean shouldLock, boolean inTransaction)
changeState
in class LifeCycleTransition
public fj.data.Either<Boolean,ResponseFormat> validateBeforeTransition(Component component, ComponentTypeEnum componentType, User modifier, User owner, LifecycleStateEnum oldState, LifecycleChangeInfoWithAction lifecycleChangeInfo)
validateBeforeTransition
in class LifeCycleTransition
Copyright © 2017. All rights reserved.