|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The group management Facade interface.
| Method Summary | |
Item |
addUsers(long groupId, NamedValue[] def, AttributeRequest[] attributes)Adds members and managers to an existing group. |
Item |
createGroup(NamedValue[] def, AttributeRequest[] attributes)Creates a new group, returning an Item that represents it. |
void |
deleteGroup(long groupId)Deletes a group. |
Item[] |
findGroups(NamedValue[] def, AttributeRequest[] attributes)Gets a list of Groups with the specified attributes. |
Item |
removeUsers(long groupId, NamedValue[] def, AttributeRequest[] attributes)Removes members and managers from an existing group. |
Item |
updateGroup(long groupId, NamedValue[] def, AttributeRequest[] attributes)Updates a group. |
| Method Detail |
public Item createGroup(NamedValue[] def,
AttributeRequest[] attributes)
throws FdkException
The returned Item will be of the type Group.
def - Attributes of the new group. Valid attributes:
attributes - Additional attributes on the new group to return.FdkException - if the operation fails
public Item updateGroup(long groupId,
NamedValue[] def,
AttributeRequest[] attributes)
throws FdkException
Note that it is preferable to update the member/manager lists using add/removeUsers unless it is impossible or expensive to calculate the necessary changes.
groupId - The id of the group to update.def - New attributes of the group. Valid attributes:
attributes - Additional attributes on the group to return.FdkException - if the operation fails
public Item addUsers(long groupId,
NamedValue[] def,
AttributeRequest[] attributes)
throws FdkException
groupId - The id of the group to update.def - New attributes of the group. Valid attributes:
attributes - Additional attributes on the group to return.FdkException - if the operation fails
public Item removeUsers(long groupId,
NamedValue[] def,
AttributeRequest[] attributes)
throws FdkException
groupId - The id of the group to update.def - New attributes of the group. Valid attributes:
attributes - Additional attributes on the group to return.FdkException - if the operation fails
public void deleteGroup(long groupId)
throws FdkException
groupId - The id of the group to delete.FdkException - if the operation fails
public Item[] findGroups(NamedValue[] def,
AttributeRequest[] attributes)
throws FdkException
The returned Items will be of the type Group.
def - Optional restrictions/sort options. Valid Attributes:
attributes - Attributes to return on the list of groups.FdkException - if the operation fails
|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||