public class P2PGridBasisServiceMetaAttributeDao extends Object implements DataDao, ServiceTypeDao
Constructor and Description |
---|
P2PGridBasisServiceMetaAttributeDao(ServiceTypeDao dao,
DaoContext context) |
public P2PGridBasisServiceMetaAttributeDao(ServiceTypeDao dao, DaoContext context)
public void setEntityListener()
setEntityListener
in interface DataDao
public void removeEntityListener()
removeEntityListener
in interface DataDao
public boolean updateDataSource(Data data) throws DataDaoException, UnmatchedDataTypeException
updateDataSource
in interface DataDao
DataDaoException
UnmatchedDataTypeException
public boolean updateDataTarget(Data data) throws UnmatchedDataTypeException, DataDaoException
updateDataTarget
in interface DataDao
UnmatchedDataTypeException
DataDaoException
public void clear() throws DaoException
clear
in interface ServiceTypeDao
DaoException
public List<ServiceType> listAllServiceTypes() throws DaoException
listAllServiceTypes
in interface ServiceTypeDao
DaoException
public List<ServiceType> listAllServiceTypes(String domainId) throws DaoException
listAllServiceTypes
in interface ServiceTypeDao
DaoException
public void addServiceType(ServiceType serviceType) throws DaoException
addServiceType
in interface ServiceTypeDao
DaoException
public void deleteServiceType(String domainId, String serviceTypeId) throws DaoException
deleteServiceType
in interface ServiceTypeDao
DaoException
public ServiceType getServiceType(String domainId, String serviceTypeId) throws DaoException
getServiceType
in interface ServiceTypeDao
DaoException
public boolean isServiceTypeExist(String domainId, String serviceTypeId) throws DaoException
isServiceTypeExist
in interface ServiceTypeDao
DaoException
public List<ServiceMetaAttribute> listAllServiceMetaAttributes() throws DaoException
listAllServiceMetaAttributes
in interface ServiceTypeDao
DaoException
public List<ServiceMetaAttribute> listAllServiceMetaAttributes(String domainId) throws DaoException
listAllServiceMetaAttributes
in interface ServiceTypeDao
DaoException
public void addServiceMetaAttribute(ServiceMetaAttribute metaAttribute) throws DaoException
addServiceMetaAttribute
in interface ServiceTypeDao
DaoException
public void deleteServiceMetaAttribute(String domainId, String attributeName) throws DaoException
deleteServiceMetaAttribute
in interface ServiceTypeDao
DaoException
public ServiceMetaAttribute getServiceMetaAttribute(String domainId, String attributeName) throws DaoException
getServiceMetaAttribute
in interface ServiceTypeDao
DaoException
public boolean isServiceMetaAttributeExist(String domainId, String serviceMetaAttributeId) throws DaoException
isServiceMetaAttributeExist
in interface ServiceTypeDao
DaoException
public void deleteServiceMetaAttribute(String domainId) throws DaoException
deleteServiceMetaAttribute
in interface ServiceTypeDao
DaoException
public void deleteServiceType(String domainId) throws DaoException
deleteServiceType
in interface ServiceTypeDao
DaoException