|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.FieldFinder
public class FieldFinder
Find fields.
Constructor Summary | |
---|---|
FieldFinder()
|
Method Summary | |
---|---|
static void |
clearCache()
clear cache (e.g. if schema export) |
static Field |
find(java.lang.String name)
Deprecated. |
static Field |
find(java.lang.String name,
boolean exceptionIfNotFound)
Get the specified field. |
static Field |
find(java.lang.String name,
boolean exceptionIfNotFound,
boolean includePrivilegeSearch)
Get the specified field. |
static java.util.Set |
findAll()
Find all fields. |
static java.util.Set<Field> |
findAllByGroupType(GroupType groupType)
|
static java.util.Set<Field> |
findAllByGroupType(java.lang.String groupTypeId)
|
static java.util.Set<Field> |
findAllByType(FieldType type)
Find all fields of the specified type. |
static java.util.List<java.lang.String> |
findAllIdsByType(FieldType type)
find all ids by type |
static Field |
findById(java.lang.String fieldId)
Deprecated. use the overload |
static Field |
findById(java.lang.String fieldId,
boolean exceptionIfNull)
Get the specified field by id. |
static java.lang.String |
findFieldId(java.lang.String name,
java.lang.String type)
Deprecated. |
static java.lang.String |
findFieldId(java.lang.String name,
java.lang.String type,
boolean exceptionIfNull)
|
static java.util.Map<java.lang.String,Field> |
internal_updateKnownFields()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldFinder()
Method Detail |
---|
@Deprecated public static java.lang.String findFieldId(java.lang.String name, java.lang.String type)
name
- type
-
public static java.lang.String findFieldId(java.lang.String name, java.lang.String type, boolean exceptionIfNull)
name
- type
- exceptionIfNull
-
public static java.util.List<java.lang.String> findAllIdsByType(FieldType type)
type
-
@Deprecated public static Field find(java.lang.String name) throws SchemaException
Field f = FieldFinder.find(field);
name
- Name of Field
to return.
SchemaException
public static Field find(java.lang.String name, boolean exceptionIfNotFound)
Field f = FieldFinder.find(field);
name
- Name of Field
to return.exceptionIfNotFound
- true if exception if not found, otherwise null
SchemaException
public static Field find(java.lang.String name, boolean exceptionIfNotFound, boolean includePrivilegeSearch) throws SchemaException
Field f = FieldFinder.find(field);
name
- Name of Field
to return.exceptionIfNotFound
- true if exception if not found, otherwise nullincludePrivilegeSearch
- if should also use name as privilege
SchemaException
@Deprecated public static Field findById(java.lang.String fieldId)
fieldId
- fieldId
public static Field findById(java.lang.String fieldId, boolean exceptionIfNull)
fieldId
- fieldIdexceptionIfNull
-
public static java.util.Set findAll() throws GrouperException
Set fields = FieldFinder.findAll();
Set
of Field
objects.
GrouperException
public static java.util.Set<Field> findAllByGroupType(GroupType groupType) throws GrouperDAOException
groupType
-
GrouperDAOException
public static java.util.Set<Field> findAllByGroupType(java.lang.String groupTypeId) throws GrouperDAOException
groupTypeId
-
GrouperDAOException
public static java.util.Set<Field> findAllByType(FieldType type) throws SchemaException
Set types = FieldFinder.findAllByType(type);
type
-
SchemaException
public static java.util.Map<java.lang.String,Field> internal_updateKnownFields()
public static void clearCache()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |