edu.internet2.middleware.grouper.internal.dao.hib3
Class Hib3FieldDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3FieldDAO
- All Implemented Interfaces:
- FieldDAO, GrouperDAO
public class Hib3FieldDAO
- extends Hib3DAO
- implements FieldDAO
Basic Hibernate Field
DAO interface.
- Since:
- @HEAD@
- Version:
- $Id: Hib3FieldDAO.java,v 1.16 2009-11-17 02:52:29 mchyzer Exp $
- Author:
- blair christensen.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hib3FieldDAO
public Hib3FieldDAO()
existsByName
public boolean existsByName(java.lang.String name)
throws GrouperDAOException
- Specified by:
existsByName
in interface FieldDAO
- Parameters:
name
-
- Returns:
- if exists
- Throws:
GrouperDAOException
- Since:
- @HEAD@
findAll
public java.util.Set<Field> findAll()
throws GrouperException
- Specified by:
findAll
in interface FieldDAO
- Returns:
- set of fields
- Throws:
GrouperException
- Since:
- @HEAD@
findAllFieldsByGroupType
@Deprecated
public java.util.Set<Field> findAllFieldsByGroupType(java.lang.String uuid)
throws GrouperDAOException
- Deprecated. use the FieldFinder method instead
- Specified by:
findAllFieldsByGroupType
in interface FieldDAO
- Parameters:
uuid
-
- Returns:
- set of fields
- Throws:
GrouperDAOException
- Since:
- @HEAD@
findAllByType
@Deprecated
public java.util.Set<Field> findAllByType(FieldType type)
throws GrouperDAOException
- Deprecated. use the FieldFinder instead
- Specified by:
findAllByType
in interface FieldDAO
- Parameters:
type
-
- Returns:
- set of fields
- Throws:
GrouperDAOException
- Since:
- @HEAD@
isInUse
public boolean isInUse(Field f)
throws GrouperDAOException,
SchemaException
- Specified by:
isInUse
in interface FieldDAO
- Parameters:
f
-
- Returns:
- if in use
- Throws:
GrouperDAOException
SchemaException
- Since:
- @HEAD@
createOrUpdate
public void createOrUpdate(Field field)
- Specified by:
createOrUpdate
in interface FieldDAO
- See Also:
FieldDAO.createOrUpdate(edu.internet2.middleware.grouper.Field)
findByUuidOrName
public Field findByUuidOrName(java.lang.String uuid,
java.lang.String name,
java.lang.String groupTypeUuid,
boolean exceptionIfNull)
throws GrouperDAOException
- Specified by:
findByUuidOrName
in interface FieldDAO
- Returns:
- the field or null
- Throws:
GrouperDAOException
- See Also:
FieldDAO.findByUuidOrName(java.lang.String, java.lang.String, java.lang.String, boolean)
saveUpdateProperties
public void saveUpdateProperties(Field field)
- Description copied from interface:
FieldDAO
- save the update properties which are auto saved when business method is called
- Specified by:
saveUpdateProperties
in interface FieldDAO
- See Also:
FieldDAO.saveUpdateProperties(edu.internet2.middleware.grouper.Field)
update
public void update(Field field)
throws GrouperDAOException
- Description copied from interface:
FieldDAO
- update in db
- Specified by:
update
in interface FieldDAO
- Throws:
GrouperDAOException
- See Also:
FieldDAO.update(edu.internet2.middleware.grouper.Field)