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