@Deprecated public class ReferralTypeManager extends Object
ReferralTypeManager
provides
methods to get a list of configured Referral
objectsModifier | Constructor and Description |
---|---|
protected |
ReferralTypeManager()
Deprecated.
Creates a
ReferralTypeManager object |
protected |
ReferralTypeManager(PolicyManager pm)
Deprecated.
Creates a
ReferralTypeManager object |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName(String referralType)
Deprecated.
Gets the display name for the referral type
|
String |
getI18NKey(String referralType)
Deprecated.
Returns the I18N key to be used to localize the
display name for the referral type name.
|
protected String |
getI18NPropertiesFileName(String referralType)
Deprecated.
Returns the I18N properties file name that should be
used to localize display names for the given
referral type.
|
Referral |
getReferral(String referralType)
Deprecated.
Returns an instance of the
Referral
given the referral type name. |
String |
getReferralTypeName(Referral referral)
Deprecated.
Returns the type of the
Referral implementation. |
Set |
getReferralTypeNames()
Deprecated.
Returns a set of all valid referral type names defined by the policy
service.
|
Set |
getSelectedReferralTypeNames()
Deprecated.
Returns a set of valid referral type names configured for the
organization.
|
String |
getViewBeanURL(Referral referral)
Deprecated.
Gets the view bean URL given the Referral
|
protected ReferralTypeManager() throws SSOException
ReferralTypeManager
objectSSOException
protected ReferralTypeManager(PolicyManager pm)
ReferralTypeManager
objectpm
- PolicyManager
to initialize
the ReferralTypeManager
withpublic Set getReferralTypeNames() throws SSOException, PolicyException
PeerOrgReferral
, SubOrgReferral
SSOException
- if the SSOToken
used to create
the PolicyManager
has become invalidPolicyException
- for any other abnormal conditionpublic Set getSelectedReferralTypeNames() throws SSOException, PolicyException
PeerOrgReferral
, SubOrgReferral
SSOException
- if the SSOToken
used to create
the PolicyManager
has become invalidPolicyException
- for any other abnormal conditionpublic 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.protected String getI18NPropertiesFileName(String referralType)
referralType
- referral type namepublic String getI18NKey(String referralType)
referralType
- referral type namepublic String getDisplayName(String referralType)
referralType
- referral typepublic Referral getReferral(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 conditionCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.