Class RbacAppSoapMockStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.ClientSoapMockStub
com.collabnet.ce.soap60.webservices.rbac.RbacAppSoapMockStub
- All Implemented Interfaces:
IRbacAppSoap
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
DATE_WILDCARD, GUIDKEY_WILDCARD, INTEGER_WILDCARD, LONG_WILDCARD, STRING_WILDCARDFields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCluster(String sessionId, String roleId, String operationCluster, String folderId) Simulate a call to addClustervoidSimulate a call to addGroupvoidaddIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) Simulate a call to addIntegratedApplicationPermissionvoidaddRemoveIAPermission(String sessionId, String roleId, String integratedAppName, String permission, boolean addPermission) Simulate a call to addRemoveIAPermissionvoidSimulate a call to addUservoidaddUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) Simulate a call to addUserToProjectRolevoidapproveRoleRequest(String sessionId, String requestId, String projectId) Simulate a call to approveRoleRequestvoidcheckPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO role, com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) Simulate a call to checkPermissionBasedOnSideWideOrProjectRolevoidcheckSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) Simulate a call to checkSiteWideRolePermissionvoidcheckUserActiveStatus(String userName, String loggedInUser) Simulate a call to checkUserActiveStatuscom.vasoftware.sf.server.services.access.rbac.ResourceconstructResource(String operationCluster, String folderId, String loggedInUser) Simulate a call to constructResourcecreateGlobalRole(String sessionId, String title, String description, boolean preventInheritance, boolean requestable) Simulate a call to createGlobalRolecreateRole(String sessionId, String projectOrProjectGroupId, String title, String description, boolean preventInheritance, boolean requestable, boolean autoGrant) Simulate a call to createRolecreateSiteWideRole(String sessionId, String title, String description, boolean preventInheritance) Simulate a call to createSiteWideRolevoiddeleteRole(String sessionId, String roleId) Simulate a call to deleteRolebooleangetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId) Simulate a call to getAutomaticallyGrantOnRequestgetGlobalRoleList(String sessionId) Simulate a call to getGlobalRoleListgetGlobalRolesForAssignment(String sessionId, String projectOrProjectGroupId) Simulate a call to getGlobalRolesForAssignmentgetGroupRoleList(String sessionId, String groupId, String projectIdOrProjectGroupId) Simulate a call to getGroupRoleListgetIAPermissionId(String integratedAppName, String permission, String loggedInUser) Simulate a call to getIAPermissionIdgetInheritedRoleList(String sessionId, String projectId) Simulate a call to getInheritedRoleListgetIntegratedAppPermissions(String sessionId, String[] projectIds, String baseUrl) Simulate a call to getIntegratedAppPermissionsString[]getIntegratedAppPermissionsForProject(String sessionId, String projectId, String linkId) Simulate a call to getIntegratedAppPermissionsForProjectSimulate a call to getLinkIdgetPendingRequestedRoles(String sessionId, String projectId) Simulate a call to getPendingRequestedRolesgetProjectRoleMemberList(String sessionId, String roleId, String projectOrProjectGroupId) Simulate a call to getProjectRoleMemberListString[]getProjectsByIntegratedAppPermission(String sessionId, String perm, String integratedAppName) Simulate a call to getProjectsByIntegratedAppPermissiongetProjectsForAction(String sessionId, String operationString, String userName) Simulate a call to getProjectsForActiongetRoleData(String sessionId, String roleId) Simulate a call to getRoleDatagetRoleGroupList(String sessionId, String roleId) Simulate a call to getRoleGroupListgetRoleGroupUsers(String sessionId, String projectIdOrProjectGroupId, String roleId) Simulate a call to getRoleGroupUsersgetRoleList(String sessionId, String projectOrProjectGroupId) Simulate a call to getRoleListgetRoleMemberList(String sessionId, String roleId) Simulate a call to getRoleMemberListgetSiteWideRoleList(String sessionId) Simulate a call to getSiteWideRoleListgetUserRoleList(String sessionId, String projectOrProjectGroupId, String username) Simulate a call to getUserRoleListgetUserRolesMap(UserRolesSoapDO[] userRolesSoapDOs) Simulate a call to getUserRolesMapgetUserSiteWideRoleList(String sessionId, String username) Simulate a call to getUserSiteWideRoleListvoidgrantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) Simulate a call to grantRolesToMemberslistClusterForDefaultAccessPermissions(String sessionId, String projectId) Simulate a call to listClusterForDefaultAccessPermissionslistClusters(String sessionId, String roleId) Simulate a call to listClusterslistGroupRolesByProject(String sessionId, String projectId) Simulate a call to listGroupRolesByProjectlistGroupRolesByProjectGroup(String sessionId, String projectGroupId) Simulate a call to listGroupRolesByProjectGrouplistRolePaths(String sessionId, String roleId, String repositoryId) Simulate a call to listRolePathsvoidprepareAddCluster(String sessionId, String roleId, String operationCluster, String folderId) Prepare a simulated response to addClustervoidprepareAddCluster(String sessionId, String roleId, String operationCluster, String folderId, Exception exception) Prepare a simulated response to addClustervoidprepareAddGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) Prepare a simulated response to addGroupvoidprepareAddGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to addGroupvoidprepareAddIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) Prepare a simulated response to addIntegratedApplicationPermissionvoidprepareAddIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission, Exception exception) Prepare a simulated response to addIntegratedApplicationPermissionvoidprepareAddRemoveIAPermission(String sessionId, String roleId, String integratedAppName, String permission, boolean addPermission) Prepare a simulated response to addRemoveIAPermissionvoidprepareAddRemoveIAPermission(String sessionId, String roleId, String integratedAppName, String permission, boolean addPermission, Exception exception) Prepare a simulated response to addRemoveIAPermissionvoidprepareAddUser(String sessionId, String roleId, String username) Prepare a simulated response to addUservoidprepareAddUser(String sessionId, String roleId, String username, Exception exception) Prepare a simulated response to addUservoidprepareAddUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) Prepare a simulated response to addUserToProjectRolevoidprepareAddUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to addUserToProjectRolevoidprepareApproveRoleRequest(String sessionId, String requestId, String projectId) Prepare a simulated response to approveRoleRequestvoidprepareApproveRoleRequest(String sessionId, String requestId, String projectId, Exception exception) Prepare a simulated response to approveRoleRequestvoidprepareCheckPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO role, com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) Prepare a simulated response to checkPermissionBasedOnSideWideOrProjectRolevoidprepareCheckPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO role, com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser, Exception exception) Prepare a simulated response to checkPermissionBasedOnSideWideOrProjectRolevoidprepareCheckSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) Prepare a simulated response to checkSiteWideRolePermissionvoidprepareCheckSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser, Exception exception) Prepare a simulated response to checkSiteWideRolePermissionvoidprepareCheckUserActiveStatus(String userName, String loggedInUser) Prepare a simulated response to checkUserActiveStatusvoidprepareCheckUserActiveStatus(String userName, String loggedInUser, Exception exception) Prepare a simulated response to checkUserActiveStatusvoidprepareConstructResource(String operationCluster, String folderId, String loggedInUser, Object returnValue) Prepare a simulated response to constructResourcevoidprepareCreateGlobalRole(String sessionId, String title, String description, boolean preventInheritance, boolean requestable, Object returnValue) Prepare a simulated response to createGlobalRolevoidprepareCreateRole(String sessionId, String projectOrProjectGroupId, String title, String description, boolean preventInheritance, boolean requestable, boolean autoGrant, Object returnValue) Prepare a simulated response to createRolevoidprepareCreateSiteWideRole(String sessionId, String title, String description, boolean preventInheritance, Object returnValue) Prepare a simulated response to createSiteWideRolevoidprepareDeleteRole(String sessionId, String roleId) Prepare a simulated response to deleteRolevoidprepareDeleteRole(String sessionId, String roleId, Exception exception) Prepare a simulated response to deleteRolevoidprepareGetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, Object returnValue) Prepare a simulated response to getAutomaticallyGrantOnRequestvoidprepareGetGlobalRoleList(String sessionId, Object returnValue) Prepare a simulated response to getGlobalRoleListvoidprepareGetGlobalRolesForAssignment(String sessionId, String projectOrProjectGroupId, Object returnValue) Prepare a simulated response to getGlobalRolesForAssignmentvoidprepareGetGroupRoleList(String sessionId, String groupId, String projectIdOrProjectGroupId, Object returnValue) Prepare a simulated response to getGroupRoleListvoidprepareGetIAPermissionId(String integratedAppName, String permission, String loggedInUser, Object returnValue) Prepare a simulated response to getIAPermissionIdvoidprepareGetInheritedRoleList(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getInheritedRoleListvoidprepareGetIntegratedAppPermissions(String sessionId, String[] projectIds, String baseUrl, Object returnValue) Prepare a simulated response to getIntegratedAppPermissionsvoidprepareGetIntegratedAppPermissionsForProject(String sessionId, String projectId, String linkId, Object returnValue) Prepare a simulated response to getIntegratedAppPermissionsForProjectvoidprepareGetLinkId(String projectId, String integratedAppName, String roleId, String loggedInUser, Object returnValue) Prepare a simulated response to getLinkIdvoidprepareGetPendingRequestedRoles(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getPendingRequestedRolesvoidprepareGetProjectRoleMemberList(String sessionId, String roleId, String projectOrProjectGroupId, Object returnValue) Prepare a simulated response to getProjectRoleMemberListvoidprepareGetProjectsByIntegratedAppPermission(String sessionId, String perm, String integratedAppName, Object returnValue) Prepare a simulated response to getProjectsByIntegratedAppPermissionvoidprepareGetProjectsForAction(String sessionId, String operationString, String userName, Object returnValue) Prepare a simulated response to getProjectsForActionvoidprepareGetRoleData(String sessionId, String roleId, Object returnValue) Prepare a simulated response to getRoleDatavoidprepareGetRoleGroupList(String sessionId, String roleId, Object returnValue) Prepare a simulated response to getRoleGroupListvoidprepareGetRoleGroupUsers(String sessionId, String projectIdOrProjectGroupId, String roleId, Object returnValue) Prepare a simulated response to getRoleGroupUsersvoidprepareGetRoleList(String sessionId, String projectOrProjectGroupId, Object returnValue) Prepare a simulated response to getRoleListvoidprepareGetRoleMemberList(String sessionId, String roleId, Object returnValue) Prepare a simulated response to getRoleMemberListvoidprepareGetSiteWideRoleList(String sessionId, Object returnValue) Prepare a simulated response to getSiteWideRoleListvoidprepareGetUserRoleList(String sessionId, String projectOrProjectGroupId, String username, Object returnValue) Prepare a simulated response to getUserRoleListvoidprepareGetUserRolesMap(UserRolesSoapDO[] userRolesSoapDOs, Object returnValue) Prepare a simulated response to getUserRolesMapvoidprepareGetUserSiteWideRoleList(String sessionId, String username, Object returnValue) Prepare a simulated response to getUserSiteWideRoleListvoidprepareGrantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) Prepare a simulated response to grantRolesToMembersvoidprepareGrantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId, Exception exception) Prepare a simulated response to grantRolesToMembersvoidprepareListClusterForDefaultAccessPermissions(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listClusterForDefaultAccessPermissionsvoidprepareListClusters(String sessionId, String roleId, Object returnValue) Prepare a simulated response to listClustersvoidprepareListGroupRolesByProject(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listGroupRolesByProjectvoidprepareListGroupRolesByProjectGroup(String sessionId, String projectGroupId, Object returnValue) Prepare a simulated response to listGroupRolesByProjectGroupvoidprepareListRolePaths(String sessionId, String roleId, String repositoryId, Object returnValue) Prepare a simulated response to listRolePathsvoidprepareRejectRoleRequest(String sessionId, String requestId, String projectId) Prepare a simulated response to rejectRoleRequestvoidprepareRejectRoleRequest(String sessionId, String requestId, String projectId, Exception exception) Prepare a simulated response to rejectRoleRequestvoidprepareRemoveCluster(String sessionId, String roleId, String operationCluster, String folderId) Prepare a simulated response to removeClustervoidprepareRemoveCluster(String sessionId, String roleId, String operationCluster, String folderId, Exception exception) Prepare a simulated response to removeClustervoidprepareRemoveGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) Prepare a simulated response to removeGroupvoidprepareRemoveGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to removeGroupvoidprepareRemoveIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) Prepare a simulated response to removeIntegratedApplicationPermissionvoidprepareRemoveIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission, Exception exception) Prepare a simulated response to removeIntegratedApplicationPermissionvoidprepareRemoveUser(String sessionId, String roleId, String username) Prepare a simulated response to removeUservoidprepareRemoveUser(String sessionId, String roleId, String username, Exception exception) Prepare a simulated response to removeUservoidprepareRemoveUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) Prepare a simulated response to removeUserFromProjectRolevoidprepareRemoveUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to removeUserFromProjectRolevoidprepareRequestRole(String sessionId, String roleId, String projectId) Prepare a simulated response to requestRolevoidprepareRequestRole(String sessionId, String roleId, String projectId, Exception exception) Prepare a simulated response to requestRolevoidprepareRevokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) Prepare a simulated response to revokeRolesFromMembersvoidprepareRevokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId, Exception exception) Prepare a simulated response to revokeRolesFromMembersvoidprepareSetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant) Prepare a simulated response to setAutomaticallyGrantOnRequestvoidprepareSetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant, Exception exception) Prepare a simulated response to setAutomaticallyGrantOnRequestvoidprepareSetRoleData(String sessionId, RoleSoapDO roleData) Prepare a simulated response to setRoleDatavoidprepareSetRoleData(String sessionId, RoleSoapDO roleData, Exception exception) Prepare a simulated response to setRoleDatavoidprepareSetRolePaths(String sessionId, String roleId, String repositoryId, SoapNamedValues rolePaths) Prepare a simulated response to setRolePathsvoidprepareSetRolePaths(String sessionId, String roleId, String repositoryId, SoapNamedValues rolePaths, Exception exception) Prepare a simulated response to setRolePathsvoidrejectRoleRequest(String sessionId, String requestId, String projectId) Simulate a call to rejectRoleRequestvoidremoveCluster(String sessionId, String roleId, String operationCluster, String folderId) Simulate a call to removeClustervoidremoveGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) Simulate a call to removeGroupvoidremoveIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) Simulate a call to removeIntegratedApplicationPermissionvoidremoveUser(String sessionId, String roleId, String username) Simulate a call to removeUservoidremoveUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) Simulate a call to removeUserFromProjectRolevoidrequestRole(String sessionId, String roleId, String projectId) Simulate a call to requestRolevoidrevokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) Simulate a call to revokeRolesFromMembersvoidsetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant) Simulate a call to setAutomaticallyGrantOnRequestvoidsetRoleData(String sessionId, RoleSoapDO roleData) Simulate a call to setRoleDatavoidsetRolePaths(String sessionId, String roleId, String repositoryId, SoapNamedValues rolePaths) Simulate a call to setRolePathsMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCallMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
RbacAppSoapMockStub
-
-
Method Details
-
prepareCreateRole
public void prepareCreateRole(String sessionId, String projectOrProjectGroupId, String title, String description, boolean preventInheritance, boolean requestable, boolean autoGrant, Object returnValue) Prepare a simulated response to createRole -
createRole
public RoleSoapDO createRole(String sessionId, String projectOrProjectGroupId, String title, String description, boolean preventInheritance, boolean requestable, boolean autoGrant) throws RemoteException Simulate a call to createRole- Specified by:
createRolein interfaceIRbacAppSoap- Parameters:
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 requestautoGrant- If the role is granted automatically on request- Returns:
- The Role2SoapDO that was created
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the projectId is invalid or the created roleId is invalid.ObjectAlreadyExistsFault- If the role exists with the specified title in the projectIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareCreateSiteWideRole
public void prepareCreateSiteWideRole(String sessionId, String title, String description, boolean preventInheritance, Object returnValue) Prepare a simulated response to createSiteWideRole -
createSiteWideRole
public RoleSoapDO createSiteWideRole(String sessionId, String title, String description, boolean preventInheritance) throws RemoteException Simulate a call to createSiteWideRole- Specified by:
createSiteWideRolein interfaceIRbacAppSoap- Parameters:
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.- Returns:
- The Role2SoapDO that was created
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the created roleId is invalidObjectAlreadyExistsFault- If the role exists with the specified title in the projectIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareCreateGlobalRole
public void prepareCreateGlobalRole(String sessionId, String title, String description, boolean preventInheritance, boolean requestable, Object returnValue) Prepare a simulated response to createGlobalRole -
createGlobalRole
public RoleSoapDO createGlobalRole(String sessionId, String title, String description, boolean preventInheritance, boolean requestable) throws RemoteException Simulate a call to createGlobalRole- Specified by:
createGlobalRolein interfaceIRbacAppSoap- Parameters:
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 request- Returns:
- The Role2SoapDO that was created
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the created roleId is invalidObjectAlreadyExistsFault- If the global role exists with the specified titleIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareSetRoleData
Prepare a simulated response to setRoleData -
prepareSetRoleData
Prepare a simulated response to setRoleData -
setRoleData
Simulate a call to setRoleData- Specified by:
setRoleDatain interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleData- the role object to save- Throws:
InvalidSessionFault- If the session is invalidVersionMismatchFault- The role version being edited is not the latest onePermissionDeniedFault- If the user doesn't have permission to perform the operationIllegalArgumentFault- If one of the parameters is invalidNoSuchObjectFault- When the roleId is invalidSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetRoleData
Prepare a simulated response to getRoleData -
getRoleData
Simulate a call to getRoleData- Specified by:
getRoleDatain interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- The id of the role to be fetch- Returns:
- The RoleSoapDO that was fetched
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationNoSuchObjectFault- When the roleId is invalidSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- When the roleId is invalidRemoteException- See Also:
-
prepareCheckPermissionBasedOnSideWideOrProjectRole
public void prepareCheckPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO role, com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) Prepare a simulated response to checkPermissionBasedOnSideWideOrProjectRole- See Also:
-
RbacAppSoap.checkPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO, com.vasoftware.sf.common.access.rbac.Operation, java.lang.String)
-
prepareCheckPermissionBasedOnSideWideOrProjectRole
public void prepareCheckPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO role, com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser, Exception exception) Prepare a simulated response to checkPermissionBasedOnSideWideOrProjectRole- See Also:
-
RbacAppSoap.checkPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO, com.vasoftware.sf.common.access.rbac.Operation, java.lang.String)
-
checkPermissionBasedOnSideWideOrProjectRole
public void checkPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO role, com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) throws RemoteException Simulate a call to checkPermissionBasedOnSideWideOrProjectRole- Throws:
RemoteException- See Also:
-
RbacAppSoap.checkPermissionBasedOnSideWideOrProjectRole(com.vasoftware.sf.server.services.access.rbac.RoleDO, com.vasoftware.sf.common.access.rbac.Operation, java.lang.String)
-
prepareCheckSiteWideRolePermission
public void prepareCheckSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) Prepare a simulated response to checkSiteWideRolePermission- See Also:
-
RbacAppSoap.checkSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation, java.lang.String)
-
prepareCheckSiteWideRolePermission
public void prepareCheckSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser, Exception exception) Prepare a simulated response to checkSiteWideRolePermission- See Also:
-
RbacAppSoap.checkSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation, java.lang.String)
-
checkSiteWideRolePermission
public void checkSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation operation, String loggedInUser) throws RemoteException Simulate a call to checkSiteWideRolePermission- Throws:
RemoteException- See Also:
-
RbacAppSoap.checkSiteWideRolePermission(com.vasoftware.sf.common.access.rbac.Operation, java.lang.String)
-
prepareCheckUserActiveStatus
Prepare a simulated response to checkUserActiveStatus- See Also:
-
RbacAppSoap.checkUserActiveStatus(java.lang.String, java.lang.String)
-
prepareCheckUserActiveStatus
Prepare a simulated response to checkUserActiveStatus- See Also:
-
RbacAppSoap.checkUserActiveStatus(java.lang.String, java.lang.String)
-
checkUserActiveStatus
Simulate a call to checkUserActiveStatus- Throws:
RemoteException- See Also:
-
RbacAppSoap.checkUserActiveStatus(java.lang.String, java.lang.String)
-
prepareDeleteRole
Prepare a simulated response to deleteRole -
prepareDeleteRole
Prepare a simulated response to deleteRole -
deleteRole
Simulate a call to deleteRole- Specified by:
deleteRolein interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- The id of the role to be deleted- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the projectId is invalidRemoteException- See Also:
-
prepareAddCluster
public void prepareAddCluster(String sessionId, String roleId, String operationCluster, String folderId) Prepare a simulated response to addCluster -
prepareAddCluster
public void prepareAddCluster(String sessionId, String roleId, String operationCluster, String folderId, Exception exception) Prepare a simulated response to addCluster -
addCluster
public void addCluster(String sessionId, String roleId, String operationCluster, String folderId) throws RemoteException Simulate a call to addCluster- Specified by:
addClusterin interfaceIRbacAppSoap- Parameters:
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.- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidObjectAlreadyExistsFault- If the cluster already exists in the roleIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareAddIntegratedApplicationPermission
public void prepareAddIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) Prepare a simulated response to addIntegratedApplicationPermission -
prepareAddIntegratedApplicationPermission
public void prepareAddIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission, Exception exception) Prepare a simulated response to addIntegratedApplicationPermission -
addIntegratedApplicationPermission
public void addIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) throws RemoteException Simulate a call to addIntegratedApplicationPermission- Specified by:
addIntegratedApplicationPermissionin interfaceIRbacAppSoap- Parameters:
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.- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidObjectAlreadyExistsFault- If the cluster already exists in the roleIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareRemoveIntegratedApplicationPermission
public void prepareRemoveIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) Prepare a simulated response to removeIntegratedApplicationPermission -
prepareRemoveIntegratedApplicationPermission
public void prepareRemoveIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission, Exception exception) Prepare a simulated response to removeIntegratedApplicationPermission -
removeIntegratedApplicationPermission
public void removeIntegratedApplicationPermission(String sessionId, String roleId, String integratedAppName, String permission) throws RemoteException Simulate a call to removeIntegratedApplicationPermission- Specified by:
removeIntegratedApplicationPermissionin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- The role id from which the integrated application permission to be removedintegratedAppName- The integrated application name (e.g: 'Pebble Blog')permission- The integrated application permission to be removed from the role.- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidObjectAlreadyExistsFault- If the cluster already exists in the roleIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareAddRemoveIAPermission
public void prepareAddRemoveIAPermission(String sessionId, String roleId, String integratedAppName, String permission, boolean addPermission) Prepare a simulated response to addRemoveIAPermission- See Also:
-
RbacAppSoap.addRemoveIAPermission(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
-
prepareAddRemoveIAPermission
public void prepareAddRemoveIAPermission(String sessionId, String roleId, String integratedAppName, String permission, boolean addPermission, Exception exception) Prepare a simulated response to addRemoveIAPermission- See Also:
-
RbacAppSoap.addRemoveIAPermission(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
-
addRemoveIAPermission
public void addRemoveIAPermission(String sessionId, String roleId, String integratedAppName, String permission, boolean addPermission) throws RemoteException Simulate a call to addRemoveIAPermission- Throws:
RemoteException- See Also:
-
RbacAppSoap.addRemoveIAPermission(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
-
prepareGetLinkId
public void prepareGetLinkId(String projectId, String integratedAppName, String roleId, String loggedInUser, Object returnValue) Prepare a simulated response to getLinkId- See Also:
-
RbacAppSoap.getLinkId(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
getLinkId
public String getLinkId(String projectId, String integratedAppName, String roleId, String loggedInUser) throws RemoteException Simulate a call to getLinkId- Throws:
RemoteException- See Also:
-
RbacAppSoap.getLinkId(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareGetIAPermissionId
public void prepareGetIAPermissionId(String integratedAppName, String permission, String loggedInUser, Object returnValue) Prepare a simulated response to getIAPermissionId- See Also:
-
RbacAppSoap.getIAPermissionId(java.lang.String, java.lang.String, java.lang.String)
-
getIAPermissionId
public String getIAPermissionId(String integratedAppName, String permission, String loggedInUser) throws RemoteException Simulate a call to getIAPermissionId- Throws:
RemoteException- See Also:
-
RbacAppSoap.getIAPermissionId(java.lang.String, java.lang.String, java.lang.String)
-
prepareRemoveCluster
public void prepareRemoveCluster(String sessionId, String roleId, String operationCluster, String folderId) Prepare a simulated response to removeCluster -
prepareRemoveCluster
public void prepareRemoveCluster(String sessionId, String roleId, String operationCluster, String folderId, Exception exception) Prepare a simulated response to removeCluster -
removeCluster
public void removeCluster(String sessionId, String roleId, String operationCluster, String folderId) throws RemoteException Simulate a call to removeCluster- Specified by:
removeClusterin interfaceIRbacAppSoap- Parameters:
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.- Throws:
InvalidSessionFault- If the session is invalidIllegalArgumentFault- If one of the parameters is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidRemoteException- See Also:
-
prepareConstructResource
public void prepareConstructResource(String operationCluster, String folderId, String loggedInUser, Object returnValue) Prepare a simulated response to constructResource- See Also:
-
RbacAppSoap.constructResource(java.lang.String, java.lang.String, java.lang.String)
-
constructResource
public com.vasoftware.sf.server.services.access.rbac.Resource constructResource(String operationCluster, String folderId, String loggedInUser) throws RemoteException Simulate a call to constructResource- Throws:
RemoteException- See Also:
-
RbacAppSoap.constructResource(java.lang.String, java.lang.String, java.lang.String)
-
prepareListClusters
Prepare a simulated response to listClusters -
listClusters
Simulate a call to listClusters- Specified by:
listClustersin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- The ID of the role for which clusters will be listed- Returns:
- list of clusters for a role
- Throws:
InvalidSessionFault- If the session is invalidIllegalArgumentFault- If one of the parameters is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidRemoteException- See Also:
-
prepareListClusterForDefaultAccessPermissions
public void prepareListClusterForDefaultAccessPermissions(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listClusterForDefaultAccessPermissions -
listClusterForDefaultAccessPermissions
public RoleCluster2SoapList listClusterForDefaultAccessPermissions(String sessionId, String projectId) throws RemoteException Simulate a call to listClusterForDefaultAccessPermissions- Specified by:
listClusterForDefaultAccessPermissionsin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdprojectId- The ID of the project for which clusters will be listed- Returns:
- list of clusters for a project
- Throws:
InvalidSessionFault- If the session is invalidIllegalArgumentFault- If one of the parameters is invalidNoSuchObjectFault- When the roleId is invalidSystemFaultPermissionDeniedFaultRemoteException- See Also:
-
prepareAddUser
Prepare a simulated response to addUser -
prepareAddUser
Prepare a simulated response to addUser -
addUser
Simulate a call to addUser- Specified by:
addUserin interfaceIRbacAppSoap- Parameters:
sessionId- User sessionIdroleId- The role id to add the user tousername- The username of the user to add to the role- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidObjectAlreadyExistsFault- If the user already exists in the roleIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareGrantRolesToMembers
public void prepareGrantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) Prepare a simulated response to grantRolesToMembers -
prepareGrantRolesToMembers
public void prepareGrantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId, Exception exception) Prepare a simulated response to grantRolesToMembers -
grantRolesToMembers
public void grantRolesToMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) throws RemoteException Simulate a call to grantRolesToMembers- Specified by:
grantRolesToMembersin interfaceIRbacAppSoap- Parameters:
sessionId- User sessionIduserRolesSoapDOs- user to roles data containerprojectId- project to which users would be the members with the given roles.- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidObjectAlreadyExistsFault- If the user already exists in the roleIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareGetUserRolesMap
Prepare a simulated response to getUserRolesMap- See Also:
-
RbacAppSoap.getUserRolesMap(com.collabnet.ce.soap60.webservices.rbac.UserRolesSoapDO[])
-
getUserRolesMap
Simulate a call to getUserRolesMap- Throws:
RemoteException- See Also:
-
RbacAppSoap.getUserRolesMap(com.collabnet.ce.soap60.webservices.rbac.UserRolesSoapDO[])
-
prepareRemoveUser
Prepare a simulated response to removeUser -
prepareRemoveUser
public void prepareRemoveUser(String sessionId, String roleId, String username, Exception exception) Prepare a simulated response to removeUser -
removeUser
Simulate a call to removeUser- Specified by:
removeUserin interfaceIRbacAppSoap- Parameters:
sessionId- User sessionIdroleId- The role id to add the user tousername- The username of the user to add to the role- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareRevokeRolesFromMembers
public void prepareRevokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) Prepare a simulated response to revokeRolesFromMembers -
prepareRevokeRolesFromMembers
public void prepareRevokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId, Exception exception) Prepare a simulated response to revokeRolesFromMembers -
revokeRolesFromMembers
public void revokeRolesFromMembers(String sessionId, UserRolesSoapDO[] userRolesSoapDOs, String projectId) throws RemoteException Simulate a call to revokeRolesFromMembers- Specified by:
revokeRolesFromMembersin interfaceIRbacAppSoap- Parameters:
sessionId- User sessionIduserRolesSoapDOs- user to roles data containerprojectId- project in which roles would be removed from the users.- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareAddUserToProjectRole
public void prepareAddUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) Prepare a simulated response to addUserToProjectRole -
prepareAddUserToProjectRole
public void prepareAddUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to addUserToProjectRole -
addUserToProjectRole
public void addUserToProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) throws RemoteException Simulate a call to addUserToProjectRole- Specified by:
addUserToProjectRolein interfaceIRbacAppSoap- Parameters:
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.- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidObjectAlreadyExistsFault- If the user already exists in the roleIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareRemoveUserFromProjectRole
public void prepareRemoveUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) Prepare a simulated response to removeUserFromProjectRole -
prepareRemoveUserFromProjectRole
public void prepareRemoveUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to removeUserFromProjectRole -
removeUserFromProjectRole
public void removeUserFromProjectRole(String sessionId, String roleId, String username, String projectOrProjectGroupId) throws RemoteException Simulate a call to removeUserFromProjectRole- Specified by:
removeUserFromProjectRolein interfaceIRbacAppSoap- Parameters:
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.- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareAddGroup
public void prepareAddGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) Prepare a simulated response to addGroup -
prepareAddGroup
public void prepareAddGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to addGroup -
addGroup
public void addGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) throws RemoteException Simulate a call to addGroup- Specified by:
addGroupin interfaceIRbacAppSoap- Parameters:
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.- Throws:
IllegalArgumentFault- If one of the parameters is invalid.InvalidSessionFault- If the session is invalid.PermissionDeniedFault- If the user does not have permission to perform the operation.SystemFault- When an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalid.ObjectAlreadyExistsFault- If the user group already exists in the role.RemoteException- See Also:
-
prepareRemoveGroup
public void prepareRemoveGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) Prepare a simulated response to removeGroup -
prepareRemoveGroup
public void prepareRemoveGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId, Exception exception) Prepare a simulated response to removeGroup -
removeGroup
public void removeGroup(String sessionId, String groupId, String roleId, String projectOrProjectGroupId) throws RemoteException Simulate a call to removeGroup- Specified by:
removeGroupin interfaceIRbacAppSoap- Parameters:
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.- Throws:
IllegalArgumentFault- If one of the parameters is invalid.InvalidSessionFault- If the session is invalid.NoSuchObjectFault- When the roleId is invalid.PermissionDeniedFault- If the user does not have permission to perform the operation.SystemFault- When an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetRoleList
public void prepareGetRoleList(String sessionId, String projectOrProjectGroupId, Object returnValue) Prepare a simulated response to getRoleList -
getRoleList
public RoleSoapList getRoleList(String sessionId, String projectOrProjectGroupId) throws RemoteException Simulate a call to getRoleList- Specified by:
getRoleListin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdprojectOrProjectGroupId- The Project/Project Group Id to list roles from- Returns:
- The RoleSoapList describing all roles in the project
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the projectId is invalidObjectAlreadyExistsFault- If the role exists with the specified title in the projectIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareGetInheritedRoleList
Prepare a simulated response to getInheritedRoleList -
getInheritedRoleList
Simulate a call to getInheritedRoleList- Specified by:
getInheritedRoleListin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdprojectId- The project Id to list the inherited roles from- Returns:
- The Role2SoapList describing all inherited roles in the project
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the projectId is invalidIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareGetRoleMemberList
Prepare a simulated response to getRoleMemberList -
getRoleMemberList
Simulate a call to getRoleMemberList- Specified by:
getRoleMemberListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.roleId- Role id.- Returns:
- List of users in the specified role.
- Throws:
IllegalArgumentFault- Role id is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operationNoSuchObjectFault- when the specified role id is invalidSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetProjectRoleMemberList
public void prepareGetProjectRoleMemberList(String sessionId, String roleId, String projectOrProjectGroupId, Object returnValue) Prepare a simulated response to getProjectRoleMemberList -
getProjectRoleMemberList
public UserSoapList getProjectRoleMemberList(String sessionId, String roleId, String projectOrProjectGroupId) throws RemoteException Simulate a call to getProjectRoleMemberList- Specified by:
getProjectRoleMemberListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.roleId- Role id.projectOrProjectGroupId- Project or Project Group Id- Returns:
- List of users in the specified role in the given project or project group.
- Throws:
IllegalArgumentFault- Role id is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operationNoSuchObjectFault- when the specified role id is invalidSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetUserRoleList
public void prepareGetUserRoleList(String sessionId, String projectOrProjectGroupId, String username, Object returnValue) Prepare a simulated response to getUserRoleList -
getUserRoleList
public RoleSoapList getUserRoleList(String sessionId, String projectOrProjectGroupId, String username) throws RemoteException Simulate a call to getUserRoleList- Specified by:
getUserRoleListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.projectOrProjectGroupId- Project or Project Group id.username- Name of the user.- Returns:
- List of roles that a user is a member of.
- Throws:
IllegalArgumentFault- Username is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operationNoSuchObjectFault- when the specified project or project group id is invalidSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetUserSiteWideRoleList
Prepare a simulated response to getUserSiteWideRoleList -
getUserSiteWideRoleList
public RoleSoapList getUserSiteWideRoleList(String sessionId, String username) throws RemoteException Simulate a call to getUserSiteWideRoleList- Specified by:
getUserSiteWideRoleListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.username- Name of the user.- Returns:
- List of site-wide roles that a user is a member of.
- Throws:
IllegalArgumentFault- Username is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operationNoSuchObjectFault- when the specified project id is invalidSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetSiteWideRoleList
Prepare a simulated response to getSiteWideRoleList -
getSiteWideRoleList
Simulate a call to getSiteWideRoleList- Specified by:
getSiteWideRoleListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.- Returns:
- List of site-wide roles available
- Throws:
InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have the permission to perform the operationSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetGlobalRoleList
Prepare a simulated response to getGlobalRoleList -
getGlobalRoleList
Simulate a call to getGlobalRoleList- Specified by:
getGlobalRoleListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.- Returns:
- List of global roles available
- Throws:
InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have the permission to perform the operationSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetGlobalRolesForAssignment
public void prepareGetGlobalRolesForAssignment(String sessionId, String projectOrProjectGroupId, Object returnValue) Prepare a simulated response to getGlobalRolesForAssignment -
getGlobalRolesForAssignment
public RoleSoapList getGlobalRolesForAssignment(String sessionId, String projectOrProjectGroupId) throws RemoteException Simulate a call to getGlobalRolesForAssignment- Specified by:
getGlobalRolesForAssignmentin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.projectOrProjectGroupId- the project or project group from which to get the global roles list- Returns:
- List of global roles available
- Throws:
InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have the permission to perform the operationNoSuchObjectFault- when the specified project or project group id is invalidSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareGetGroupRoleList
public void prepareGetGroupRoleList(String sessionId, String groupId, String projectIdOrProjectGroupId, Object returnValue) Prepare a simulated response to getGroupRoleList -
getGroupRoleList
public RoleSoapList getGroupRoleList(String sessionId, String groupId, String projectIdOrProjectGroupId) throws RemoteException Simulate a call to getGroupRoleList- Specified by:
getGroupRoleListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.groupId- User Group id.projectIdOrProjectGroupId- Project id or project group id.- Returns:
- List of roles the user group is associated with.
- Throws:
InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operation.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- when the specified project id or project group id is invalid.IllegalArgumentFault- If one of the parameters is invalid.RemoteException- See Also:
-
prepareGetRoleGroupList
Prepare a simulated response to getRoleGroupList -
getRoleGroupList
Simulate a call to getRoleGroupList- Specified by:
getRoleGroupListin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.roleId- Role id.- Returns:
- List of user groups associated with a role.
- Throws:
IllegalArgumentFault- roleId is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operation.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- when the specified project id is invalid.RemoteException- See Also:
-
prepareListGroupRolesByProject
Prepare a simulated response to listGroupRolesByProject -
listGroupRolesByProject
public RoleGroupSoapList listGroupRolesByProject(String sessionId, String projectId) throws RemoteException Simulate a call to listGroupRolesByProject- Specified by:
listGroupRolesByProjectin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.projectId- Project id.- Returns:
- list of user groups and the roles it is associated with
- Throws:
IllegalArgumentFault- projectId is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operation.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- when the specified project id is invalid.RemoteException- See Also:
-
prepareGetRoleGroupUsers
public void prepareGetRoleGroupUsers(String sessionId, String projectIdOrProjectGroupId, String roleId, Object returnValue) Prepare a simulated response to getRoleGroupUsers -
getRoleGroupUsers
public UserSoapList getRoleGroupUsers(String sessionId, String projectIdOrProjectGroupId, String roleId) throws RemoteException Simulate a call to getRoleGroupUsers- Specified by:
getRoleGroupUsersin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.projectIdOrProjectGroupId- Project or Project Group's id.roleId- Role id.- Returns:
- List of users in the specified role.
- Throws:
IllegalArgumentFault- Role id is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operationNoSuchObjectFault- when the specified role id is invalidSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareListRolePaths
public void prepareListRolePaths(String sessionId, String roleId, String repositoryId, Object returnValue) Prepare a simulated response to listRolePaths -
listRolePaths
public SoapNamedValues listRolePaths(String sessionId, String roleId, String repositoryId) throws RemoteException Simulate a call to listRolePaths- Specified by:
listRolePathsin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- the key of the role the role paths belongs torepositoryId- the repository id- Returns:
- role path in soap named values format
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareSetRolePaths
public void prepareSetRolePaths(String sessionId, String roleId, String repositoryId, SoapNamedValues rolePaths) Prepare a simulated response to setRolePaths -
prepareSetRolePaths
public void prepareSetRolePaths(String sessionId, String roleId, String repositoryId, SoapNamedValues rolePaths, Exception exception) Prepare a simulated response to setRolePaths -
setRolePaths
public void setRolePaths(String sessionId, String roleId, String repositoryId, SoapNamedValues rolePaths) throws RemoteException Simulate a call to setRolePaths- Specified by:
setRolePathsin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- the key of the role the role paths belongs torepositoryId- the repository idrolePaths- list of role paths- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the roleId is invalidIllegalArgumentFault- If one of the parameters is invalidRemoteException- See Also:
-
prepareGetProjectsForAction
public void prepareGetProjectsForAction(String sessionId, String operationString, String userName, Object returnValue) Prepare a simulated response to getProjectsForAction -
getProjectsForAction
public ProjectSoapList getProjectsForAction(String sessionId, String operationString, String userName) throws RemoteException Simulate a call to getProjectsForAction- Specified by:
getProjectsForActionin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdoperationString- Operation in format type.category.nameuserName- the user who would have cluster permission in the returned project list- Returns:
- List of projects
- Throws:
InvalidSessionFault- when the session is invalidPermissionDeniedFault- when the user doesn't have permission to perform the operationIllegalArgumentFault- when the arguments are null or empty.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- when the userName doesn't exist.RemoteException- See Also:
-
prepareRequestRole
Prepare a simulated response to requestRole -
prepareRequestRole
public void prepareRequestRole(String sessionId, String roleId, String projectId, Exception exception) Prepare a simulated response to requestRole -
requestRole
Simulate a call to requestRole- Specified by:
requestRolein interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- the role idprojectId- project in which to make the request- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationNoSuchObjectFault- When the roleId or projectId is invalidIllegalArgumentFault- incorrect parametersSystemFault- when an unexpected system level error occurs.RemoteException- See Also:
-
prepareSetAutomaticallyGrantOnRequest
public void prepareSetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant) Prepare a simulated response to setAutomaticallyGrantOnRequest -
prepareSetAutomaticallyGrantOnRequest
public void prepareSetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant, Exception exception) Prepare a simulated response to setAutomaticallyGrantOnRequest -
setAutomaticallyGrantOnRequest
public void setAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, boolean autoGrant) throws RemoteException Simulate a call to setAutomaticallyGrantOnRequest- Specified by:
setAutomaticallyGrantOnRequestin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- the role idprojectId- the project to which automatically grant property to be setautoGrant- true to set it available upon request- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationNoSuchObjectFault- When the projectId is invalidSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the role is not available upon requestRemoteException- See Also:
-
prepareGetAutomaticallyGrantOnRequest
public void prepareGetAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId, Object returnValue) Prepare a simulated response to getAutomaticallyGrantOnRequest -
getAutomaticallyGrantOnRequest
public boolean getAutomaticallyGrantOnRequest(String sessionId, String roleId, String projectId) throws RemoteException Simulate a call to getAutomaticallyGrantOnRequest- Specified by:
getAutomaticallyGrantOnRequestin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdroleId- the role idprojectId- the project to which automatically grant property to be set- Returns:
- Auto grant flag of role
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationNoSuchObjectFault- When the projectId is invalidSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when there is a request for global role with Projects project id.RemoteException- See Also:
-
prepareGetPendingRequestedRoles
Prepare a simulated response to getPendingRequestedRoles -
getPendingRequestedRoles
public RoleRequestSoapList getPendingRequestedRoles(String sessionId, String projectId) throws RemoteException Simulate a call to getPendingRequestedRoles- Specified by:
getPendingRequestedRolesin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdprojectId- project in which the pending requested roles needs to be retrieved- Returns:
- List of pending requested roles.
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationNoSuchObjectFault- When projectId is invalidIllegalArgumentFault- incorrect parametersSystemFault- unexpected error occursRemoteException- See Also:
-
prepareApproveRoleRequest
Prepare a simulated response to approveRoleRequest -
prepareApproveRoleRequest
public void prepareApproveRoleRequest(String sessionId, String requestId, String projectId, Exception exception) Prepare a simulated response to approveRoleRequest -
approveRoleRequest
public void approveRoleRequest(String sessionId, String requestId, String projectId) throws RemoteException Simulate a call to approveRoleRequest- Specified by:
approveRoleRequestin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdrequestId- Role request IdprojectId- project in which the role request was raised- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationNoSuchObjectFault- When the projectId is invalidIllegalArgumentFault- incorrect parametersSystemFault- unexpected error occursRemoteException- See Also:
-
prepareRejectRoleRequest
Prepare a simulated response to rejectRoleRequest -
prepareRejectRoleRequest
public void prepareRejectRoleRequest(String sessionId, String requestId, String projectId, Exception exception) Prepare a simulated response to rejectRoleRequest -
rejectRoleRequest
public void rejectRoleRequest(String sessionId, String requestId, String projectId) throws RemoteException Simulate a call to rejectRoleRequest- Specified by:
rejectRoleRequestin interfaceIRbacAppSoap- Parameters:
sessionId- User session IdrequestId- Role request IdprojectId- project in which the role request was raised- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationNoSuchObjectFault- When the projectId is invalidIllegalArgumentFault- incorrect parametersSystemFault- unexpected error occursRemoteException- See Also:
-
prepareListGroupRolesByProjectGroup
public void prepareListGroupRolesByProjectGroup(String sessionId, String projectGroupId, Object returnValue) Prepare a simulated response to listGroupRolesByProjectGroup -
listGroupRolesByProjectGroup
public RoleGroupSoapList listGroupRolesByProjectGroup(String sessionId, String projectGroupId) throws RemoteException Simulate a call to listGroupRolesByProjectGroup- Specified by:
listGroupRolesByProjectGroupin interfaceIRbacAppSoap- Parameters:
sessionId- User session id.projectGroupId- Project group id.- Returns:
- list of user groups and the roles it is associated with
- Throws:
IllegalArgumentFault- projectGroupId is not specified or invalid.InvalidSessionFault- if the session is invalid.PermissionDeniedFault- if the user does not have permission to perform the operation.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- when the specified project group id is invalid.RemoteException- See Also:
-
prepareGetProjectsByIntegratedAppPermission
public void prepareGetProjectsByIntegratedAppPermission(String sessionId, String perm, String integratedAppName, Object returnValue) Prepare a simulated response to getProjectsByIntegratedAppPermission -
getProjectsByIntegratedAppPermission
public String[] getProjectsByIntegratedAppPermission(String sessionId, String perm, String integratedAppName) throws RemoteException Simulate a call to getProjectsByIntegratedAppPermission- Specified by:
getProjectsByIntegratedAppPermissionin interfaceIRbacAppSoap- Parameters:
sessionId- User session key.perm- permission criteriaintegratedAppName- the IntegratedApp plugName.- Returns:
- string array of id of projects in which the current user has given permission to given integrated app.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the plugName is invalidIllegalArgumentFault- When the userId is invalidRemoteException- See Also:
-
prepareGetIntegratedAppPermissionsForProject
public void prepareGetIntegratedAppPermissionsForProject(String sessionId, String projectId, String linkId, Object returnValue) Prepare a simulated response to getIntegratedAppPermissionsForProject -
getIntegratedAppPermissionsForProject
public String[] getIntegratedAppPermissionsForProject(String sessionId, String projectId, String linkId) throws RemoteException Simulate a call to getIntegratedAppPermissionsForProject- Specified by:
getIntegratedAppPermissionsForProjectin interfaceIRbacAppSoap- Parameters:
sessionId- User session key.projectId- the projectIdlinkId- the linkId between integrated app and project- Returns:
- String array of permissions for given integrated application
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFaultRemoteException- See Also:
-
prepareGetIntegratedAppPermissions
public void prepareGetIntegratedAppPermissions(String sessionId, String[] projectIds, String baseUrl, Object returnValue) Prepare a simulated response to getIntegratedAppPermissions -
getIntegratedAppPermissions
public IntegratedAppProjectPermissionSoapList getIntegratedAppPermissions(String sessionId, String[] projectIds, String baseUrl) throws RemoteException Simulate a call to getIntegratedAppPermissions- Specified by:
getIntegratedAppPermissionsin interfaceIRbacAppSoap- Parameters:
sessionId- User session key.projectIds- the projectIdsbaseUrl- the base url of the integrated application- Returns:
- List of integrated application permission on the specified projects for current user
- Throws:
IllegalArgumentFault- when baseUrl is null or emptyInvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified baseUrl is invalidSystemFault- when an unexpected system error occursRemoteException- See Also:
-