|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.ActionManager
This class manages actions. It provides methods to create, delete, rename and find actions.
Method Summary | |
Action |
create(java.lang.String name)
Create an action using the specified name. |
Action |
get(java.lang.String name)
Find an action with the specified name. |
ActionQueryResult |
getActions(java.lang.String filter)
Find actions whose names match the specified filter. |
void |
remove(Action act)
Delete the specified action. |
void |
remove(java.util.Collection actionNames)
Removes all the actions in the given Collection of action names. |
void |
remove(java.lang.String name)
Delete an action by name. |
void |
rename(java.lang.String oldName,
java.lang.String newName)
Rename an action. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public Action create(java.lang.String name) throws ManagementException
name
- name of new action.name
is null or empty.public void remove(java.lang.String name) throws ManagementException
name
- name of action to be deleted.name
is null or empty.public void remove(Action act) throws ManagementException
act
- the action to be deleted.act
is null.public void remove(java.util.Collection actionNames) throws ManagementException
Collection
of action names. RBAC_Context
associated with this ActionManager
,
a local transaction for the remove operation for all the actions is started.
actionNames
- The Collection
of action name String
s to remove. The current
identity must have privilege to remove all the actions in this Collection
or else this method will not remove ANY actions.public void rename(java.lang.String oldName, java.lang.String newName) throws ManagementException
oldName
will be renamed to
newName
.
oldName
- original name of the action.newName
- new name of the action.oldName
or newName
is null or empty.public Action get(java.lang.String name) throws ManagementException
name
- name of the action.name
, null if not found.public ActionQueryResult getActions(java.lang.String filter) throws ManagementException
filter
- filter condition.ActionQueryResult
object which contains the matched actions.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |