|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.policy.ReferralTypeManager
The class ReferralTypeManager
provides
methods to get a list of configured Referral
objects
Method Summary | |
java.lang.String |
getDisplayName(java.lang.String referralType)
Gets the display name for the referral type |
java.lang.String |
getI18NKey(java.lang.String referralType)
Returns the I18N key to be used to localize the display name for the referral type name. |
Referral |
getReferral(java.lang.String referralType)
Returns an instance of the Referral
given the referral type name. |
java.lang.String |
getReferralTypeName(Referral referral)
Returns the type of the Referral implementation. |
java.util.Set |
getReferralTypeNames()
Returns a set of all valid referral type names defined by the policy service. |
java.util.Set |
getSelectedReferralTypeNames()
Returns a set of valid referral type names configured for the organization. |
java.lang.String |
getViewBeanURL(Referral referral)
Gets the view bean URL given the Referral |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.util.Set getReferralTypeNames() throws SSOException, PolicyException
PeerOrgReferral
, SubOrgReferral
SSOException
- if the SSOToken
used to create
the PolicyManager
has become invalidPolicyException
- for any other abnormal conditionpublic java.util.Set getSelectedReferralTypeNames() throws SSOException, PolicyException
PeerOrgReferral
, SubOrgReferral
SSOException
- if the SSOToken
used to create
the PolicyManager
has become invalidPolicyException
- for any other abnormal conditionpublic java.lang.String getReferralTypeName(Referral referral)
Referral
implementation.
For example, PeerOrgReferral
, SubOrgReferral
referral
- referral object for which this method will
return its associated typePeerOrgReferral
,
SubOrgReferral
Returns null
if not present.public java.lang.String getI18NKey(java.lang.String referralType)
referralType
- referral type namepublic java.lang.String getDisplayName(java.lang.String referralType)
referralType
- referral typepublic Referral getReferral(java.lang.String referralType) throws NameNotFoundException, PolicyException
Referral
given the referral type name.referralType
- type of referral.Referral
given the referral type
name.NameNotFoundException
- if the Referral
for the
referralType
name is not foundPolicyException
- for any other abnormal conditionpublic java.lang.String getViewBeanURL(Referral referral)
referral
- referral for which to get the view bean URLPluginSchema
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |