public class Hib3FieldDAO extends Hib3DAO implements FieldDAO
Field DAO interface.| Constructor and Description |
|---|
Hib3FieldDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
createOrUpdate(Field field) |
void |
delete(Field field)
Delete field
|
void |
delete(Set<Field> fields)
Delete fields
|
boolean |
existsByName(String name) |
Set<Field> |
findAll() |
Set<Field> |
findAllByType(FieldType type)
Deprecated.
use the FieldFinder instead
|
Field |
findByUuidOrName(String uuid,
String name,
boolean exceptionIfNull) |
Field |
findByUuidOrName(String uuid,
String name,
boolean exceptionIfNull,
QueryOptions queryOptions) |
boolean |
isInUse(Field f) |
protected static void |
reset(HibernateSession hibernateSession) |
void |
saveUpdateProperties(Field field)
save the update properties which are auto saved when business method is called
|
void |
update(Field field)
update in db
|
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, sessionpublic boolean existsByName(String name) throws GrouperDAOException
existsByName in interface FieldDAOname - GrouperDAOExceptionpublic Set<Field> findAll() throws GrouperException
findAll in interface FieldDAOGrouperException@Deprecated public Set<Field> findAllByType(FieldType type) throws GrouperDAOException
findAllByType in interface FieldDAOtype - GrouperDAOExceptionpublic boolean isInUse(Field f) throws GrouperDAOException, SchemaException
isInUse in interface FieldDAOf - GrouperDAOExceptionSchemaExceptionpublic void createOrUpdate(Field field)
createOrUpdate in interface FieldDAOFieldDAO.createOrUpdate(edu.internet2.middleware.grouper.Field)public Field findByUuidOrName(String uuid, String name, boolean exceptionIfNull) throws GrouperDAOException
findByUuidOrName in interface FieldDAOGrouperDAOExceptionFieldDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean)public Field findByUuidOrName(String uuid, String name, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException
findByUuidOrName in interface FieldDAOGrouperDAOExceptionFieldDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean, QueryOptions)public void saveUpdateProperties(Field field)
FieldDAOsaveUpdateProperties in interface FieldDAOFieldDAO.saveUpdateProperties(edu.internet2.middleware.grouper.Field)public void update(Field field) throws GrouperDAOException
FieldDAOupdate in interface FieldDAOGrouperDAOExceptionFieldDAO.update(edu.internet2.middleware.grouper.Field)public void delete(Field field)
FieldDAOdelete in interface FieldDAOFieldDAO.delete(edu.internet2.middleware.grouper.Field)public void delete(Set<Field> fields)
FieldDAOdelete in interface FieldDAOFieldDAO.delete(java.util.Set)protected static void reset(HibernateSession hibernateSession) throws org.hibernate.HibernateException
hibernateSession - org.hibernate.HibernateExceptionCopyright © 2016 Internet2. All rights reserved.