|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jadmin.PDActionGroup
public class PDActionGroup
Security Access Manager Action Group class.
Each PDAction object belongs to a single PDActionGroup object. An action group allows a Security Access Manager application to group all its custom PDAction objects into a single group. The action group concept replaces the concept of type associated with PDAction objects.
Security Access Manager, by default, contains a primary action group and several actions in this group. It is possible to use the methods in this class to customize the default action group set by adding new action groups. The primary action group cannot be deleted.
Modes: Local,Remote
Field Summary | |
---|---|
static java.lang.String |
PDACTIONGROUP_PRIMARY_NAME
Constant indicating the primary action group name. |
Method Summary | |
---|---|
static void |
createActionGroup(PDContext context,
java.lang.String actionGroupId,
PDMessages messages)
Creates an action group in the policy server. |
static void |
deleteActionGroup(PDContext context,
java.lang.String actionGroupId,
PDMessages messages)
Deletes the specified action group from the policy server. |
static java.util.ArrayList |
listActionGroups(PDContext context,
PDMessages messages)
Returns a list of names of all action groups that exist in the policy server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PDACTIONGROUP_PRIMARY_NAME
Method Detail |
---|
public static void createActionGroup(PDContext context, java.lang.String actionGroupId, PDMessages messages) throws PDException
This method is equivalent to the ivadmin_action_group_create() C API.
context
- the context for communicating with the
policy server.
Cannot be null.actionGroupId
- name of the action group.
Cannot be the primary action group.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static java.util.ArrayList listActionGroups(PDContext context, PDMessages messages) throws PDException
This method is equivalent to the ivadmin_action_group_list() C API.
context
- the context for communicating with the
policy server.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.public static void deleteActionGroup(PDContext context, java.lang.String actionGroupId, PDMessages messages) throws PDException
This method is equivalent to the ivadmin_action_group_delete() C API.
context
- the context for communicating with the
policy server.
Cannot be null.actionGroupId
- name of the action group to be deleted.
Cannot be the primary action group.
Cannot be null.messages
- in/out parameter;
empty PDMessages on input;
might contain zero or more informational or warning
messages on output.
Cannot be null.
PDException
- if an error occurs.
This exception might contain error and message codes defined in the
product Error Message Reference document.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |