uk.ac.soton.itinnovation.grid.service.dataresource.beans
Class DataResourceSubscriptionDAO<Type extends DataResourceSubscriptionBean>

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.dataresource.beans.BaseHibernateDAO<Type>
      extended by uk.ac.soton.itinnovation.grid.service.dataresource.beans.DataResourceSubscriptionDAO<Type>
Direct Known Subclasses:
OgsaDaiDataResourceSubscriptionDAO

public abstract class DataResourceSubscriptionDAO<Type extends DataResourceSubscriptionBean>
extends BaseHibernateDAO<Type>


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.dataresource.beans.BaseHibernateDAO
factory, pdp
 
Constructor Summary
DataResourceSubscriptionDAO()
           
 
Method Summary
 Type create(StorableInStateRepository managingConversation, String label, DataResourceRoleBean role)
           
 List<Type> findAll()
           
 Type findByID(String resourceID)
           
 List<Type> findByPBACRole(SubjectDescription subject, String additionalRoleName)
           
 int findNumberOfSubscribersToRole(String roleResourceID)
           
 List<String> findSubscriberIDsOnRole(String roleResourceID)
           
protected  void setupBean(DataResourceRoleBean role, Type bean)
           
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.dataresource.beans.BaseHibernateDAO
createBeanHook, deleteBean, findAll, findByID, findByPBACRole, findByReference, findIDsByReference, getBeanClass, storeBean, updateBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataResourceSubscriptionDAO

public DataResourceSubscriptionDAO()
Method Detail

create

public final Type create(StorableInStateRepository managingConversation,
                         String label,
                         DataResourceRoleBean role)

setupBean

protected final void setupBean(DataResourceRoleBean role,
                               Type bean)
Parameters:
role -
bean -

findAll

public List<Type> findAll()

findByID

public Type findByID(String resourceID)

findByPBACRole

public List<Type> findByPBACRole(SubjectDescription subject,
                                 String additionalRoleName)
                                                               throws RemoteException
Throws:
RemoteException

findSubscriberIDsOnRole

public List<String> findSubscriberIDsOnRole(String roleResourceID)

findNumberOfSubscribersToRole

public int findNumberOfSubscribersToRole(String roleResourceID)


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.