public class VendorSoftwareProductInfoDaoImpl extends org.openecomp.core.dao.impl.CassandraBaseDao<VspDetails> implements VendorSoftwareProductInfoDao
Constructor and Description |
---|
VendorSoftwareProductInfoDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAll(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
protected Object[] |
getKeys(VspDetails entity) |
protected com.datastax.driver.mapping.Mapper<VspDetails> |
getMapper() |
VspQuestionnaireEntity |
getQuestionnaire(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
String |
getQuestionnaireData(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
boolean |
isManual(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version) |
Collection<VspDetails> |
list(VspDetails entity) |
void |
registerVersioning(String versionableEntityType) |
void |
updateOldVersionIndication(VspDetails vspDetails) |
void |
updateQuestionnaireData(String vspId,
org.openecomp.sdc.versioning.dao.types.Version version,
String questionnaireData) |
create, delete, get, update
public void registerVersioning(String versionableEntityType)
registerVersioning
in interface org.openecomp.sdc.versioning.dao.VersionableDao
protected com.datastax.driver.mapping.Mapper<VspDetails> getMapper()
getMapper
in class org.openecomp.core.dao.impl.CassandraBaseDao<VspDetails>
protected Object[] getKeys(VspDetails entity)
getKeys
in class org.openecomp.core.dao.impl.CassandraBaseDao<VspDetails>
public Collection<VspDetails> list(VspDetails entity)
list
in interface BaseDao<VspDetails>
public void updateOldVersionIndication(VspDetails vspDetails)
updateOldVersionIndication
in interface VendorSoftwareProductInfoDao
public void updateQuestionnaireData(String vspId, org.openecomp.sdc.versioning.dao.types.Version version, String questionnaireData)
updateQuestionnaireData
in interface VendorSoftwareProductInfoDao
public String getQuestionnaireData(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
getQuestionnaireData
in interface VendorSoftwareProductInfoDao
public VspQuestionnaireEntity getQuestionnaire(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
getQuestionnaire
in interface VendorSoftwareProductInfoDao
public void deleteAll(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
deleteAll
in interface VendorSoftwareProductInfoDao
public boolean isManual(String vspId, org.openecomp.sdc.versioning.dao.types.Version version)
isManual
in interface VendorSoftwareProductInfoDao
Copyright © 2017. All rights reserved.