uk.ac.soton.itinnovation.grid.service.dataresource.beans
Class DataResourceDAO<Type extends DataResourceBean>

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.DataResourceDAO<Type>
Direct Known Subclasses:
OgsaDaiDataResourceDAO

public abstract class DataResourceDAO<Type extends DataResourceBean>
extends BaseHibernateDAO<Type>


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.dataresource.beans.BaseHibernateDAO
factory, pdp
 
Constructor Summary
DataResourceDAO()
           
 
Method Summary
 Type create(StorableInStateRepository managingConversation, String label, boolean createdByService, Map<String,String> attributes)
           
 List<Type> findAll()
           
 Type findByID(String resourceID)
           
 List<Type> findByPBACRole(SubjectDescription subject, String additionalRoleName)
           
protected  void setupBean(boolean createdByService, Map<String,String> attributes, 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

DataResourceDAO

public DataResourceDAO()
Method Detail

create

public Type create(StorableInStateRepository managingConversation,
                   String label,
                   boolean createdByService,
                   Map<String,String> attributes)

setupBean

protected final void setupBean(boolean createdByService,
                               Map<String,String> attributes,
                               Type bean)
Parameters:
createdByService -
attributes -
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


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