public interface IGroupDelegator
| Modifier and Type | Method and Description |
|---|---|
String |
createUserGroup(IUserGroup group,
UpdateUserGroupOptions opts)
Create a new Perforce user group on the Perforce server.
|
String |
deleteUserGroup(IUserGroup group,
UpdateUserGroupOptions opts)
Delete a Perforce user group from the Perforce server.
|
IUserGroup |
getUserGroup(String name)
Get the named Perforce user group.
|
String |
updateUserGroup(IUserGroup group,
UpdateUserGroupOptions opts)
Update a Perforce user group on the Perforce server.
|
String deleteUserGroup(IUserGroup group, UpdateUserGroupOptions opts) throws P4JavaException
group - non-null group to be deleted.options - 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.P4JavaExceptionString createUserGroup(IUserGroup group, UpdateUserGroupOptions opts) throws P4JavaException
group - non-null IUserGroup to be created.options - 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.P4JavaExceptionIUserGroup getUserGroup(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.String updateUserGroup(IUserGroup group, UpdateUserGroupOptions opts) throws P4JavaException
group - non-null user group to be updated.options - 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.P4JavaExceptionCopyright © 2017 Perforce Software. All Rights Reserved.