|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.ExtensionsManager
This class manages dynamic attribute and evaluation function. Instances of
this class can be get from class RBAC_Context
.
Method Summary | |
AttributeElement |
createDynamicAttribute(java.lang.String name,
AttributeValueType type)
Create a new dynamic attribute. |
EvaluationFunction |
createEvaluationFunction(java.lang.String name)
Create a new evaluation function. |
AttributeElement |
getDynamicAttribute(java.lang.String attributeName)
Get a dynamic attribute with the specified name. |
AttributeQueryResult |
getDynamicAttributesByName(java.lang.String filterPattern)
Find all dynamic attributes whose names match the specified filter. |
AttributeQueryResult |
getDynamicAttributesByType(AttributeValueType type)
Find all dynamic attributes which have the specified type. |
EvaluationFunction |
getEvaluationFunction(java.lang.String evalFuncName)
Find an evaluation function with the specified name. |
EvaluationFunctionQueryResult |
getEvaluationFunctionsByName(java.lang.String filterPattern)
Find all evaluation functions whose names match the filter. |
void |
removeDynamicAttribute(java.lang.String name)
Delete an dynamic attribute with the specified name. |
void |
removeEvaluationFunction(java.lang.String name)
Delete an evaluation function with the specified name. |
void |
renameDynamicAttribute(java.lang.String oldName,
java.lang.String newName)
Rename an dynamic attribute. |
void |
renameEvaluationFunction(java.lang.String oldName,
java.lang.String newName)
Rename an evaluation function. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public AttributeElement createDynamicAttribute(java.lang.String name, AttributeValueType type) throws java.lang.IllegalArgumentException, ManagementException
name
- name of the attribute.type
- type of the attribute.public EvaluationFunction createEvaluationFunction(java.lang.String name) throws java.lang.IllegalArgumentException, ManagementException
name
- name of the evaluation function.public AttributeElement getDynamicAttribute(java.lang.String attributeName) throws java.lang.IllegalArgumentException, ManagementException
attributeName
- name of the dyanmic attribute.name
is invalid.public AttributeQueryResult getDynamicAttributesByName(java.lang.String filterPattern) throws java.lang.IllegalArgumentException, ManagementException
filterPattern
- name pattern to match.AttributeQueryResult
object which contains the
result.filterPattern
is null.public AttributeQueryResult getDynamicAttributesByType(AttributeValueType type) throws ManagementException
type
- the attribute type. null
value means for all
types.AttributeQueryResult
object which contains the
result.public EvaluationFunction getEvaluationFunction(java.lang.String evalFuncName) throws java.lang.IllegalArgumentException, ManagementException
evalFuncName
- evaluation function name.evalFuncName
is invalid.public EvaluationFunctionQueryResult getEvaluationFunctionsByName(java.lang.String filterPattern) throws java.lang.IllegalArgumentException, ManagementException
filterPattern
- the filter.EvaluationFunctionQueryResult
which contains
the result.filterPattern
is null.public void removeDynamicAttribute(java.lang.String name) throws java.lang.IllegalArgumentException, ManagementException
name
- name of the dynamic attribute to be deleted.name
is invalid.public void removeEvaluationFunction(java.lang.String name) throws java.lang.IllegalArgumentException, ManagementException
name
- name of the evaluation function to be deleted.name
is invalid.public void renameEvaluationFunction(java.lang.String oldName, java.lang.String newName) throws ManagementException
oldName
- current name the evaluation function.newName
- new name the evaluation function.public void renameDynamicAttribute(java.lang.String oldName, java.lang.String newName) throws ManagementException
oldName
- current name the dynamic attribute.newName
- new name the dynamic attribute.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |