edu.internet2.middleware.grouper.internal.dao.hib3
Class Hib3GroupTypeTupleDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupTypeTupleDAO
- All Implemented Interfaces:
- GrouperDAO, GroupTypeTupleDAO
public class Hib3GroupTypeTupleDAO
- extends Hib3DAO
- implements GroupTypeTupleDAO
Basic Hibernate Group
and GroupType
tuple DAO interface.
- Since:
- @HEAD@
- Version:
- $Id: Hib3GroupTypeTupleDAO.java,v 1.6 2009-03-24 17:12:08 mchyzer Exp $
- Author:
- blair christensen.
Hib3GroupTypeTupleDAO
public Hib3GroupTypeTupleDAO()
findByGroupAndType
public static GroupTypeTuple findByGroupAndType(Group g,
GroupType type)
throws GrouperDAOException
- Parameters:
g
- type
-
- Returns:
- the group type tuple
- Throws:
GrouperDAOException
findByGroupAndType
public static GroupTypeTuple findByGroupAndType(Group g,
GroupType type,
boolean exceptionIfNotExist)
throws GrouperDAOException
- Parameters:
g
- type
- exceptionIfNotExist
- should this throw an exception if not exist?
- Returns:
- the group type tuple
- Throws:
GrouperDAOException
findByUuidOrKey
public GroupTypeTuple findByUuidOrKey(String uuid,
String groupUuid,
String typeUuid,
boolean exceptionIfNull)
throws GrouperDAOException
- Specified by:
findByUuidOrKey
in interface GroupTypeTupleDAO
- Returns:
- the stem or null
- Throws:
GrouperDAOException
- See Also:
GroupTypeTupleDAO.findByUuidOrKey(java.lang.String, java.lang.String, java.lang.String, boolean)
saveUpdateProperties
public void saveUpdateProperties(GroupTypeTuple groupTypeTuple)
- Description copied from interface:
GroupTypeTupleDAO
- save the update properties which are auto saved when business method is called
- Specified by:
saveUpdateProperties
in interface GroupTypeTupleDAO
- See Also:
GroupTypeTupleDAO.saveUpdateProperties(edu.internet2.middleware.grouper.GroupTypeTuple)
update
public void update(GroupTypeTuple groupTypeTuple)
throws GrouperDAOException
- Description copied from interface:
GroupTypeTupleDAO
- update in db
- Specified by:
update
in interface GroupTypeTupleDAO
- Throws:
GrouperDAOException
- See Also:
GroupTypeTupleDAO.update(edu.internet2.middleware.grouper.GroupTypeTuple)
save
public void save(GroupTypeTuple groupTypeTuple)
throws GrouperDAOException
- Description copied from interface:
GroupTypeTupleDAO
- save in db
- Specified by:
save
in interface GroupTypeTupleDAO
- Throws:
GrouperDAOException
- See Also:
GroupTypeTupleDAO.save(edu.internet2.middleware.grouper.GroupTypeTuple)
delete
public void delete(GroupTypeTuple groupTypeTuple)
throws GrouperDAOException
- Description copied from interface:
GroupTypeTupleDAO
- delete in db
- Specified by:
delete
in interface GroupTypeTupleDAO
- Throws:
GrouperDAOException
- See Also:
GroupTypeTupleDAO.delete(edu.internet2.middleware.grouper.GroupTypeTuple)