|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.schema.util.UserTypeUtil
public class UserTypeUtil
Utility class for easier manipulation of UserType. This exists because UserType is generated from XML (JAXB) and it is not practical to add methods there. So the methods that should be in UserType are here. Ugly, but work.
Constructor Summary | |
---|---|
UserTypeUtil()
|
Method Summary | |
---|---|
static ObjectReferenceType |
findAccountRef(UserType user,
java.lang.String resourceOid)
Returns accountRef for supplied OID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserTypeUtil()
Method Detail |
---|
public static ObjectReferenceType findAccountRef(UserType user, java.lang.String resourceOid)
oid
- OID of resource to look up in user accounts (must no be null)
java.lang.IllegalStateException
- if more than one reference exists for a resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |