public interface IRbacAppSoap
User2SoapList
objects.User2SoapList
objects.Modifier and Type | Method and Description |
---|---|
void |
addCluster(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String operationCluster,
java.lang.String folderId)
Adds an operation cluster to a role, expanding the permission set that the role grants access to.
|
void |
addGroup(java.lang.String sessionId,
java.lang.String groupId,
java.lang.String roleId,
java.lang.String projectOrProjectGroupId)
Adds a user group to a role, within the Project/ProjectGroup scope.
|
void |
addIntegratedApplicationPermission(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String integratedAppName,
java.lang.String permission)
Adds an integrated application permission to a role, expanding the permission set that the role grants access to.
|
void |
addUser(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String username)
Adds a user to the role, giving them all of the permissions of that role
|
void |
addUserToProjectRole(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String username,
java.lang.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(java.lang.String sessionId,
java.lang.String requestId,
java.lang.String projectId)
Approves a role request
|
RoleSoapDO |
createGlobalRole(java.lang.String sessionId,
java.lang.String title,
java.lang.String description,
boolean preventInheritance,
boolean requestable)
Creates a global role.
|
RoleSoapDO |
createRole(java.lang.String sessionId,
java.lang.String projectOrProjectGroupId,
java.lang.String title,
java.lang.String description,
boolean preventInheritance,
boolean requestable,
boolean autoGrant)
Creates a role in a given project
|
RoleSoapDO |
createSiteWideRole(java.lang.String sessionId,
java.lang.String title,
java.lang.String description,
boolean preventInheritance)
Creates a site-wide role.
|
void |
deleteRole(java.lang.String sessionId,
java.lang.String roleId)
Deletes a role.
|
boolean |
getAutomaticallyGrantOnRequest(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String projectId)
Gets the role's Automatically Grant On Request for the given project.
|
RoleSoapList |
getGlobalRoleList(java.lang.String sessionId)
Returns a list of all the global roles available on the site.
|
RoleSoapList |
getGlobalRolesForAssignment(java.lang.String sessionId,
java.lang.String projectOrProjectGroupId)
Returns a list of global roles available in the project or project group for user/user group assignment.
|
RoleSoapList |
getGroupRoleList(java.lang.String sessionId,
java.lang.String groupId,
java.lang.String projectIdOrProjectGroupId)
Returns a list of roles the user group is associated with in a project or projectGroup.
|
RoleSoapList |
getInheritedRoleList(java.lang.String sessionId,
java.lang.String projectId)
Gets a list of roles inherited from any of the parent projects.
|
java.lang.String[] |
getIntegratedAppPermissionsForProject(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String linkId)
Returns integratedApp permissions for the user associated with a project
|
RoleRequestSoapList |
getPendingRequestedRoles(java.lang.String sessionId,
java.lang.String projectId)
Lists the pending requested roles for the given projectId
|
UserSoapList |
getProjectRoleMemberList(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String projectOrProjectGroupId)
Returns a list of users that are in a specified role in the given project or project group. 1.
|
java.lang.String[] |
getProjectsByIntegratedAppPermission(java.lang.String sessionId,
java.lang.String perm,
java.lang.String integratedAppName)
Returns the list of projects by integratedApp permission.
|
ProjectSoapList |
getProjectsForAction(java.lang.String sessionId,
java.lang.String operationString,
java.lang.String userName)
Gets the list of all projects in which the given user has given permission.
|
RoleSoapDO |
getRoleData(java.lang.String sessionId,
java.lang.String roleId)
Get a role data.
|
UserGroupSoapList |
getRoleGroupList(java.lang.String sessionId,
java.lang.String roleId)
Returns a list of user groups that belong to the specified role.
|
UserSoapList |
getRoleGroupUsers(java.lang.String sessionId,
java.lang.String projectIdOrProjectGroupId,
java.lang.String roleId)
Returns a list of users who are part of a group and associated with the specified role.
|
RoleSoapList |
getRoleList(java.lang.String sessionId,
java.lang.String projectOrProjectGroupId)
Gets a list of Roles in a project context.
|
UserSoapList |
getRoleMemberList(java.lang.String sessionId,
java.lang.String roleId)
Returns a list of users that are assigned to the specified role.
|
RoleSoapList |
getSiteWideRoleList(java.lang.String sessionId)
Returns a list of all the site-wide roles available on the site.
|
RoleSoapList |
getUserRoleList(java.lang.String sessionId,
java.lang.String projectOrProjectGroupId,
java.lang.String username)
Returns a list of roles that a user is a member of in the specified project or project group.
|
RoleSoapList |
getUserSiteWideRoleList(java.lang.String sessionId,
java.lang.String username)
Returns a list of roles that a user is a member of site wide role.
|
void |
grantRolesToMembers(java.lang.String sessionId,
UserRolesSoapDO[] userRolesSoapDOs,
java.lang.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(java.lang.String sessionId,
java.lang.String projectId)
Gets the list of operation cluster with default access permission.
|
RoleClusterSoapList |
listClusters(java.lang.String sessionId,
java.lang.String roleId)
Gets the list of operation cluster assigned to a role.
|
RoleGroupSoapList |
listGroupRolesByProject(java.lang.String sessionId,
java.lang.String projectId)
Returns a list of user groups and the roles it is associated with in a project.
|
RoleGroupSoapList |
listGroupRolesByProjectGroup(java.lang.String sessionId,
java.lang.String projectGroupId)
Returns a list of user groups and the roles it is associated with in a project group.
|
SoapNamedValues |
listRolePaths(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String repositoryId)
Gets the list of paths for a role.
|
void |
rejectRoleRequest(java.lang.String sessionId,
java.lang.String requestId,
java.lang.String projectId)
Rejects a role request
|
void |
removeCluster(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String operationCluster,
java.lang.String folderId)
Removes an operation cluster to a role, removing the permission set.
|
void |
removeGroup(java.lang.String sessionId,
java.lang.String groupId,
java.lang.String roleId,
java.lang.String projectOrProjectGroupId)
Removes the user group for the role, within the Project/ProjectGroup scope
|
void |
removeUser(java.lang.String sessionId,
java.lang.String roleId,
java.lang.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(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String username,
java.lang.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(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String projectId)
Requests a role
|
void |
revokeRolesFromMembers(java.lang.String sessionId,
UserRolesSoapDO[] userRolesSoapDOs,
java.lang.String projectId)
Removes roles from users in the project
|
void |
setAutomaticallyGrantOnRequest(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String projectId,
boolean autoGrant)
Sets the role's Automatically Grant On Request for the given project.
|
void |
setRoleData(java.lang.String sessionId,
RoleSoapDO roleData)
Saves a role object.
|
void |
setRolePaths(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String repositoryId,
SoapNamedValues rolePaths)
Sets the list of paths for a role.
|
RoleSoapDO createRole(java.lang.String sessionId, java.lang.String projectOrProjectGroupId, java.lang.String title, java.lang.String description, boolean preventInheritance, boolean requestable, boolean autoGrant) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
RoleSoapDO createSiteWideRole(java.lang.String sessionId, java.lang.String title, java.lang.String description, boolean preventInheritance) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
RoleSoapDO createGlobalRole(java.lang.String sessionId, java.lang.String title, java.lang.String description, boolean preventInheritance, boolean requestable) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void setRoleData(java.lang.String sessionId, RoleSoapDO roleData) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapDO getRoleData(java.lang.String sessionId, java.lang.String roleId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void deleteRole(java.lang.String sessionId, java.lang.String roleId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void addCluster(java.lang.String sessionId, java.lang.String roleId, java.lang.String operationCluster, java.lang.String folderId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void addIntegratedApplicationPermission(java.lang.String sessionId, java.lang.String roleId, java.lang.String integratedAppName, java.lang.String permission) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void removeCluster(java.lang.String sessionId, java.lang.String roleId, java.lang.String operationCluster, java.lang.String folderId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
RoleClusterSoapList listClusters(java.lang.String sessionId, java.lang.String roleId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
RoleCluster2SoapList listClusterForDefaultAccessPermissions(java.lang.String sessionId, java.lang.String projectId) throws java.rmi.RemoteException
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
java.rmi.RemoteException
void addUser(java.lang.String sessionId, java.lang.String roleId, java.lang.String username) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void grantRolesToMembers(java.lang.String sessionId, UserRolesSoapDO[] userRolesSoapDOs, java.lang.String projectId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void removeUser(java.lang.String sessionId, java.lang.String roleId, java.lang.String username) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void revokeRolesFromMembers(java.lang.String sessionId, UserRolesSoapDO[] userRolesSoapDOs, java.lang.String projectId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void addUserToProjectRole(java.lang.String sessionId, java.lang.String roleId, java.lang.String username, java.lang.String projectOrProjectGroupId) throws java.rmi.RemoteException
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.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 invalidjava.rmi.RemoteException
addUser(java.lang.String, java.lang.String, java.lang.String)
void removeUserFromProjectRole(java.lang.String sessionId, java.lang.String roleId, java.lang.String username, java.lang.String projectOrProjectGroupId) throws java.rmi.RemoteException
removeUser
but also takes projectOrProjectGroupId as an additional parameter.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 invalidjava.rmi.RemoteException
removeUser(java.lang.String, java.lang.String, java.lang.String)
void addGroup(java.lang.String sessionId, java.lang.String groupId, java.lang.String roleId, java.lang.String projectOrProjectGroupId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
void removeGroup(java.lang.String sessionId, java.lang.String groupId, java.lang.String roleId, java.lang.String projectOrProjectGroupId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapList getRoleList(java.lang.String sessionId, java.lang.String projectOrProjectGroupId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
RoleSoapList getInheritedRoleList(java.lang.String sessionId, java.lang.String projectId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
UserSoapList getRoleMemberList(java.lang.String sessionId, java.lang.String roleId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
UserSoapList getProjectRoleMemberList(java.lang.String sessionId, java.lang.String roleId, java.lang.String projectOrProjectGroupId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapList getUserRoleList(java.lang.String sessionId, java.lang.String projectOrProjectGroupId, java.lang.String username) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapList getUserSiteWideRoleList(java.lang.String sessionId, java.lang.String username) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapList getSiteWideRoleList(java.lang.String sessionId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapList getGlobalRoleList(java.lang.String sessionId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapList getGlobalRolesForAssignment(java.lang.String sessionId, java.lang.String projectOrProjectGroupId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleSoapList getGroupRoleList(java.lang.String sessionId, java.lang.String groupId, java.lang.String projectIdOrProjectGroupId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
UserGroupSoapList getRoleGroupList(java.lang.String sessionId, java.lang.String roleId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleGroupSoapList listGroupRolesByProject(java.lang.String sessionId, java.lang.String projectId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
UserSoapList getRoleGroupUsers(java.lang.String sessionId, java.lang.String projectIdOrProjectGroupId, java.lang.String roleId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
SoapNamedValues listRolePaths(java.lang.String sessionId, java.lang.String roleId, java.lang.String repositoryId) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
void setRolePaths(java.lang.String sessionId, java.lang.String roleId, java.lang.String repositoryId, SoapNamedValues rolePaths) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
ProjectSoapList getProjectsForAction(java.lang.String sessionId, java.lang.String operationString, java.lang.String userName) throws java.rmi.RemoteException
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.java.rmi.RemoteException
void requestRole(java.lang.String sessionId, java.lang.String roleId, java.lang.String projectId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
void setAutomaticallyGrantOnRequest(java.lang.String sessionId, java.lang.String roleId, java.lang.String projectId, boolean autoGrant) throws java.rmi.RemoteException
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 requestjava.rmi.RemoteException
boolean getAutomaticallyGrantOnRequest(java.lang.String sessionId, java.lang.String roleId, java.lang.String projectId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
RoleRequestSoapList getPendingRequestedRoles(java.lang.String sessionId, java.lang.String projectId) throws java.rmi.RemoteException
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 occursjava.rmi.RemoteException
void approveRoleRequest(java.lang.String sessionId, java.lang.String requestId, java.lang.String projectId) throws java.rmi.RemoteException
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 occursjava.rmi.RemoteException
void rejectRoleRequest(java.lang.String sessionId, java.lang.String requestId, java.lang.String projectId) throws java.rmi.RemoteException
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 occursjava.rmi.RemoteException
RoleGroupSoapList listGroupRolesByProjectGroup(java.lang.String sessionId, java.lang.String projectGroupId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
java.lang.String[] getProjectsByIntegratedAppPermission(java.lang.String sessionId, java.lang.String perm, java.lang.String integratedAppName) throws java.rmi.RemoteException
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 invalidjava.rmi.RemoteException
java.lang.String[] getIntegratedAppPermissionsForProject(java.lang.String sessionId, java.lang.String projectId, java.lang.String linkId) throws java.rmi.RemoteException
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
java.rmi.RemoteException