|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.ObjectReference
wt.org.WTPrincipalReference
public class WTPrincipalReference
Reference to a principal object.
Use the newWTPrincipalReference static factory method(s),
not the WTPrincipalReference constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
String |
getDisplayName()
Supported API: true |
String |
getIdentity()
Return the nice string of the referenced object's identity. |
WTPrincipal |
getPrincipal()
Returns principal referenced by object. |
String |
getUniqueDisplayIdentifier()
The method provides one unique display format of a principal for user: Last Name, First Name (uid: orgname) or Last Name, First Name (email) for external group: Group Name (org name) for internal group: Group Name (team name) for organization: Org Name (orgid) Supported API: true |
protected void |
initialize(ObjectIdentifier id)
Supports initialization, following construction of an instance. |
protected void |
initialize(String dn,
String repository)
Supports initialization, following construction of an instance. |
protected void |
initialize(WTPrincipal principal)
Supports initialization, following construction of an instance. |
protected void |
initialize(WTPrincipalReference principalReference)
Supports initialization, following construction of an instance. |
static WTPrincipalReference |
newWTPrincipalReference()
Supported API: true |
static WTPrincipalReference |
newWTPrincipalReference(ObjectIdentifier id)
Constructs a principal out of its database identifier. |
static WTPrincipalReference |
newWTPrincipalReference(String dn,
String repository)
Constructs a principal reference from a directory distinguished name and the name of the directory repository that holds the entry specified by the distinguished name. |
static WTPrincipalReference |
newWTPrincipalReference(WTPrincipal principal)
Creates reference given a principal. |
static WTPrincipalReference |
newWTPrincipalReference(WTPrincipalReference principalReference)
Creates reference given a principal reference. |
void |
refresh()
Refresh the WTPrincipalReference using the OrganizationService's principal cache. |
String |
toString()
Returns string representation of the reference. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static WTPrincipalReference newWTPrincipalReference()
throws WTException
WTException
public static WTPrincipalReference newWTPrincipalReference(WTPrincipal principal)
throws WTException
principal -
WTException
protected void initialize(WTPrincipal principal)
throws WTException
principal -
WTException
public static WTPrincipalReference newWTPrincipalReference(WTPrincipalReference principalReference)
throws WTException
principalReference -
WTException
protected void initialize(WTPrincipalReference principalReference)
throws WTException
principalReference -
WTException
public static WTPrincipalReference newWTPrincipalReference(ObjectIdentifier id)
throws WTException
id -
WTException
protected void initialize(ObjectIdentifier id)
throws WTException
id -
WTException
public static WTPrincipalReference newWTPrincipalReference(String dn,
String repository)
throws WTException
dn - repository -
WTException
protected void initialize(String dn,
String repository)
throws WTException
dn - repository -
WTException
public String getDisplayName()
throws WTException
WTException
public WTPrincipal getPrincipal()
throws WTException
WTExceptionpublic String getIdentity()
public void refresh()
throws WTException
WTExceptionpublic String toString()
public String getUniqueDisplayIdentifier()
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||