Package edu.internet2.middleware.grouper
Class GroupTypeFinder
java.lang.Object
edu.internet2.middleware.grouper.GroupTypeFinder
Find group types.
- Version:
- $Id: GroupTypeFinder.java,v 1.35 2009-03-15 06:37:21 mchyzer Exp $
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear cache (e.g.static GroupType
Deprecated.static GroupType
Deprecated.static Set
findAll()
Deprecated.static Set
Deprecated.static GroupType
findByUuid
(String typeUuid, boolean exceptionIfNotFound) Deprecated.static Set<AttributeDefName>
static GroupType
internal_findGroupTypeByField
(Field field, boolean exceptionIfNoGroupType) static void
-
Constructor Details
-
GroupTypeFinder
public GroupTypeFinder()
-
-
Method Details
-
find
Deprecated.Find aGroupType
. ASchemaException
will be thrown if the type is not found.try { GroupType type = GroupTypeFinder.find(name); } catch (SchemaException eS) { // type does not exist }
- Parameters:
name
- FindGroupType
with this name.exceptionIfNotFound
-- Returns:
GroupType
- Throws:
SchemaException
-
findByUuid
public static GroupType findByUuid(String typeUuid, boolean exceptionIfNotFound) throws SchemaException Deprecated.Find aGroupType
. ASchemaException
will be thrown if the type is not found.try { GroupType type = GroupTypeFinder.find(name); } catch (SchemaException eS) { // type does not exist }
- Parameters:
typeUuid
- FindGroupType
with this uuid.exceptionIfNotFound
-- Returns:
GroupType
- Throws:
SchemaException
-
find
Deprecated.Find aGroupType
. ASchemaException
will be thrown if the type is not found.try { GroupType type = GroupTypeFinder.find(name); } catch (SchemaException eS) { // type does not exist }
- Parameters:
name
- FindGroupType
with this name.- Returns:
GroupType
- Throws:
SchemaException
-
findAll
Deprecated.Find all public group types.Set types = GroupTypeFinder.findAll();
-
findAllAssignable
Deprecated.Find all assignable group types.Set types = GroupTypeFinder.findAllAssignable();
-
internal_updateKnownTypes
public static void internal_updateKnownTypes() -
clearCache
public static void clearCache()clear cache (e.g. if schema export) -
internal_findGroupTypeByField
- Parameters:
field
-exceptionIfNoGroupType
-- Returns:
- groupType
-
internal_findAllLegacyAttributes
- Returns:
- legacy attributes
-