public class JsonicServiceTypeDao extends Object implements ServiceTypeDao
Constructor and Description |
---|
JsonicServiceTypeDao(JsonicDaoContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addServiceMetaAttribute(ServiceMetaAttribute metaAttribute) |
void |
addServiceType(ServiceType serviceType) |
void |
clear() |
void |
deleteServiceMetaAttribute(String domainId) |
void |
deleteServiceMetaAttribute(String domainId,
String attributeName) |
void |
deleteServiceType(String domainId) |
void |
deleteServiceType(String domainId,
String serviceTypeId) |
ServiceMetaAttribute |
getServiceMetaAttribute(String domainId,
String attributeName) |
ServiceType |
getServiceType(String domainId,
String serviceTypeId) |
boolean |
isServiceMetaAttributeExist(String domainId,
String serviceMetaAttributeId) |
boolean |
isServiceTypeExist(String domainId,
String serviceTypeId) |
List<ServiceMetaAttribute> |
listAllServiceMetaAttributes() |
List<ServiceMetaAttribute> |
listAllServiceMetaAttributes(String domainId) |
List<ServiceType> |
listAllServiceTypes() |
List<ServiceType> |
listAllServiceTypes(String domainId) |
public JsonicServiceTypeDao(JsonicDaoContext context)
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 deleteServiceType(String domainId) throws DaoException
deleteServiceType
in interface ServiceTypeDao
DaoException
public void deleteServiceMetaAttribute(String domainId) throws DaoException
deleteServiceMetaAttribute
in interface ServiceTypeDao
DaoException