|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.CompositeFinder
public class CompositeFinder
Method Summary | |
---|---|
static java.util.Set<Composite> |
findAsFactor(Group g)
Find where the specified Group is a Composite
factor. |
static Composite |
findAsOwner(Group g)
Deprecated. use findAsOwner(Group, boolean) instead. |
static Composite |
findAsOwner(Group g,
boolean throwExceptionIfNotFound)
Find Composite owned by this Group . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Set<Composite> findAsFactor(Group g)
Group
is a Composite
factor.
Set composites = CompositeFinder.findAsFactor(g);
g
- Search on this Group
.
Composite
objects.@Deprecated public static Composite findAsOwner(Group g) throws CompositeNotFoundException, GroupNotFoundException
Composite
owned by this Group
.
Composite c = CompositeFinder.findAsOwner(g);
g
- Search on this Group
.
Composite
owned by this Group
.
CompositeNotFoundException
GroupNotFoundException
public static Composite findAsOwner(Group g, boolean throwExceptionIfNotFound) throws CompositeNotFoundException, GroupNotFoundException
Composite
owned by this Group
.
Composite c = CompositeFinder.findAsOwner(g, false);
g
- Search on this Group
.throwExceptionIfNotFound
- true to throw exception if not found
Composite
owned by this Group
.
CompositeNotFoundException
- if throwExceptionIfNotFound is true, and composite is not found
GroupNotFoundException
- if the group owner of composite cant be found (this is a problem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |