public class GroupTypeFinder extends Object
| Constructor and Description |
|---|
GroupTypeFinder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCache()
clear cache (e.g.
|
static GroupType |
find(String name)
Deprecated.
|
static GroupType |
find(String name,
boolean exceptionIfNotFound)
Deprecated.
|
static Set |
findAll()
Deprecated.
|
static Set |
findAllAssignable()
Deprecated.
|
static GroupType |
findByUuid(String typeUuid,
boolean exceptionIfNotFound)
Deprecated.
|
static Set<AttributeDefName> |
internal_findAllLegacyAttributes() |
static GroupType |
internal_findGroupTypeByField(Field field,
boolean exceptionIfNoGroupType) |
static void |
internal_updateKnownTypes() |
public static GroupType find(String name, boolean exceptionIfNotFound) throws SchemaException
GroupType.
A SchemaException will be thrown if the type is not found.
try {
GroupType type = GroupTypeFinder.find(name);
}
catch (SchemaException eS) {
// type does not exist
}
name - Find GroupType with this name.exceptionIfNotFound - GroupTypeSchemaExceptionpublic static GroupType findByUuid(String typeUuid, boolean exceptionIfNotFound) throws SchemaException
GroupType.
A SchemaException will be thrown if the type is not found.
try {
GroupType type = GroupTypeFinder.find(name);
}
catch (SchemaException eS) {
// type does not exist
}
typeUuid - Find GroupType with this uuid.exceptionIfNotFound - GroupTypeSchemaException@Deprecated public static GroupType find(String name) throws SchemaException
GroupType.
A SchemaException will be thrown if the type is not found.
try {
GroupType type = GroupTypeFinder.find(name);
}
catch (SchemaException eS) {
// type does not exist
}
name - Find GroupType with this name.GroupTypeSchemaExceptionpublic static Set findAll()
Set types = GroupTypeFinder.findAll();
public static Set findAllAssignable()
Set types = GroupTypeFinder.findAllAssignable();
public static void internal_updateKnownTypes()
public static void clearCache()
public static GroupType internal_findGroupTypeByField(Field field, boolean exceptionIfNoGroupType)
field - exceptionIfNoGroupType - public static Set<AttributeDefName> internal_findAllLegacyAttributes()
Copyright © 2016 Internet2. All rights reserved.