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 DataDaopublic void removeEntityListener()
removeEntityListener in interface DataDaopublic boolean updateDataSource(Data data) throws DataDaoException, UnmatchedDataTypeException
updateDataSource in interface DataDaoDataDaoExceptionUnmatchedDataTypeExceptionpublic boolean updateDataTarget(Data data) throws UnmatchedDataTypeException, DataDaoException
updateDataTarget in interface DataDaoUnmatchedDataTypeExceptionDataDaoExceptionpublic void clear()
throws DaoException
clear in interface ResourceTypeDaoDaoExceptionpublic List<ResourceType> listAllResourceTypes() throws DaoException
listAllResourceTypes in interface ResourceTypeDaoDaoExceptionpublic List<ResourceType> listAllResourceTypes(String domainId) throws DaoException
listAllResourceTypes in interface ResourceTypeDaoDaoExceptionpublic void addResourceType(ResourceType resourceType) throws DaoException
addResourceType in interface ResourceTypeDaoDaoExceptionpublic void deleteResourceType(String domainId, String resourceTypeId) throws DaoException
deleteResourceType in interface ResourceTypeDaoDaoExceptionpublic ResourceType getResourceType(String domainId, String resourceTypeId) throws DaoException
getResourceType in interface ResourceTypeDaoDaoExceptionpublic boolean isResourceTypeExist(String domainId, String resourceTypeId) throws DaoException
isResourceTypeExist in interface ResourceTypeDaoDaoExceptionpublic List<ResourceMetaAttribute> listAllResourceMetaAttributes() throws DaoException
listAllResourceMetaAttributes in interface ResourceTypeDaoDaoExceptionpublic List<ResourceMetaAttribute> listAllResourceMetaAttributes(String domainId) throws DaoException
listAllResourceMetaAttributes in interface ResourceTypeDaoDaoExceptionpublic void addResourceMetaAttribute(ResourceMetaAttribute metaAttribute) throws DaoException
addResourceMetaAttribute in interface ResourceTypeDaoDaoExceptionpublic void deleteResourceMetaAttribute(String domainId, String attributeName) throws DaoException
deleteResourceMetaAttribute in interface ResourceTypeDaoDaoExceptionpublic ResourceMetaAttribute getResourceMetaAttribute(String domainId, String attributeName) throws DaoException
getResourceMetaAttribute in interface ResourceTypeDaoDaoExceptionpublic boolean isResourceMetaAttributeExist(String domainId, String resourceMetaAttributeId) throws DaoException
isResourceMetaAttributeExist in interface ResourceTypeDaoDaoExceptionpublic void deleteResourceMetaAttribute(String domainId) throws DaoException
deleteResourceMetaAttribute in interface ResourceTypeDaoDaoExceptionpublic void deleteResourceType(String domainId) throws DaoException
deleteResourceType in interface ResourceTypeDaoDaoException