public class VendorSoftwareProductDaoImpl extends Object implements VendorSoftwareProductDao
Modifier and Type | Field and Description |
---|---|
static org.openecomp.core.model.dao.ServiceTemplateDaoInter |
templateDao |
Constructor and Description |
---|
VendorSoftwareProductDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
createComponentDependencyModel(List<ComponentDependencyModelEntity> componentDependencyModel,
String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
void |
createCompute(ComputeEntity computeEntity) |
void |
createDeploymentFlavor(DeploymentFlavorEntity deploymentFlavor) |
void |
createImage(ImageEntity imageEntity) |
void |
createProcess(ProcessEntity processEntity) |
void |
deleteCompute(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String computeFlavorId) |
void |
deleteDeploymentFlavor(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String deploymentFlavorId) |
void |
deleteImage(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String imageId) |
void |
deleteProcess(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String processId) |
void |
deleteProcessArtifact(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String processId) |
void |
deleteProcesses(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId) |
void |
deleteUploadData(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
ComputeEntity |
getCompute(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String computeFlavorId) |
DeploymentFlavorEntity |
getDeploymentFlavor(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String deploymentFlavorId) |
ImageEntity |
getImage(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String imageId) |
ProcessEntity |
getProcess(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String processId) |
ProcessEntity |
getProcessArtifact(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String processId) |
Collection<ComponentDependencyModelEntity> |
listComponentDependencies(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<ComponentEntity> |
listComponents(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<ComponentEntity> |
listComponentsCompositionAndQuestionnaire(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<ComponentEntity> |
listComponentsQuestionnaire(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<ComputeEntity> |
listComputes(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId) |
Collection<ComputeEntity> |
listComputesByVsp(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<DeploymentFlavorEntity> |
listDeploymentFlavors(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<ImageEntity> |
listImages(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId) |
Collection<ImageEntity> |
listImagesByVsp(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<NicEntity> |
listNicsByVsp(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<ProcessEntity> |
listProcesses(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId) |
void |
registerVersioning(String versionableEntityType) |
void |
updateCompute(ComputeEntity compute) |
void |
updateComputeQuestionnaire(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String computeId,
String questionnaireData) |
void |
updateDeploymentFlavor(DeploymentFlavorEntity deploymentFlavorEntity) |
void |
updateImage(ImageEntity imageEntity) |
void |
updateImageQuestionnaire(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String imageId,
String questionnaireData) |
void |
updateProcess(ProcessEntity processEntity) |
void |
uploadProcessArtifact(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String componentId,
String processId,
byte[] artifact,
String artifactName) |
public static final org.openecomp.core.model.dao.ServiceTemplateDaoInter templateDao
public void registerVersioning(String versionableEntityType)
registerVersioning
in interface org.openecomp.sdc.versioning.dao.VersionableDao
public Collection<ComponentEntity> listComponents(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listComponents
in interface VendorSoftwareProductDao
public Collection<ComponentEntity> listComponentsQuestionnaire(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listComponentsQuestionnaire
in interface VendorSoftwareProductDao
public Collection<ComponentEntity> listComponentsCompositionAndQuestionnaire(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listComponentsCompositionAndQuestionnaire
in interface VendorSoftwareProductDao
public Collection<ProcessEntity> listProcesses(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId)
listProcesses
in interface VendorSoftwareProductDao
public void deleteProcesses(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId)
deleteProcesses
in interface VendorSoftwareProductDao
public ProcessEntity getProcess(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String processId)
getProcess
in interface VendorSoftwareProductDao
public void createProcess(ProcessEntity processEntity)
createProcess
in interface VendorSoftwareProductDao
public void updateProcess(ProcessEntity processEntity)
updateProcess
in interface VendorSoftwareProductDao
public void deleteProcess(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String processId)
deleteProcess
in interface VendorSoftwareProductDao
public void uploadProcessArtifact(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String processId, byte[] artifact, String artifactName)
uploadProcessArtifact
in interface VendorSoftwareProductDao
public ProcessEntity getProcessArtifact(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String processId)
getProcessArtifact
in interface VendorSoftwareProductDao
public void deleteProcessArtifact(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String processId)
deleteProcessArtifact
in interface VendorSoftwareProductDao
public Collection<NicEntity> listNicsByVsp(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listNicsByVsp
in interface VendorSoftwareProductDao
public void deleteUploadData(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
deleteUploadData
in interface VendorSoftwareProductDao
public void createComponentDependencyModel(List<ComponentDependencyModelEntity> componentDependencyModel, String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
createComponentDependencyModel
in interface VendorSoftwareProductDao
public Collection<ComponentDependencyModelEntity> listComponentDependencies(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listComponentDependencies
in interface VendorSoftwareProductDao
public void createDeploymentFlavor(DeploymentFlavorEntity deploymentFlavor)
createDeploymentFlavor
in interface VendorSoftwareProductDao
public Collection<DeploymentFlavorEntity> listDeploymentFlavors(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listDeploymentFlavors
in interface VendorSoftwareProductDao
public DeploymentFlavorEntity getDeploymentFlavor(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String deploymentFlavorId)
getDeploymentFlavor
in interface VendorSoftwareProductDao
public void deleteDeploymentFlavor(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String deploymentFlavorId)
deleteDeploymentFlavor
in interface VendorSoftwareProductDao
public void createImage(ImageEntity imageEntity)
createImage
in interface VendorSoftwareProductDao
public Collection<ImageEntity> listImages(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId)
listImages
in interface VendorSoftwareProductDao
public ImageEntity getImage(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String imageId)
getImage
in interface VendorSoftwareProductDao
public Collection<ImageEntity> listImagesByVsp(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listImagesByVsp
in interface VendorSoftwareProductDao
public void createCompute(ComputeEntity computeEntity)
createCompute
in interface VendorSoftwareProductDao
public Collection<ComputeEntity> listComputes(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId)
listComputes
in interface VendorSoftwareProductDao
public Collection<ComputeEntity> listComputesByVsp(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
listComputesByVsp
in interface VendorSoftwareProductDao
public ComputeEntity getCompute(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String computeFlavorId)
getCompute
in interface VendorSoftwareProductDao
public void deleteImage(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String imageId)
deleteImage
in interface VendorSoftwareProductDao
public void updateDeploymentFlavor(DeploymentFlavorEntity deploymentFlavorEntity)
updateDeploymentFlavor
in interface VendorSoftwareProductDao
public void updateImage(ImageEntity imageEntity)
updateImage
in interface VendorSoftwareProductDao
public void updateImageQuestionnaire(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String imageId, String questionnaireData)
updateImageQuestionnaire
in interface VendorSoftwareProductDao
public void updateComputeQuestionnaire(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String computeId, String questionnaireData)
updateComputeQuestionnaire
in interface VendorSoftwareProductDao
public void updateCompute(ComputeEntity compute)
updateCompute
in interface VendorSoftwareProductDao
public void deleteCompute(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String componentId, String computeFlavorId)
deleteCompute
in interface VendorSoftwareProductDao
Copyright © 2017. All rights reserved.