public class P2PGridBasisResourceMetaAttributeDao extends Object implements DataDao, ResourceTypeDao
Constructor and Description |
---|
P2PGridBasisResourceMetaAttributeDao(ResourceTypeDao dao,
DaoContext context) |
public P2PGridBasisResourceMetaAttributeDao(ResourceTypeDao 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 ResourceTypeDao
DaoException
public List<ResourceType> listAllResourceTypes() throws DaoException
listAllResourceTypes
in interface ResourceTypeDao
DaoException
public List<ResourceType> listAllResourceTypes(String domainId) throws DaoException
listAllResourceTypes
in interface ResourceTypeDao
DaoException
public void addResourceType(ResourceType resourceType) throws DaoException
addResourceType
in interface ResourceTypeDao
DaoException
public void deleteResourceType(String domainId, String resourceTypeId) throws DaoException
deleteResourceType
in interface ResourceTypeDao
DaoException
public ResourceType getResourceType(String domainId, String resourceTypeId) throws DaoException
getResourceType
in interface ResourceTypeDao
DaoException
public boolean isResourceTypeExist(String domainId, String resourceTypeId) throws DaoException
isResourceTypeExist
in interface ResourceTypeDao
DaoException
public List<ResourceMetaAttribute> listAllResourceMetaAttributes() throws DaoException
listAllResourceMetaAttributes
in interface ResourceTypeDao
DaoException
public List<ResourceMetaAttribute> listAllResourceMetaAttributes(String domainId) throws DaoException
listAllResourceMetaAttributes
in interface ResourceTypeDao
DaoException
public void addResourceMetaAttribute(ResourceMetaAttribute metaAttribute) throws DaoException
addResourceMetaAttribute
in interface ResourceTypeDao
DaoException
public void deleteResourceMetaAttribute(String domainId, String attributeName) throws DaoException
deleteResourceMetaAttribute
in interface ResourceTypeDao
DaoException
public ResourceMetaAttribute getResourceMetaAttribute(String domainId, String attributeName) throws DaoException
getResourceMetaAttribute
in interface ResourceTypeDao
DaoException
public boolean isResourceMetaAttributeExist(String domainId, String resourceMetaAttributeId) throws DaoException
isResourceMetaAttributeExist
in interface ResourceTypeDao
DaoException
public void deleteResourceMetaAttribute(String domainId) throws DaoException
deleteResourceMetaAttribute
in interface ResourceTypeDao
DaoException
public void deleteResourceType(String domainId) throws DaoException
deleteResourceType
in interface ResourceTypeDao
DaoException