edu.internet2.middleware.grouper.internal.dao.hib3
Class Hib3AttributeDAO

java.lang.Object
  extended by edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDAO
All Implemented Interfaces:
AttributeDAO, GrouperDAO

public class Hib3AttributeDAO
extends java.lang.Object
implements AttributeDAO

marker class for hbm loading


Constructor Summary
Hib3AttributeDAO()
           
 
Method Summary
 void createOrUpdate(Attribute attribute)
           
 void delete(Attribute attribute)
          delete an attribute from the database
 java.util.Map<java.lang.String,Attribute> findAllAttributesByGroup(java.lang.String uuid)
           
 Attribute findByUuidOrName(java.lang.String id, java.lang.String groupUUID, java.lang.String fieldId, boolean exceptionIfNotFound)
           
 void saveUpdateProperties(Attribute attribute)
          save the update properties which are auto saved when business method is called
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hib3AttributeDAO

public Hib3AttributeDAO()
Method Detail

findAllAttributesByGroup

public java.util.Map<java.lang.String,Attribute> findAllAttributesByGroup(java.lang.String uuid)
                                                                   throws GrouperDAOException
Specified by:
findAllAttributesByGroup in interface AttributeDAO
Parameters:
uuid -
Returns:
map
Throws:
GrouperDAOException
Since:
@HEAD@

createOrUpdate

public void createOrUpdate(Attribute attribute)
Specified by:
createOrUpdate in interface AttributeDAO
See Also:
AttributeDAO.createOrUpdate(edu.internet2.middleware.grouper.Attribute)

delete

public void delete(Attribute attribute)
Description copied from interface: AttributeDAO
delete an attribute from the database

Specified by:
delete in interface AttributeDAO
See Also:
AttributeDAO.delete(edu.internet2.middleware.grouper.Attribute)

findByUuidOrName

public Attribute findByUuidOrName(java.lang.String id,
                                  java.lang.String groupUUID,
                                  java.lang.String fieldId,
                                  boolean exceptionIfNotFound)
Specified by:
findByUuidOrName in interface AttributeDAO
Returns:
the attribute or null
See Also:
AttributeDAO.findByUuidOrName(java.lang.String, java.lang.String, java.lang.String, boolean)

saveUpdateProperties

public void saveUpdateProperties(Attribute attribute)
Description copied from interface: AttributeDAO
save the update properties which are auto saved when business method is called

Specified by:
saveUpdateProperties in interface AttributeDAO
See Also:
AttributeDAO.saveUpdateProperties(edu.internet2.middleware.grouper.Attribute)