public class RbacAppSoapStub extends com.collabnet.ce.soap60.webservices.ClientSoapStub implements IRbacAppSoap
Constructor and Description |
---|
RbacAppSoapStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
void |
addCluster(String sessionId,
String roleId,
String operationCluster,
String folderId)
Adds an operation cluster to a role, expanding the permission set that the role grants access to.
|
void |
addGroup(String sessionId,
String groupId,
String roleId,
String projectOrProjectGroupId)
Adds a user group to a role, within the Project/ProjectGroup scope.
|
void |
addIntegratedApplicationPermission(String sessionId,
String roleId,
String integratedAppName,
String permission)
Adds an integrated application permission to a role, expanding the permission set that the role grants access to.
|
void |
addUser(String sessionId,
String roleId,
String username)
Adds a user to the role, giving them all of the permissions of that role
|
void |
addUserToProjectRole(String sessionId,
String roleId,
String username,
String projectOrProjectGroupId)
Adds a user to the role in the given project context, giving them all of the permissions of that role in that project Same as
addUser but also takes projectOrProjectGroupId as an additional parameter. |
void |
approveRoleRequest(String sessionId,
String requestId,
String projectId)
Approves a role request
|
RoleSoapDO |
createGlobalRole(String sessionId,
String title,
String description,
boolean preventInheritance,
boolean requestable)
Creates a global role.
|
RoleSoapDO |
createRole(String sessionId,
String projectOrProjectGroupId,
String title,
String description,
boolean preventInheritance,
boolean requestable,
boolean autoGrant)
Creates a role in a given project
|
RoleSoapDO |
createSiteWideRole(String sessionId,
String title,
String description,
boolean preventInheritance)
Creates a site-wide role.
|
void |
deleteRole(String sessionId,
String roleId)
Deletes a role.
|
boolean |
getAutomaticallyGrantOnRequest(String sessionId,
String roleId,
String projectId)
Gets the role's Automatically Grant On Request for the given project.
|
RoleSoapList |
getGlobalRoleList(String sessionId)
Returns a list of all the global roles available on the site.
|
RoleSoapList |
getGlobalRolesForAssignment(String sessionId,
String projectOrProjectGroupId)
Returns a list of global roles available in the project or project group for user/user group assignment.
|
RoleSoapList |
getGroupRoleList(String sessionId,
String groupId,
String projectIdOrProjectGroupId)
Returns a list of roles the user group is associated with in a project or projectGroup.
|
RoleSoapList |
getInheritedRoleList(String sessionId,
String projectId)
Gets a list of roles inherited from any of the parent projects.
|
String[] |
getIntegratedAppPermissionsForProject(String sessionId,
String projectId,
String linkId)
Returns integratedApp permissions for the user associated with a project
|
RoleRequestSoapList |
getPendingRequestedRoles(String sessionId,
String projectId)
Lists the pending requested roles for the given projectId
|
UserSoapList |
getProjectRoleMemberList(String sessionId,
String roleId,
String projectOrProjectGroupId)
Returns a list of users that are in a specified role in the given project or project group. 1.
|
String[] |
getProjectsByIntegratedAppPermission(String sessionId,
String perm,
String integratedAppName)
Returns the list of projects by integratedApp permission.
|
ProjectSoapList |
getProjectsForAction(String sessionId,
String operationString,
String userName)
Gets the list of all projects in which the given user has given permission.
|
RoleSoapDO |
getRoleData(String sessionId,
String roleId)
Get a role data.
|
UserGroupSoapList |
getRoleGroupList(String sessionId,
String roleId)
Returns a list of user groups that belong to the specified role.
|
UserSoapList |
getRoleGroupUsers(String sessionId,
String projectIdOrProjectGroupId,
String roleId)
Returns a list of users who are part of a group and associated with the specified role.
|
RoleSoapList |
getRoleList(String sessionId,
String projectOrProjectGroupId)
Gets a list of Roles in a project context.
|
UserSoapList |
getRoleMemberList(String sessionId,
String roleId)
Returns a list of users that are assigned to the specified role.
|
RoleSoapList |
getSiteWideRoleList(String sessionId)
Returns a list of all the site-wide roles available on the site.
|
RoleSoapList |
getUserRoleList(String sessionId,
String projectOrProjectGroupId,
String username)
Returns a list of roles that a user is a member of in the specified project or project group.
|
RoleSoapList |
getUserSiteWideRoleList(String sessionId,
String username)
Returns a list of roles that a user is a member of site wide role.
|
void |
grantRolesToMembers(String sessionId,
UserRolesSoapDO[] userRolesSoapDOs,
String projectId)
Grants roles to list of users in a given project and user is made as member of the project if not already.
|
RoleCluster2SoapList |
listClusterForDefaultAccessPermissions(String sessionId,
String projectId)
Gets the list of operation cluster with default access permission.
|
RoleClusterSoapList |
listClusters(String sessionId,
String roleId)
Gets the list of operation cluster assigned to a role.
|
RoleGroupSoapList |
listGroupRolesByProject(String sessionId,
String projectId)
Returns a list of user groups and the roles it is associated with in a project.
|
RoleGroupSoapList |
listGroupRolesByProjectGroup(String sessionId,
String projectGroupId)
Returns a list of user groups and the roles it is associated with in a project group.
|
com.collabnet.ce.soap60.types.SoapNamedValues |
listRolePaths(String sessionId,
String roleId,
String repositoryId)
Gets the list of paths for a role.
|
void |
rejectRoleRequest(String sessionId,
String requestId,
String projectId)
Rejects a role request
|
void |
removeCluster(String sessionId,
String roleId,
String operationCluster,
String folderId)
Removes an operation cluster to a role, removing the permission set.
|
void |
removeGroup(String sessionId,
String groupId,
String roleId,
String projectOrProjectGroupId)
Removes the user group for the role, within the Project/ProjectGroup scope
|
void |
removeUser(String sessionId,
String roleId,
String username)
Removes a user from a role The behavior of this API is as follows. 1) Removing users is not supported for global role.
|
void |
removeUserFromProjectRole(String sessionId,
String roleId,
String username,
String projectOrProjectGroupId)
Removes a user from a role in the given project Same as
removeUser but also takes projectOrProjectGroupId as an additional parameter. |
void |
requestRole(String sessionId,
String roleId,
String projectId)
Requests a role
|
void |
revokeRolesFromMembers(String sessionId,
UserRolesSoapDO[] userRolesSoapDOs,
String projectId)
Removes roles from users in the project
|
void |
setAutomaticallyGrantOnRequest(String sessionId,
String roleId,
String projectId,
boolean autoGrant)
Sets the role's Automatically Grant On Request for the given project.
|
void |
setRoleData(String sessionId,
RoleSoapDO roleData)
Saves a role object.
|
void |
setRolePaths(String sessionId,
String roleId,
String repositoryId,
com.collabnet.ce.soap60.types.SoapNamedValues rolePaths)
Sets the list of paths for a role.
|
public RbacAppSoapStub(String soapServerUrl)
public RoleSoapDO createRole(String sessionId, String projectOrProjectGroupId, String title, String description, boolean preventInheritance, boolean requestable, boolean autoGrant) throws RemoteException
IRbacAppSoap
createRole
in interface IRbacAppSoap
sessionId
- User session IdprojectOrProjectGroupId
- The project /project group Id to create the role intitle
- The title of the roledescription
- A description of the rolepreventInheritance
- If the role's permission is prevented from applying to private subprojects.requestable
- If the role is available upon request:Only applicable for Project Roles Not for Project Groups.autoGrant
- If the role is granted automatically on request:Only applicable for Project Roles Not for Project Groups.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalid or the created roleId is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the role exists with the specified title in the projectcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public RoleSoapDO createSiteWideRole(String sessionId, String title, String description, boolean preventInheritance) throws RemoteException
IRbacAppSoap
createSiteWideRole
in interface IRbacAppSoap
sessionId
- User session Idtitle
- The title of the site-wide roledescription
- A description of the rolepreventInheritance
- If the role's permission is prevented from applying to private projects.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the created roleId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the role exists with the specified title in the projectcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public RoleSoapDO createGlobalRole(String sessionId, String title, String description, boolean preventInheritance, boolean requestable) throws RemoteException
IRbacAppSoap
createGlobalRole
in interface IRbacAppSoap
sessionId
- User session Idtitle
- The title of the global roledescription
- The description of the global rolepreventInheritance
- If the role's permission is prevented from applying to private projects.requestable
- If the role is available upon requestcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the created roleId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the global role exists with the specified titlecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void setRoleData(String sessionId, RoleSoapDO roleData) throws RemoteException
IRbacAppSoap
setRoleData
in interface IRbacAppSoap
sessionId
- User session IdroleData
- the role object to savecom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.VersionMismatchFault
- The role version being edited is not the latest onecom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public RoleSoapDO getRoleData(String sessionId, String roleId) throws RemoteException
IRbacAppSoap
getRoleData
in interface IRbacAppSoap
sessionId
- User session IdroleId
- The id of the role to be fetchcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- When the roleId is invalidRemoteException
public void deleteRole(String sessionId, String roleId) throws RemoteException
IRbacAppSoap
deleteRole
in interface IRbacAppSoap
sessionId
- User session IdroleId
- The id of the role to be deletedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalidRemoteException
public void addCluster(String sessionId, String roleId, String operationCluster, String folderId) throws RemoteException
IRbacAppSoap
addCluster
in interface IRbacAppSoap
sessionId
- User session IdroleId
- The role id to add the cluster tooperationCluster
- The cluster name to add to the role. See OperationClusterConstants.folderId
- the folder id for the specified cluster. Pass in empty string to apply to all folders of the same type in the project. Note that passing in an empty folder id will not replace existing folder specific clusters.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the cluster already exists in the rolecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void addIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) throws RemoteException
IRbacAppSoap
addIntegratedApplicationPermission
in interface IRbacAppSoap
sessionId
- User session IdroleId
- The role id to add the integrated application permission tointegratedAppName
- The integrated application name (e.g: 'Pebble Blog')permission
- The integrated application permission name to add to the role. (e.g: 'Blog Reader' for Pebble Blog integrated application)com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the cluster already exists in the rolecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void removeCluster(String sessionId, String roleId, String operationCluster, String folderId) throws RemoteException
IRbacAppSoap
removeCluster
in interface IRbacAppSoap
sessionId
- User session IdroleId
- The role id to remove the cluster tooperationCluster
- The cluster name to add to the rolefolderId
- the folder id for the specified cluster. Pass in empty string to remove a cluster defined for all folders. Note that passing in an empty folder id will not remove existing folder specific clusters.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidRemoteException
public RoleClusterSoapList listClusters(String sessionId, String roleId) throws RemoteException
IRbacAppSoap
listClusters
in interface IRbacAppSoap
sessionId
- User session IdroleId
- The ID of the role for which clusters will be listedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidRemoteException
public RoleCluster2SoapList listClusterForDefaultAccessPermissions(String sessionId, String projectId) throws RemoteException
IRbacAppSoap
listClusterForDefaultAccessPermissions
in interface IRbacAppSoap
sessionId
- User session IdprojectId
- The ID of the project for which clusters will be listedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.SystemFault
com.collabnet.ce.soap60.fault.PermissionDeniedFault
RemoteException
public void addUser(String sessionId, String roleId, String username) throws RemoteException
IRbacAppSoap
addUser
in interface IRbacAppSoap
sessionId
- User sessionIdroleId
- The role id to add the user tousername
- The username of the user to add to the rolecom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the user already exists in the rolecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void grantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) throws RemoteException
IRbacAppSoap
grantRolesToMembers
in interface IRbacAppSoap
sessionId
- User sessionIduserRolesSoapDOs
- user to roles data container, simulation of map - key as user and lists of roles as valuesprojectId
- project to which users would be the members with the given roles.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the user already exists in the rolecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void removeUser(String sessionId, String roleId, String username) throws RemoteException
IRbacAppSoap
removeUser
in interface IRbacAppSoap
sessionId
- User sessionIdroleId
- The role id to add the user tousername
- The username of the user to add to the rolecom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void revokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) throws RemoteException
IRbacAppSoap
revokeRolesFromMembers
in interface IRbacAppSoap
sessionId
- User sessionIduserRolesSoapDOs
- user to roles data container, simulation of map - key as user and lists of roles to remove as valuesprojectId
- project in which roles would be removed from the users.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void addUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) throws RemoteException
IRbacAppSoap
addUser
but also takes projectOrProjectGroupId as an additional parameter. If a Project Group's role is being assigned in a normal project (even if it is a member of this Project Group) or in another Project Group a SystemFault will be thrown. Because A Project Group's role can only be assigned within that Project Group and nowhere else. Also site-wide role are not supported. For site-wide role use addUser method.addUserToProjectRole
in interface IRbacAppSoap
sessionId
- User sessionIdroleId
- The role id to add the user tousername
- The username of the user to add to the roleprojectOrProjectGroupId
- projectId (or) Project group ID. The project/Project Group in which the role has to be added to the user. The permission check varies accordingly for Project- User with Edit Role permissions. ProjectGroup-ProjectGroup.Admin Permissioncom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the user already exists in the rolecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
IRbacAppSoap.addUser(java.lang.String, java.lang.String, java.lang.String)
public void removeUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) throws RemoteException
IRbacAppSoap
removeUser
but also takes projectOrProjectGroupId as an additional parameter.removeUserFromProjectRole
in interface IRbacAppSoap
sessionId
- User sessionIdroleId
- The role id to add the user tousername
- The username of the user to add to the roleprojectOrProjectGroupId
- projectId (or) Project group ID. The project/Project Group in which the role has to be removed from the user. The permission check varies accordingly: for Project - User with Edit Role permissions. for ProjectGroup - ProjectGroup.Admin Permissioncom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
IRbacAppSoap.removeUser(java.lang.String, java.lang.String, java.lang.String)
public void addGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) throws RemoteException
IRbacAppSoap
addGroup
in interface IRbacAppSoap
sessionId
- User sessionId.groupId
- the user group to be added.roleId
- The role to which the user group is to be added.projectOrProjectGroupId
- The project/projectgroup id to which the role belongs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user does not have permission to perform the operation.com.collabnet.ce.soap60.fault.SystemFault
- When an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the user group already exists in the role.RemoteException
public void removeGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) throws RemoteException
IRbacAppSoap
removeGroup
in interface IRbacAppSoap
sessionId
- User sessionId.groupId
- the user group to be added.roleId
- The role to which the user group is to be added.projectOrProjectGroupId
- The project/projectgroup id to which the role belongs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user does not have permission to perform the operation.com.collabnet.ce.soap60.fault.SystemFault
- When an unexpected system level error occurs.RemoteException
public RoleSoapList getRoleList(String sessionId, String projectOrProjectGroupId) throws RemoteException
IRbacAppSoap
getRoleList
in interface IRbacAppSoap
sessionId
- User session IdprojectOrProjectGroupId
- The Project/Project Group Id to list roles fromcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalidcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the role exists with the specified title in the projectcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public RoleSoapList getInheritedRoleList(String sessionId, String projectId) throws RemoteException
IRbacAppSoap
getInheritedRoleList
in interface IRbacAppSoap
sessionId
- User session IdprojectId
- The project Id to list the inherited roles fromcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public UserSoapList getRoleMemberList(String sessionId, String roleId) throws RemoteException
IRbacAppSoap
getRoleMemberList
in interface IRbacAppSoap
sessionId
- User session id.roleId
- Role id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- Role id is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified role id is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public UserSoapList getProjectRoleMemberList(String sessionId, String roleId, String projectOrProjectGroupId) throws RemoteException
IRbacAppSoap
getProjectRoleMemberList
in interface IRbacAppSoap
sessionId
- User session id.roleId
- Role id.projectOrProjectGroupId
- Project or Project Group Idcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- Role id is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified role id is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public RoleSoapList getUserRoleList(String sessionId, String projectOrProjectGroupId, String username) throws RemoteException
IRbacAppSoap
getUserRoleList
in interface IRbacAppSoap
sessionId
- User session id.projectOrProjectGroupId
- Project or Project Group id.username
- Name of the user.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- Username is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project or project group id is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public RoleSoapList getUserSiteWideRoleList(String sessionId, String username) throws RemoteException
IRbacAppSoap
getUserSiteWideRoleList
in interface IRbacAppSoap
sessionId
- User session id.username
- Name of the user.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- Username is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public RoleSoapList getSiteWideRoleList(String sessionId) throws RemoteException
IRbacAppSoap
getSiteWideRoleList
in interface IRbacAppSoap
sessionId
- User session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have the permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public RoleSoapList getGlobalRoleList(String sessionId) throws RemoteException
IRbacAppSoap
getGlobalRoleList
in interface IRbacAppSoap
sessionId
- User session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have the permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public RoleSoapList getGlobalRolesForAssignment(String sessionId, String projectOrProjectGroupId) throws RemoteException
IRbacAppSoap
getGlobalRolesForAssignment
in interface IRbacAppSoap
sessionId
- User session id.projectOrProjectGroupId
- the project or project group from which to get the global roles listcom.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have the permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project or project group id is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public RoleSoapList getGroupRoleList(String sessionId, String groupId, String projectIdOrProjectGroupId) throws RemoteException
IRbacAppSoap
getGroupRoleList
in interface IRbacAppSoap
sessionId
- User session id.groupId
- User Group id.projectIdOrProjectGroupId
- Project id or project group id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id or project group id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalid.RemoteException
public UserGroupSoapList getRoleGroupList(String sessionId, String roleId) throws RemoteException
IRbacAppSoap
getRoleGroupList
in interface IRbacAppSoap
sessionId
- User session id.roleId
- Role id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- roleId is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.RemoteException
public RoleGroupSoapList listGroupRolesByProject(String sessionId, String projectId) throws RemoteException
IRbacAppSoap
listGroupRolesByProject
in interface IRbacAppSoap
sessionId
- User session id.projectId
- Project id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- projectId is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.RemoteException
public UserSoapList getRoleGroupUsers(String sessionId, String projectIdOrProjectGroupId, String roleId) throws RemoteException
IRbacAppSoap
getRoleGroupUsers
in interface IRbacAppSoap
sessionId
- User session id.projectIdOrProjectGroupId
- Project or Project Group's id.roleId
- Role id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- Role id is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified role id is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public com.collabnet.ce.soap60.types.SoapNamedValues listRolePaths(String sessionId, String roleId, String repositoryId) throws RemoteException
IRbacAppSoap
listRolePaths
in interface IRbacAppSoap
sessionId
- User session IdroleId
- the key of the role the role paths belongs torepositoryId
- the repository idcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public void setRolePaths(String sessionId, String roleId, String repositoryId, com.collabnet.ce.soap60.types.SoapNamedValues rolePaths) throws RemoteException
IRbacAppSoap
setRolePaths
in interface IRbacAppSoap
sessionId
- User session IdroleId
- the key of the role the role paths belongs torepositoryId
- the repository idrolePaths
- list of role pathscom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- If one of the parameters is invalidRemoteException
public ProjectSoapList getProjectsForAction(String sessionId, String operationString, String userName) throws RemoteException
IRbacAppSoap
getProjectsForAction
in interface IRbacAppSoap
sessionId
- User session IdoperationString
- Operation in format type.category.name, except for integrated application, which is in format PluggableLink.<id of the integrated app>.<permission name>.<permission name>.userName
- the user who would have cluster permission in the returned project listcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the arguments are null or empty.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the userName doesn't exist.RemoteException
public void requestRole(String sessionId, String roleId, String projectId) throws RemoteException
IRbacAppSoap
requestRole
in interface IRbacAppSoap
sessionId
- User session IdroleId
- the role idprojectId
- project in which to make the requestcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the roleId or projectId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- incorrect parameterscom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
public void setAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant) throws RemoteException
IRbacAppSoap
setAutomaticallyGrantOnRequest
in interface IRbacAppSoap
sessionId
- User session IdroleId
- the role idprojectId
- the project to which automatically grant property to be setautoGrant
- true to set it available upon requestcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the role is not available upon requestRemoteException
public boolean getAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId) throws RemoteException
IRbacAppSoap
getAutomaticallyGrantOnRequest
in interface IRbacAppSoap
sessionId
- User session IdroleId
- the role idprojectId
- the project to which automatically grant property to be setcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalidcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when there is a request for global role with Projects project id.RemoteException
public RoleRequestSoapList getPendingRequestedRoles(String sessionId, String projectId) throws RemoteException
IRbacAppSoap
getPendingRequestedRoles
in interface IRbacAppSoap
sessionId
- User session IdprojectId
- project in which the pending requested roles needs to be retrievedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When projectId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- incorrect parameterscom.collabnet.ce.soap60.fault.SystemFault
- unexpected error occursRemoteException
public void approveRoleRequest(String sessionId, String requestId, String projectId) throws RemoteException
IRbacAppSoap
approveRoleRequest
in interface IRbacAppSoap
sessionId
- User session IdrequestId
- Role request IdprojectId
- project in which the role request was raisedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- incorrect parameterscom.collabnet.ce.soap60.fault.SystemFault
- unexpected error occursRemoteException
public void rejectRoleRequest(String sessionId, String requestId, String projectId) throws RemoteException
IRbacAppSoap
rejectRoleRequest
in interface IRbacAppSoap
sessionId
- User session IdrequestId
- Role request IdprojectId
- project in which the role request was raisedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have permission to perform the operationcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the projectId is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- incorrect parameterscom.collabnet.ce.soap60.fault.SystemFault
- unexpected error occursRemoteException
public RoleGroupSoapList listGroupRolesByProjectGroup(String sessionId, String projectGroupId) throws RemoteException
IRbacAppSoap
listGroupRolesByProjectGroup
in interface IRbacAppSoap
sessionId
- User session id.projectGroupId
- Project group id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- projectGroupId is not specified or invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- if the session is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user does not have permission to perform the operation.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project group id is invalid.RemoteException
public String[] getProjectsByIntegratedAppPermission(String sessionId, String perm, String integratedAppName) throws RemoteException
IRbacAppSoap
getProjectsByIntegratedAppPermission
in interface IRbacAppSoap
sessionId
- User session key.perm
- permission criteriaintegratedAppName
- the IntegratedApp plugName.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- When the plugName is invalidcom.collabnet.ce.soap60.fault.IllegalArgumentFault
- When the userId is invalidRemoteException
public String[] getIntegratedAppPermissionsForProject(String sessionId, String projectId, String linkId) throws RemoteException
IRbacAppSoap
getIntegratedAppPermissionsForProject
in interface IRbacAppSoap
sessionId
- User session key.projectId
- the projectIdlinkId
- the linkId between integrated app and projectcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
RemoteException
Copyright © 2017 CollabNet. All Rights Reserved.