public interface IGroupDelegator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createUserGroup(IUserGroup group,
UpdateUserGroupOptions opts)
Create a new Perforce user group on the Perforce server.
|
java.lang.String |
deleteUserGroup(IUserGroup group,
UpdateUserGroupOptions opts)
Delete a Perforce user group from the Perforce server.
|
IUserGroup |
getUserGroup(java.lang.String name)
Get the named Perforce user group.
|
java.lang.String |
updateUserGroup(IUserGroup group,
UpdateUserGroupOptions opts)
Update a Perforce user group on the Perforce server.
|
java.lang.String deleteUserGroup(IUserGroup group, UpdateUserGroupOptions opts) throws P4JavaException
group
- non-null group to be deleted.opts
- which delete options to be appliedConnectionException
- if the Perforce server is unreachable or is not connected.RequestException
- if the Perforce server encounters an error during its
processing of the request.AccessException
- if the Perforce server denies access to the caller.P4JavaException
java.lang.String createUserGroup(IUserGroup group, UpdateUserGroupOptions opts) throws P4JavaException
group
- non-null IUserGroup to be created.opts
- which create options to be appliedConnectionException
- if the Perforce server is unreachable or is not connected.RequestException
- if the Perforce server encounters an error during its
processing of the request.AccessException
- if the Perforce server denies access to the caller.P4JavaException
IUserGroup getUserGroup(java.lang.String name) throws ConnectionException, RequestException, AccessException
name
- non-null group name.ConnectionException
- if the Perforce server is unreachable or is not connected.RequestException
- if the Perforce server encounters an error during its
processing of the request.AccessException
- if the Perforce server denies access to the caller.java.lang.String updateUserGroup(IUserGroup group, UpdateUserGroupOptions opts) throws P4JavaException
group
- non-null user group to be updated.opts
- which update options to be appliedConnectionException
- if the Perforce server is unreachable or is not connected.RequestException
- if the Perforce server encounters an error during its
processing of the request.AccessException
- if the Perforce server denies access to the caller.P4JavaException