public interface FieldDAO extends GrouperDAO
Field DAO interface.| 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) |
void |
saveUpdateProperties(Field field)
save the update properties which are auto saved when business method is called
|
void |
update(Field field)
update in db
|
void createOrUpdate(Field field)
field - boolean existsByName(String name) throws GrouperDAOException
name - GrouperDAOExceptionSet<Field> findAll() throws GrouperException
GrouperException@Deprecated Set<Field> findAllByType(FieldType type) throws GrouperDAOException
type - GrouperDAOExceptionvoid update(Field field) throws GrouperDAOException
field - GrouperDAOExceptionboolean isInUse(Field f) throws GrouperDAOException, SchemaException
f - GrouperDAOExceptionSchemaExceptionField findByUuidOrName(String uuid, String name, boolean exceptionIfNull) throws GrouperDAOException
uuid - name - exceptionIfNull - GrouperDAOExceptionField findByUuidOrName(String uuid, String name, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException
uuid - name - exceptionIfNull - queryOptions - GrouperDAOExceptionvoid saveUpdateProperties(Field field)
field - void delete(Field field)
field - Copyright © 2016 Internet2. All rights reserved.