public class AbstractServiceModelDao extends Object implements VersionableDao
Modifier and Type | Field and Description |
---|---|
protected ServiceArtifactDaoInter |
artifactDao |
protected ServiceTemplateDaoInter |
templateDao |
Constructor and Description |
---|
AbstractServiceModelDao() |
Modifier and Type | Method and Description |
---|---|
ToscaServiceModel |
getServiceModel(String vspId,
Version version)
Gets service model.
|
List<String> |
getServiceModelContentNames() |
ServiceElement |
getServiceModelInfo(String vspId,
Version version,
String name)
Gets service model info.
|
void |
registerVersioning(String versionableEntityType) |
void |
storeExternalArtifact(ServiceArtifact serviceArtifact) |
void |
storeServiceModel(String vspId,
Version version,
ToscaServiceModel toscaServiceModel)
Store service model.
|
protected ServiceTemplateDaoInter templateDao
protected ServiceArtifactDaoInter artifactDao
public void registerVersioning(String versionableEntityType)
registerVersioning
in interface VersionableDao
public ToscaServiceModel getServiceModel(String vspId, Version version)
vspId
- the vsp idversion
- the versionpublic void storeExternalArtifact(ServiceArtifact serviceArtifact)
public void storeServiceModel(String vspId, Version version, ToscaServiceModel toscaServiceModel)
vspId
- the vsp idversion
- the versiontoscaServiceModel
- the tosca service modelpublic ServiceElement getServiceModelInfo(String vspId, Version version, String name)
vspId
- the vsp idversion
- the versionname
- the nameCopyright © 2017. All rights reserved.