public interface IRbacAppSoap
User2SoapList
objects.User2SoapList
objects.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.
|
RoleSoapDO createRole(String sessionId, String projectOrProjectGroupId, String title, String description, boolean preventInheritance, boolean requestable, boolean autoGrant) throws 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 invalidRemoteException
RoleSoapDO createSiteWideRole(String sessionId, String title, String description, boolean preventInheritance) throws 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 invalidRemoteException
RoleSoapDO createGlobalRole(String sessionId, String title, String description, boolean preventInheritance, boolean requestable) throws 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 invalidRemoteException
void setRoleData(String sessionId, RoleSoapDO roleData) throws 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.RemoteException
RoleSoapDO getRoleData(String sessionId, String roleId) throws 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 invalidRemoteException
void deleteRole(String sessionId, String roleId) throws 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 invalidRemoteException
void addCluster(String sessionId, String roleId, String operationCluster, String folderId) throws 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 invalidRemoteException
void addIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) throws 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 invalidRemoteException
void removeCluster(String sessionId, String roleId, String operationCluster, String folderId) throws 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 invalidRemoteException
RoleClusterSoapList listClusters(String sessionId, String roleId) throws 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 invalidRemoteException
RoleCluster2SoapList listClusterForDefaultAccessPermissions(String sessionId, String projectId) throws 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
RemoteException
void addUser(String sessionId, String roleId, String username) throws 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 invalidRemoteException
void grantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) throws 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 invalidRemoteException
void removeUser(String sessionId, String roleId, String username) throws 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 invalidRemoteException
void revokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) throws 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 invalidRemoteException
void addUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) throws 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 invalidRemoteException
addUser(java.lang.String, java.lang.String, java.lang.String)
void removeUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) throws 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 invalidRemoteException
removeUser(java.lang.String, java.lang.String, java.lang.String)
void addGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) throws 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.RemoteException
void removeGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) throws 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.RemoteException
RoleSoapList getRoleList(String sessionId, String projectOrProjectGroupId) throws 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 invalidRemoteException
RoleSoapList getInheritedRoleList(String sessionId, String projectId) throws 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 invalidRemoteException
UserSoapList getRoleMemberList(String sessionId, String roleId) throws 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.RemoteException
UserSoapList getProjectRoleMemberList(String sessionId, String roleId, String projectOrProjectGroupId) throws 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.RemoteException
RoleSoapList getUserRoleList(String sessionId, String projectOrProjectGroupId, String username) throws 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.RemoteException
RoleSoapList getUserSiteWideRoleList(String sessionId, String username) throws 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.RemoteException
RoleSoapList getSiteWideRoleList(String sessionId) throws 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.RemoteException
RoleSoapList getGlobalRoleList(String sessionId) throws 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.RemoteException
RoleSoapList getGlobalRolesForAssignment(String sessionId, String projectOrProjectGroupId) throws 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.RemoteException
RoleSoapList getGroupRoleList(String sessionId, String groupId, String projectIdOrProjectGroupId) throws 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.RemoteException
UserGroupSoapList getRoleGroupList(String sessionId, String roleId) throws 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.RemoteException
RoleGroupSoapList listGroupRolesByProject(String sessionId, String projectId) throws 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.RemoteException
UserSoapList getRoleGroupUsers(String sessionId, String projectIdOrProjectGroupId, String roleId) throws 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.RemoteException
com.collabnet.ce.soap60.types.SoapNamedValues listRolePaths(String sessionId, String roleId, String repositoryId) throws 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 invalidRemoteException
void setRolePaths(String sessionId, String roleId, String repositoryId, com.collabnet.ce.soap60.types.SoapNamedValues rolePaths) throws 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 invalidRemoteException
ProjectSoapList getProjectsForAction(String sessionId, String operationString, String userName) throws 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.RemoteException
void requestRole(String sessionId, String roleId, String projectId) throws 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.RemoteException
void setAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant) throws 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 requestRemoteException
boolean getAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId) throws 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.RemoteException
RoleRequestSoapList getPendingRequestedRoles(String sessionId, String projectId) throws 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 occursRemoteException
void approveRoleRequest(String sessionId, String requestId, String projectId) throws 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 occursRemoteException
void rejectRoleRequest(String sessionId, String requestId, String projectId) throws 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 occursRemoteException
RoleGroupSoapList listGroupRolesByProjectGroup(String sessionId, String projectGroupId) throws 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.RemoteException
String[] getProjectsByIntegratedAppPermission(String sessionId, String perm, String integratedAppName) throws 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 invalidRemoteException
String[] getIntegratedAppPermissionsForProject(String sessionId, String projectId, String linkId) throws 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
RemoteException
Copyright © 2016 CollabNet. All Rights Reserved.