Class CollabNetSoapMockStub
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.ClientSoapStub
-
- com.collabnet.ce.soap60.webservices.ClientSoapMockStub
-
- com.collabnet.ce.soap60.webservices.cemain.CollabNetSoapMockStub
-
- All Implemented Interfaces:
ICollabNetSoap
public class CollabNetSoapMockStub extends ClientSoapMockStub implements ICollabNetSoap
-
-
Field Summary
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
DATE_WILDCARD, GUIDKEY_WILDCARD, INTEGER_WILDCARD, LONG_WILDCARD, STRING_WILDCARD
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
-
Constructor Summary
Constructors Constructor Description CollabNetSoapMockStub(String soapServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)Simulate a call to addProjectGroupAdminsvoidaddProjectGroupMember(String sessionId, String projectGroupId, String userName)Simulate a call to addProjectGroupMembervoidaddProjectMember(String sessionId, String projectId, String userName)Simulate a call to addProjectMembervoidaddProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds)Simulate a call to addProjectsToProjectGroupvoidaddUserGroupMember(String sessionId, String userGroupId, String userName)Simulate a call to addUserGroupMemberbooleancanGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser)Simulate a call to canGiveFullUserDetailsbooleancanReceiveOwnUpdates(String sessionId)Simulate a call to canReceiveOwnUpdatesvoidchangeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle)Simulate a call to changeIAObjectTitlebooleanchangePassword(String sessionId, String userName, String newPassword)Simulate a call to changePasswordvoidcheckPermissionsToChangePassword(String userName, String loggedInUser)Simulate a call to checkPermissionsToChangePasswordvoidcheckUserActiveStatus(String userName, String loggedInUser)Simulate a call to checkUserActiveStatusvoidcreateAssociation(String sessionId, String originId, String targetId, String description)Simulate a call to createAssociationvoidcreateAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description)Simulate a call to createAssociationWithTitlesStringcreateLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String applicationType, String toolId)Simulate a call to createLinkedAppProjectSoapDOcreateOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId)Simulate a call to createOrReplaceProjectTemplateProjectSoapDOcreateProject(String sessionId, String name, String title, String description)Simulate a call to createProjectProjectSoapDOcreateProjectFromTemplate(String sessionId, String templateId, String name, String title, String description)Simulate a call to createProjectFromTemplateProjectGroupSoapDOcreateProjectGroup(String sessionId, String title, String description)Simulate a call to createProjectGroupStringcreateProjectLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon)Simulate a call to createProjectLinkedAppStringcreateProjectLinkedApp2(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String toolId)Simulate a call to createProjectLinkedApp2StringcreateSiteWideLinkedApp(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon)Simulate a call to createSiteWideLinkedAppUserSoapDOcreateUser(String sessionId, String userName, String email, String fullName, String organization, String locale, String timeZone, String licenseType, boolean isSuperUser, boolean isRestrictedUser, String password)Simulate a call to createUserUserGroupSoapDOcreateUserGroup(String sessionId, String fullName, String description)Simulate a call to createUserGroupvoiddeleteAssociation(String sessionId, String originId, String targetId)Simulate a call to deleteAssociationvoiddeleteAttachment(String sessionId, String objectId, String attachmentId)Simulate a call to deleteAttachmentvoiddeleteLinkedApp(String sessionId, String linkedAppId)Simulate a call to deleteLinkedAppvoiddeleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound)Simulate a call to deleteProjectvoiddeleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound)Simulate a call to deleteProjectGroupvoiddeleteUserGroup(String sessionId, String groupId)Simulate a call to deleteUserGroupStringdoMandatoryPasswordChange(String userName, String oldPassword, String newPassword)Simulate a call to doMandatoryPasswordChangeProjectSoapListfindProjects(String sessionId, String queryString)Simulate a call to findProjectsUserSoapListfindUsers(String sessionId, String queryString)Simulate a call to findUsersStringgetApiVersion()Simulate a call to getApiVersionAssociationSoapListgetAssociationList(String sessionId, String objectId)Simulate a call to getAssociationListAuditHistorySoapListgetAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges)Simulate a call to getAuditHistoryListStringgetBroadCastMessage(String sessionId)Simulate a call to getBroadCastMessageCommentSoapListgetCommentList(String sessionId, String objectId)Simulate a call to getCommentListStringgetConfigurationValue(String sessionId, String keyValue)Simulate a call to getConfigurationValuelonggetCurrentTime(String sessionId)Simulate a call to getCurrentTimeUserSoapDOgetCurrentUserData(String sessionId)Simulate a call to getCurrentUserDatacom.vasoftware.sf.server.services.filestorage.StoredFileDOgetIconFile(String iconKey, String iconFileName, String iconMimeType, String loggedInUser)Simulate a call to getIconFileStringgetJSessionBySoapId(String soapId)Simulate a call to getJSessionBySoapIdStringgetJSessionId(String oneTimeToken)Simulate a call to getJSessionIdStringgetJSessionId(String oneTimeToken, boolean invalidateToken)Simulate a call to getJSessionIdLinkedApplicationSoapDOgetLinkedApplicationData(String sessionId, String linkedAppId)Simulate a call to getLinkedApplicationDataLinkedApplication2SoapDOgetLinkedApplicationData2(String sessionId, String linkedAppId)Simulate a call to getLinkedApplicationData2ProjectSoapListgetMemberProjectsForProjectGroup(String sessionId, String projectGroupId)Simulate a call to getMemberProjectsForProjectGroupStringgetOneTimeToken(String sessionId)Simulate a call to getOneTimeTokenStringgetPasswordRequirements(String loggedInUser)Simulate a call to getPasswordRequirementsintgetProjectAccessLevel(String sessionId, String projectId)Simulate a call to getProjectAccessLevelProjectSoapDOgetProjectByPath(String sessionId, String projectPath)Simulate a call to getProjectByPathProjectSoapDOgetProjectData(String sessionId, String projectId)Simulate a call to getProjectDatalonggetProjectDiskUsage(String sessionId, String projectId)Simulate a call to getProjectDiskUsageProjectGroupSoapDOgetProjectGroupData(String sessionId, String projectGroupId)Simulate a call to getProjectGroupDataProjectGroupMemberSoapListgetProjectGroupMemberList(String sessionId, String projectGroupId)Simulate a call to getProjectGroupMemberListProjectGroupSoapListgetProjectGroupsForProject(String sessionId, String projectId)Simulate a call to getProjectGroupsForProjectProjectGroupSoapListgetProjectGroupsForProject1(String sessionId, String projectId)Simulate a call to getProjectGroupsForProject1SoapNamedValuesgetProjectHierarchyPaths(String sessionId, String[] projectIds)Simulate a call to getProjectHierarchyPathsStringgetProjectIdForLinkedApp(String projectId, String loggedInUser)Simulate a call to getProjectIdForLinkedAppProjectSoapListgetProjectList(String sessionId, boolean fetchHierarchyPath)Simulate a call to getProjectListProjectSoapListgetProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership)Simulate a call to getProjectListForUserProjectMemberSoapListgetProjectMemberList(String sessionId, String projectId)Simulate a call to getProjectMemberListlonggetProjectQuota(String sessionId, String projectId)Simulate a call to getProjectQuotacom.vasoftware.sf.common.access.rbac.OperationgetRbacOperation(CollabNetSoap.LinkedAppOperation operation, boolean isSiteWide)Simulate a call to getRbacOperationStringgetSessionId(String oneTimeToken)Simulate a call to getSessionIdStringgetSessionId(String oneTimeToken, boolean invalidateToken)Simulate a call to getSessionIdProjectSoapListgetSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath)Simulate a call to getSubprojectListUserSoapDOgetUserByEmail(String sessionId, String email)Simulate a call to getUserByEmailUserSoapDOgetUserByName(String sessionId, String fullname)Simulate a call to getUserByNameUserSoapDOgetUserData(String sessionId, String username)Simulate a call to getUserDataUser2SoapDOgetUserData2(String sessionId, String username)Simulate a call to getUserData2StringgetUserEffectiveMode(String sessionId)Simulate a call to getUserEffectiveModeUserGroupSoapDOgetUserGroupData(String sessionId, String groupId)Simulate a call to getUserGroupDataUserGroupSoapListgetUserGroupList(String sessionId)Simulate a call to getUserGroupListUserGroupSoapListgetUserGroupListForProject(String sessionId, String projectOrProjectGroupId)Simulate a call to getUserGroupListForProjectUserGroupSoapListgetUserGroupListForUser(String sessionId, String username)Simulate a call to getUserGroupListForUserUserSoapListgetUserGroupMembers(String sessionId, String groupId)Simulate a call to getUserGroupMembersUserSoapListgetUserList(String sessionId, SoapFilter soapFilter)Simulate a call to getUserListUser2SoapListgetUserList2(String sessionId, SoapFilter soapFilter)Simulate a call to getUserList2StringgetUserSessionBySoapId(String soapId)Simulate a call to getUserSessionBySoapIdStringgetVersion(String sessionId)Simulate a call to getVersionVersionInformationSoapListgetVersionInformationList(String sessionId, String folderId)Simulate a call to getVersionInformationListStringgetWebAndSoapSessionId(String oneTimeToken)Simulate a call to getWebAndSoapSessionIdbooleanhasGeneralPermission(String sessionId, String username, String projectId, String operationString, String objectId)Simulate a call to hasGeneralPermissionbooleanhasPermission(String sessionId, String username, String projectId, String operationString, String objectId)Simulate a call to hasPermissionbooleanhasPermission2(String sessionId, String projectId, String operationString, String objectId)Simulate a call to hasPermission2booleanhasSitewideRolePermission(String sessionId, String operationString)Simulate a call to hasSitewideRolePermissionbooleanisHostedMode(String sessionId)Simulate a call to isHostedModebooleanisSoapRedirectPostOnlyMode(String sessionId)Simulate a call to isSoapRedirectPostOnlyModevoidkeepAlive(String sessionId)Simulate a call to keepAliveAttachmentSoapListlistAttachments(String sessionId, String objectId)Simulate a call to listAttachmentsUserGroupSoapListlistGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited)Simulate a call to listGroupsWithGeneralPermissionLinkedApplicationSoapListlistLinkedApps(String sessionId, String projectId)Simulate a call to listLinkedAppsLinkedApplication2SoapListlistLinkedApps2(String sessionId, String projectId)Simulate a call to listLinkedApps2UserSoapListlistProjectAdmins(String sessionId, String projectId)Simulate a call to listProjectAdminsProjectGroupSoapListlistProjectGroups(String sessionId)Simulate a call to listProjectGroupsLinkedApplicationSoapListlistProjectLinkedApps(String sessionId, String projectId)Simulate a call to listProjectLinkedAppsLinkedApplication2SoapListlistProjectLinkedApps2(String sessionId, String projectId)Simulate a call to listProjectLinkedApps2LinkedApplicationSoapListlistSiteWideLinkedApps(String sessionId)Simulate a call to listSiteWideLinkedAppsProjectSoapListlistTemplates(String sessionId)Simulate a call to listTemplatesUserSoapListlistUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId)Simulate a call to listUsersWithGeneralPermissionUserSoapListlistUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag)Simulate a call to listUsersWithPermissionOnObjectProjectSoapDOlockProject(String sessionId, String projectId)Simulate a call to lockProjectStringlogin(String userName, String password)Simulate a call to loginStringlogin(String userName, String password, boolean ignorePasswordExpiry)Simulate a call to loginStringloginAnonymous(String anonSharedSecret)Simulate a call to loginAnonymousStringloginWithToken(String username, String oneTimeToken)Simulate a call to loginWithTokenvoidlogoff(String userName, String sessionId)Simulate a call to logoffvoidprepareAddProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)Prepare a simulated response to addProjectGroupAdminsvoidprepareAddProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames, Exception exception)Prepare a simulated response to addProjectGroupAdminsvoidprepareAddProjectGroupMember(String sessionId, String projectGroupId, String userName)Prepare a simulated response to addProjectGroupMembervoidprepareAddProjectGroupMember(String sessionId, String projectGroupId, String userName, Exception exception)Prepare a simulated response to addProjectGroupMembervoidprepareAddProjectMember(String sessionId, String projectId, String userName)Prepare a simulated response to addProjectMembervoidprepareAddProjectMember(String sessionId, String projectId, String userName, Exception exception)Prepare a simulated response to addProjectMembervoidprepareAddProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds)Prepare a simulated response to addProjectsToProjectGroupvoidprepareAddProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds, Exception exception)Prepare a simulated response to addProjectsToProjectGroupvoidprepareAddUserGroupMember(String sessionId, String userGroupId, String userName)Prepare a simulated response to addUserGroupMembervoidprepareAddUserGroupMember(String sessionId, String userGroupId, String userName, Exception exception)Prepare a simulated response to addUserGroupMembervoidprepareCanGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser, Object returnValue)Prepare a simulated response to canGiveFullUserDetailsvoidprepareCanReceiveOwnUpdates(String sessionId, Object returnValue)Prepare a simulated response to canReceiveOwnUpdatesvoidprepareChangeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle)Prepare a simulated response to changeIAObjectTitlevoidprepareChangeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle, Exception exception)Prepare a simulated response to changeIAObjectTitlevoidprepareChangePassword(String sessionId, String userName, String newPassword, Object returnValue)Prepare a simulated response to changePasswordvoidprepareCheckPermissionsToChangePassword(String userName, String loggedInUser)Prepare a simulated response to checkPermissionsToChangePasswordvoidprepareCheckPermissionsToChangePassword(String userName, String loggedInUser, Exception exception)Prepare a simulated response to checkPermissionsToChangePasswordvoidprepareCheckUserActiveStatus(String userName, String loggedInUser)Prepare a simulated response to checkUserActiveStatusvoidprepareCheckUserActiveStatus(String userName, String loggedInUser, Exception exception)Prepare a simulated response to checkUserActiveStatusvoidprepareCreateAssociation(String sessionId, String originId, String targetId, String description)Prepare a simulated response to createAssociationvoidprepareCreateAssociation(String sessionId, String originId, String targetId, String description, Exception exception)Prepare a simulated response to createAssociationvoidprepareCreateAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description)Prepare a simulated response to createAssociationWithTitlesvoidprepareCreateAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description, Exception exception)Prepare a simulated response to createAssociationWithTitlesvoidprepareCreateLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String applicationType, String toolId, Object returnValue)Prepare a simulated response to createLinkedAppvoidprepareCreateOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId, Object returnValue)Prepare a simulated response to createOrReplaceProjectTemplatevoidprepareCreateProject(String sessionId, String name, String title, String description, Object returnValue)Prepare a simulated response to createProjectvoidprepareCreateProjectFromTemplate(String sessionId, String templateId, String name, String title, String description, Object returnValue)Prepare a simulated response to createProjectFromTemplatevoidprepareCreateProjectGroup(String sessionId, String title, String description, Object returnValue)Prepare a simulated response to createProjectGroupvoidprepareCreateProjectLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, Object returnValue)Prepare a simulated response to createProjectLinkedAppvoidprepareCreateProjectLinkedApp2(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String toolId, Object returnValue)Prepare a simulated response to createProjectLinkedApp2voidprepareCreateSiteWideLinkedApp(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon, Object returnValue)Prepare a simulated response to createSiteWideLinkedAppvoidprepareCreateUser(String sessionId, String userName, String email, String fullName, String organization, String locale, String timeZone, String licenseType, boolean isSuperUser, boolean isRestrictedUser, String password, Object returnValue)Prepare a simulated response to createUservoidprepareCreateUserGroup(String sessionId, String fullName, String description, Object returnValue)Prepare a simulated response to createUserGroupvoidprepareDeleteAssociation(String sessionId, String originId, String targetId)Prepare a simulated response to deleteAssociationvoidprepareDeleteAssociation(String sessionId, String originId, String targetId, Exception exception)Prepare a simulated response to deleteAssociationvoidprepareDeleteAttachment(String sessionId, String objectId, String attachmentId)Prepare a simulated response to deleteAttachmentvoidprepareDeleteAttachment(String sessionId, String objectId, String attachmentId, Exception exception)Prepare a simulated response to deleteAttachmentvoidprepareDeleteLinkedApp(String sessionId, String linkedAppId)Prepare a simulated response to deleteLinkedAppvoidprepareDeleteLinkedApp(String sessionId, String linkedAppId, Exception exception)Prepare a simulated response to deleteLinkedAppvoidprepareDeleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound)Prepare a simulated response to deleteProjectvoidprepareDeleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound, Exception exception)Prepare a simulated response to deleteProjectvoidprepareDeleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound)Prepare a simulated response to deleteProjectGroupvoidprepareDeleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound, Exception exception)Prepare a simulated response to deleteProjectGroupvoidprepareDeleteUserGroup(String sessionId, String groupId)Prepare a simulated response to deleteUserGroupvoidprepareDeleteUserGroup(String sessionId, String groupId, Exception exception)Prepare a simulated response to deleteUserGroupvoidprepareDoMandatoryPasswordChange(String userName, String oldPassword, String newPassword, Object returnValue)Prepare a simulated response to doMandatoryPasswordChangevoidprepareFindProjects(String sessionId, String queryString, Object returnValue)Prepare a simulated response to findProjectsvoidprepareFindUsers(String sessionId, String queryString, Object returnValue)Prepare a simulated response to findUsersvoidprepareGetApiVersion(Object returnValue)Prepare a simulated response to getApiVersionvoidprepareGetAssociationList(String sessionId, String objectId, Object returnValue)Prepare a simulated response to getAssociationListvoidprepareGetAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges, Object returnValue)Prepare a simulated response to getAuditHistoryListvoidprepareGetBroadCastMessage(String sessionId, Object returnValue)Prepare a simulated response to getBroadCastMessagevoidprepareGetCommentList(String sessionId, String objectId, Object returnValue)Prepare a simulated response to getCommentListvoidprepareGetConfigurationValue(String sessionId, String keyValue, Object returnValue)Prepare a simulated response to getConfigurationValuevoidprepareGetCurrentTime(String sessionId, Object returnValue)Prepare a simulated response to getCurrentTimevoidprepareGetCurrentUserData(String sessionId, Object returnValue)Prepare a simulated response to getCurrentUserDatavoidprepareGetIconFile(String iconKey, String iconFileName, String iconMimeType, String loggedInUser, Object returnValue)Prepare a simulated response to getIconFilevoidprepareGetJSessionBySoapId(String soapId, Object returnValue)Prepare a simulated response to getJSessionBySoapIdvoidprepareGetJSessionId(String oneTimeToken, boolean invalidateToken, Object returnValue)Prepare a simulated response to getJSessionIdvoidprepareGetJSessionId(String oneTimeToken, Object returnValue)Prepare a simulated response to getJSessionIdvoidprepareGetLinkedApplicationData(String sessionId, String linkedAppId, Object returnValue)Prepare a simulated response to getLinkedApplicationDatavoidprepareGetLinkedApplicationData2(String sessionId, String linkedAppId, Object returnValue)Prepare a simulated response to getLinkedApplicationData2voidprepareGetMemberProjectsForProjectGroup(String sessionId, String projectGroupId, Object returnValue)Prepare a simulated response to getMemberProjectsForProjectGroupvoidprepareGetOneTimeToken(String sessionId, Object returnValue)Prepare a simulated response to getOneTimeTokenvoidprepareGetPasswordRequirements(String loggedInUser, Object returnValue)Prepare a simulated response to getPasswordRequirementsvoidprepareGetProjectAccessLevel(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getProjectAccessLevelvoidprepareGetProjectByPath(String sessionId, String projectPath, Object returnValue)Prepare a simulated response to getProjectByPathvoidprepareGetProjectData(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getProjectDatavoidprepareGetProjectDiskUsage(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getProjectDiskUsagevoidprepareGetProjectGroupData(String sessionId, String projectGroupId, Object returnValue)Prepare a simulated response to getProjectGroupDatavoidprepareGetProjectGroupMemberList(String sessionId, String projectGroupId, Object returnValue)Prepare a simulated response to getProjectGroupMemberListvoidprepareGetProjectGroupsForProject(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getProjectGroupsForProjectvoidprepareGetProjectGroupsForProject1(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getProjectGroupsForProject1voidprepareGetProjectHierarchyPaths(String sessionId, String[] projectIds, Object returnValue)Prepare a simulated response to getProjectHierarchyPathsvoidprepareGetProjectIdForLinkedApp(String projectId, String loggedInUser, Object returnValue)Prepare a simulated response to getProjectIdForLinkedAppvoidprepareGetProjectList(String sessionId, boolean fetchHierarchyPath, Object returnValue)Prepare a simulated response to getProjectListvoidprepareGetProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership, Object returnValue)Prepare a simulated response to getProjectListForUservoidprepareGetProjectMemberList(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getProjectMemberListvoidprepareGetProjectQuota(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getProjectQuotavoidprepareGetRbacOperation(CollabNetSoap.LinkedAppOperation operation, boolean isSiteWide, Object returnValue)Prepare a simulated response to getRbacOperationvoidprepareGetSessionId(String oneTimeToken, boolean invalidateToken, Object returnValue)Prepare a simulated response to getSessionIdvoidprepareGetSessionId(String oneTimeToken, Object returnValue)Prepare a simulated response to getSessionIdvoidprepareGetSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath, Object returnValue)Prepare a simulated response to getSubprojectListvoidprepareGetUserByEmail(String sessionId, String email, Object returnValue)Prepare a simulated response to getUserByEmailvoidprepareGetUserByName(String sessionId, String fullname, Object returnValue)Prepare a simulated response to getUserByNamevoidprepareGetUserData(String sessionId, String username, Object returnValue)Prepare a simulated response to getUserDatavoidprepareGetUserData2(String sessionId, String username, Object returnValue)Prepare a simulated response to getUserData2voidprepareGetUserEffectiveMode(String sessionId, Object returnValue)Prepare a simulated response to getUserEffectiveModevoidprepareGetUserGroupData(String sessionId, String groupId, Object returnValue)Prepare a simulated response to getUserGroupDatavoidprepareGetUserGroupList(String sessionId, Object returnValue)Prepare a simulated response to getUserGroupListvoidprepareGetUserGroupListForProject(String sessionId, String projectOrProjectGroupId, Object returnValue)Prepare a simulated response to getUserGroupListForProjectvoidprepareGetUserGroupListForUser(String sessionId, String username, Object returnValue)Prepare a simulated response to getUserGroupListForUservoidprepareGetUserGroupMembers(String sessionId, String groupId, Object returnValue)Prepare a simulated response to getUserGroupMembersvoidprepareGetUserList(String sessionId, SoapFilter soapFilter, Object returnValue)Prepare a simulated response to getUserListvoidprepareGetUserList2(String sessionId, SoapFilter soapFilter, Object returnValue)Prepare a simulated response to getUserList2voidprepareGetUserSessionBySoapId(String soapId, Object returnValue)Prepare a simulated response to getUserSessionBySoapIdvoidprepareGetVersion(String sessionId, Object returnValue)Prepare a simulated response to getVersionvoidprepareGetVersionInformationList(String sessionId, String folderId, Object returnValue)Prepare a simulated response to getVersionInformationListvoidprepareGetWebAndSoapSessionId(String oneTimeToken, Object returnValue)Prepare a simulated response to getWebAndSoapSessionIdvoidprepareHasGeneralPermission(String sessionId, String username, String projectId, String operationString, String objectId, Object returnValue)Prepare a simulated response to hasGeneralPermissionvoidprepareHasPermission(String sessionId, String username, String projectId, String operationString, String objectId, Object returnValue)Prepare a simulated response to hasPermissionvoidprepareHasPermission2(String sessionId, String projectId, String operationString, String objectId, Object returnValue)Prepare a simulated response to hasPermission2voidprepareHasSitewideRolePermission(String sessionId, String operationString, Object returnValue)Prepare a simulated response to hasSitewideRolePermissionvoidprepareIsHostedMode(String sessionId, Object returnValue)Prepare a simulated response to isHostedModevoidprepareIsSoapRedirectPostOnlyMode(String sessionId, Object returnValue)Prepare a simulated response to isSoapRedirectPostOnlyModevoidprepareKeepAlive(String sessionId)Prepare a simulated response to keepAlivevoidprepareKeepAlive(String sessionId, Exception exception)Prepare a simulated response to keepAlivevoidprepareListAttachments(String sessionId, String objectId, Object returnValue)Prepare a simulated response to listAttachmentsvoidprepareListGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited, Object returnValue)Prepare a simulated response to listGroupsWithGeneralPermissionvoidprepareListLinkedApps(String sessionId, String projectId, Object returnValue)Prepare a simulated response to listLinkedAppsvoidprepareListLinkedApps2(String sessionId, String projectId, Object returnValue)Prepare a simulated response to listLinkedApps2voidprepareListProjectAdmins(String sessionId, String projectId, Object returnValue)Prepare a simulated response to listProjectAdminsvoidprepareListProjectGroups(String sessionId, Object returnValue)Prepare a simulated response to listProjectGroupsvoidprepareListProjectLinkedApps(String sessionId, String projectId, Object returnValue)Prepare a simulated response to listProjectLinkedAppsvoidprepareListProjectLinkedApps2(String sessionId, String projectId, Object returnValue)Prepare a simulated response to listProjectLinkedApps2voidprepareListSiteWideLinkedApps(String sessionId, Object returnValue)Prepare a simulated response to listSiteWideLinkedAppsvoidprepareListTemplates(String sessionId, Object returnValue)Prepare a simulated response to listTemplatesvoidprepareListUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, Object returnValue)Prepare a simulated response to listUsersWithGeneralPermissionvoidprepareListUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag, Object returnValue)Prepare a simulated response to listUsersWithPermissionOnObjectvoidprepareLockProject(String sessionId, String projectId, Object returnValue)Prepare a simulated response to lockProjectvoidprepareLogin(String userName, String password, boolean ignorePasswordExpiry, Object returnValue)Prepare a simulated response to loginvoidprepareLogin(String userName, String password, Object returnValue)Prepare a simulated response to loginvoidprepareLoginAnonymous(String anonSharedSecret, Object returnValue)Prepare a simulated response to loginAnonymousvoidprepareLoginWithToken(String username, String oneTimeToken, Object returnValue)Prepare a simulated response to loginWithTokenvoidprepareLogoff(String userName, String sessionId)Prepare a simulated response to logoffvoidprepareLogoff(String userName, String sessionId, Exception exception)Prepare a simulated response to logoffvoidprepareReindexObject(String sessionId, String objectId)Prepare a simulated response to reindexObjectvoidprepareReindexObject(String sessionId, String objectId, Exception exception)Prepare a simulated response to reindexObjectvoidprepareRemoveProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)Prepare a simulated response to removeProjectGroupAdminsvoidprepareRemoveProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames, Exception exception)Prepare a simulated response to removeProjectGroupAdminsvoidprepareRemoveProjectGroupMember(String sessionId, String projectGroupId, String userName)Prepare a simulated response to removeProjectGroupMembervoidprepareRemoveProjectGroupMember(String sessionId, String projectGroupId, String userName, Exception exception)Prepare a simulated response to removeProjectGroupMembervoidprepareRemoveProjectMember(String sessionId, String projectId, String userName)Prepare a simulated response to removeProjectMembervoidprepareRemoveProjectMember(String sessionId, String projectId, String userName, Exception exception)Prepare a simulated response to removeProjectMembervoidprepareRemoveProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId)Prepare a simulated response to removeProjectsFromProjectGroupvoidprepareRemoveProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId, Exception exception)Prepare a simulated response to removeProjectsFromProjectGroupvoidprepareRemoveUserGroupMember(String sessionId, String userGroupId, String userName)Prepare a simulated response to removeUserGroupMembervoidprepareRemoveUserGroupMember(String sessionId, String userGroupId, String userName, Exception exception)Prepare a simulated response to removeUserGroupMembervoidprepareSetLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType)Prepare a simulated response to setLinkedApplicationDatavoidprepareSetLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType, Exception exception)Prepare a simulated response to setLinkedApplicationDatavoidprepareSetLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType)Prepare a simulated response to setLinkedApplicationData2voidprepareSetLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType, Exception exception)Prepare a simulated response to setLinkedApplicationData2voidprepareSetParentProject(String sessionId, String projectId, String parentProjectId)Prepare a simulated response to setParentProjectvoidprepareSetParentProject(String sessionId, String projectId, String parentProjectId, Exception exception)Prepare a simulated response to setParentProjectvoidprepareSetPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser)Prepare a simulated response to setPartialOrFullUserDatavoidprepareSetPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser, Exception exception)Prepare a simulated response to setPartialOrFullUserDatavoidprepareSetPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser)Prepare a simulated response to setPartialOrFullUserData2voidprepareSetPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser, Exception exception)Prepare a simulated response to setPartialOrFullUserData2voidprepareSetProjectAccessLevel(String sessionId, String projectId, int accessLevel)Prepare a simulated response to setProjectAccessLevelvoidprepareSetProjectAccessLevel(String sessionId, String projectId, int accessLevel, Exception exception)Prepare a simulated response to setProjectAccessLevelvoidprepareSetProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData)Prepare a simulated response to setProjectGroupDatavoidprepareSetProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData, Exception exception)Prepare a simulated response to setProjectGroupDatavoidprepareSetProjectQuota(String sessionId, String projectId, long quota)Prepare a simulated response to setProjectQuotavoidprepareSetProjectQuota(String sessionId, String projectId, long quota, Exception exception)Prepare a simulated response to setProjectQuotavoidprepareSetUserData(String sessionId, UserSoapDO userData)Prepare a simulated response to setUserDatavoidprepareSetUserData(String sessionId, UserSoapDO userData, Exception exception)Prepare a simulated response to setUserDatavoidprepareSetUserData2(String sessionId, User2SoapDO userData)Prepare a simulated response to setUserData2voidprepareSetUserData2(String sessionId, User2SoapDO userData, Exception exception)Prepare a simulated response to setUserData2voidprepareSetUserGroupData(String sessionId, UserGroupSoapDO groupData)Prepare a simulated response to setUserGroupDatavoidprepareSetUserGroupData(String sessionId, UserGroupSoapDO groupData, Exception exception)Prepare a simulated response to setUserGroupDatavoidprepareShouldEnableSSO(boolean singleSignon, String loggedInUser, Object returnValue)Prepare a simulated response to shouldEnableSSOvoidprepareUnLockProject(String sessionId, String projectId, Object returnValue)Prepare a simulated response to unLockProjectvoidprepareUpdateIconRequired(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey, Object returnValue)Prepare a simulated response to updateIconRequiredvoidprepareUpdateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser)Prepare a simulated response to updateLinkedAppDatavoidprepareUpdateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser, Exception exception)Prepare a simulated response to updateLinkedAppDatavoidprepareValidateEmails(UserSoapDO userData, String loggedInUser)Prepare a simulated response to validateEmailsvoidprepareValidateEmails(UserSoapDO userData, String loggedInUser, Exception exception)Prepare a simulated response to validateEmailsvoidprepareValidateLinkedAppData(String title, String applicationUrl, String applicationType)Prepare a simulated response to validateLinkedAppDatavoidprepareValidateLinkedAppData(String title, String applicationUrl, String applicationType, Exception exception)Prepare a simulated response to validateLinkedAppDatavoidprepareValidateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO)Prepare a simulated response to validateToolTypevoidprepareValidateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO, Exception exception)Prepare a simulated response to validateToolTypevoidprepareVerifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser)Prepare a simulated response to verifyCTFObjectPermissionForAssociationvoidprepareVerifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser, Exception exception)Prepare a simulated response to verifyCTFObjectPermissionForAssociationvoidprepareVerifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser)Prepare a simulated response to verifyDocumentReviewObjectPermissionvoidprepareVerifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser, Exception exception)Prepare a simulated response to verifyDocumentReviewObjectPermissionvoidprepareVerifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser)Prepare a simulated response to verifyLinkedAppPermissionvoidprepareVerifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser, Exception exception)Prepare a simulated response to verifyLinkedAppPermissionvoidprepareVerifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser)Prepare a simulated response to verifyPluggableObjectPermissionvoidprepareVerifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser, Exception exception)Prepare a simulated response to verifyPluggableObjectPermissionvoidreindexObject(String sessionId, String objectId)Simulate a call to reindexObjectvoidremoveProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)Simulate a call to removeProjectGroupAdminsvoidremoveProjectGroupMember(String sessionId, String projectGroupId, String userName)Simulate a call to removeProjectGroupMembervoidremoveProjectMember(String sessionId, String projectId, String userName)Simulate a call to removeProjectMembervoidremoveProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId)Simulate a call to removeProjectsFromProjectGroupvoidremoveUserGroupMember(String sessionId, String userGroupId, String userName)Simulate a call to removeUserGroupMembervoidsetLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType)Simulate a call to setLinkedApplicationDatavoidsetLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType)Simulate a call to setLinkedApplicationData2voidsetParentProject(String sessionId, String projectId, String parentProjectId)Simulate a call to setParentProjectvoidsetPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser)Simulate a call to setPartialOrFullUserDatavoidsetPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser)Simulate a call to setPartialOrFullUserData2voidsetProjectAccessLevel(String sessionId, String projectId, int accessLevel)Simulate a call to setProjectAccessLevelvoidsetProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData)Simulate a call to setProjectGroupDatavoidsetProjectQuota(String sessionId, String projectId, long quota)Simulate a call to setProjectQuotavoidsetUserData(String sessionId, UserSoapDO userData)Simulate a call to setUserDatavoidsetUserData2(String sessionId, User2SoapDO userData)Simulate a call to setUserData2voidsetUserGroupData(String sessionId, UserGroupSoapDO groupData)Simulate a call to setUserGroupDatabooleanshouldEnableSSO(boolean singleSignon, String loggedInUser)Simulate a call to shouldEnableSSOProjectSoapDOunLockProject(String sessionId, String projectId)Simulate a call to unLockProjectbooleanupdateIconRequired(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey)Simulate a call to updateIconRequiredvoidupdateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser)Simulate a call to updateLinkedAppDatavoidvalidateEmails(UserSoapDO userData, String loggedInUser)Simulate a call to validateEmailsvoidvalidateLinkedAppData(String title, String applicationUrl, String applicationType)Simulate a call to validateLinkedAppDatavoidvalidateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO)Simulate a call to validateToolTypevoidverifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser)Simulate a call to verifyCTFObjectPermissionForAssociationvoidverifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser)Simulate a call to verifyDocumentReviewObjectPermissionvoidverifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser)Simulate a call to verifyLinkedAppPermissionvoidverifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser)Simulate a call to verifyPluggableObjectPermission-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
-
-
-
Constructor Detail
-
CollabNetSoapMockStub
public CollabNetSoapMockStub(String soapServerUrl)
-
-
Method Detail
-
prepareGetVersion
public void prepareGetVersion(String sessionId, Object returnValue)
Prepare a simulated response to getVersion
-
getVersion
public String getVersion(String sessionId) throws RemoteException
Simulate a call to getVersion- Specified by:
getVersionin interfaceICollabNetSoap- Parameters:
sessionId- the session id.- Returns:
- Version as string.
- Throws:
InvalidSessionFault- when the specified session id is invalid.RemoteException- See Also:
CollabNetSoap.getVersion(java.lang.String)
-
prepareGetApiVersion
public void prepareGetApiVersion(Object returnValue)
Prepare a simulated response to getApiVersion- See Also:
CollabNetSoap.getApiVersion()
-
getApiVersion
public String getApiVersion() throws RemoteException
Simulate a call to getApiVersion- Specified by:
getApiVersionin interfaceICollabNetSoap- Returns:
- API version as string.
- Throws:
RemoteException- See Also:
CollabNetSoap.getApiVersion()
-
prepareKeepAlive
public void prepareKeepAlive(String sessionId)
Prepare a simulated response to keepAlive
-
prepareKeepAlive
public void prepareKeepAlive(String sessionId, Exception exception)
Prepare a simulated response to keepAlive
-
keepAlive
public void keepAlive(String sessionId) throws RemoteException
Simulate a call to keepAlive- Specified by:
keepAlivein interfaceICollabNetSoap- Parameters:
sessionId- the session id.- Throws:
InvalidSessionFault- when the specified session id is invalid.RemoteException- See Also:
CollabNetSoap.keepAlive(java.lang.String)
-
prepareLoginAnonymous
public void prepareLoginAnonymous(String anonSharedSecret, Object returnValue)
Prepare a simulated response to loginAnonymous
-
loginAnonymous
public String loginAnonymous(String anonSharedSecret) throws RemoteException
Simulate a call to loginAnonymous- Specified by:
loginAnonymousin interfaceICollabNetSoap- Parameters:
anonSharedSecret- Shared secret for anonymous login.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.loginAnonymous(java.lang.String)
-
prepareLogin
public void prepareLogin(String userName, String password, Object returnValue)
Prepare a simulated response to login
-
login
public String login(String userName, String password) throws RemoteException
Simulate a call to login- Specified by:
loginin interfaceICollabNetSoap- Parameters:
userName- Name of the user.password- User password.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.login(java.lang.String, java.lang.String)
-
prepareLogin
public void prepareLogin(String userName, String password, boolean ignorePasswordExpiry, Object returnValue)
Prepare a simulated response to login
-
login
public String login(String userName, String password, boolean ignorePasswordExpiry) throws RemoteException
Simulate a call to login- Throws:
RemoteException- See Also:
CollabNetSoap.login(java.lang.String, java.lang.String)
-
prepareLoginWithToken
public void prepareLoginWithToken(String username, String oneTimeToken, Object returnValue)
Prepare a simulated response to loginWithToken
-
loginWithToken
public String loginWithToken(String username, String oneTimeToken) throws RemoteException
Simulate a call to loginWithToken- Specified by:
loginWithTokenin interfaceICollabNetSoap- Parameters:
username- Name of the user.oneTimeToken- a one time token for login.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.loginWithToken(java.lang.String, java.lang.String)
-
prepareLogoff
public void prepareLogoff(String userName, String sessionId)
Prepare a simulated response to logoff
-
prepareLogoff
public void prepareLogoff(String userName, String sessionId, Exception exception)
Prepare a simulated response to logoff
-
logoff
public void logoff(String userName, String sessionId) throws RemoteException
Simulate a call to logoff- Specified by:
logoffin interfaceICollabNetSoap- Parameters:
userName- User's name.sessionId- Session id.- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.logoff(java.lang.String, java.lang.String)
-
prepareDoMandatoryPasswordChange
public void prepareDoMandatoryPasswordChange(String userName, String oldPassword, String newPassword, Object returnValue)
Prepare a simulated response to doMandatoryPasswordChange
-
doMandatoryPasswordChange
public String doMandatoryPasswordChange(String userName, String oldPassword, String newPassword) throws RemoteException
Simulate a call to doMandatoryPasswordChange- Specified by:
doMandatoryPasswordChangein interfaceICollabNetSoap- Parameters:
userName- login nameoldPassword- current passwordnewPassword- new password- Returns:
- User session key.
- Throws:
LoginFault- when the login information is incorrect.InvalidOperationFault- if the user has already changed the passwordSystemFault- when an unexpected system error occurs.InvalidSessionFault- If there is a session fault.InvalidPasswordFault- If the new password is not valid.PermissionDeniedFault- If user does not have permissions to change passwordIllegalArgumentFault- If invalid user name is passedRemoteException- See Also:
CollabNetSoap.doMandatoryPasswordChange(java.lang.String, java.lang.String, java.lang.String)
-
prepareChangePassword
public void prepareChangePassword(String sessionId, String userName, String newPassword, Object returnValue)
Prepare a simulated response to changePassword
-
changePassword
public boolean changePassword(String sessionId, String userName, String newPassword) throws RemoteException
Simulate a call to changePassword- Specified by:
changePasswordin interfaceICollabNetSoap- Parameters:
sessionId- User session keyuserName- login namenewPassword- new password- Returns:
- true if the password has been successfully changed
- Throws:
SystemFault- when an unexpected system error occurs.InvalidSessionFault- If there is a session fault.InvalidPasswordFault- If the new password is not valid.PermissionDeniedFault- If user does not have permissions to change passwordIllegalArgumentFault- If invalid user name is passedRemoteException- See Also:
CollabNetSoap.changePassword(java.lang.String, java.lang.String, java.lang.String)
-
prepareCheckPermissionsToChangePassword
public void prepareCheckPermissionsToChangePassword(String userName, String loggedInUser)
Prepare a simulated response to checkPermissionsToChangePassword
-
prepareCheckPermissionsToChangePassword
public void prepareCheckPermissionsToChangePassword(String userName, String loggedInUser, Exception exception)
Prepare a simulated response to checkPermissionsToChangePassword
-
checkPermissionsToChangePassword
public void checkPermissionsToChangePassword(String userName, String loggedInUser) throws RemoteException
Simulate a call to checkPermissionsToChangePassword
-
prepareListGroupsWithGeneralPermission
public void prepareListGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited, Object returnValue)
Prepare a simulated response to listGroupsWithGeneralPermission
-
listGroupsWithGeneralPermission
public UserGroupSoapList listGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited) throws RemoteException
Simulate a call to listGroupsWithGeneralPermission- Specified by:
listGroupsWithGeneralPermissionin interfaceICollabNetSoap- Parameters:
sessionId- The current user session idprojectId- Project for which permission is checkedoperationString- The string representation of the operation.folderId- Id of the folder for which permission needs to be checked.includeInherited- true includes groups inherited from parent projects, false otherwise- Returns:
- a list of user groups which has the permission on a given folder
- Throws:
InvalidSessionFault- When Session is invalidNoSuchObjectFault- When the folderId does not existIllegalArgumentFault- If the operationString is in an invalid formatSystemFault- Any other exceptionsPermissionDeniedFault- If user does not have project view permissionRemoteException- See Also:
CollabNetSoap.listGroupsWithGeneralPermission(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
-
prepareHasPermission
public void prepareHasPermission(String sessionId, String username, String projectId, String operationString, String objectId, Object returnValue)
Prepare a simulated response to hasPermission
-
hasPermission
public boolean hasPermission(String sessionId, String username, String projectId, String operationString, String objectId) throws RemoteException
Simulate a call to hasPermission- Specified by:
hasPermissionin interfaceICollabNetSoap- Parameters:
sessionId- the current user session idusername- the name of the user to check permissionprojectId- the project in which the operation is definedoperationString- The string representation of the operation.objectId- the object for which we are doing the permission check.- Returns:
- whether the given user has permission for an operation on a specified object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- The specified projectId or folderId was invalidSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- If the operationString is in an invalid formatRemoteException- See Also:
CollabNetSoap.hasPermission(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareHasPermission2
public void prepareHasPermission2(String sessionId, String projectId, String operationString, String objectId, Object returnValue)
Prepare a simulated response to hasPermission2
-
hasPermission2
public boolean hasPermission2(String sessionId, String projectId, String operationString, String objectId) throws RemoteException
Simulate a call to hasPermission2- Specified by:
hasPermission2in interfaceICollabNetSoap- Parameters:
sessionId- the current user session idprojectId- the project in which the operation is definedoperationString- The string representation of the operation.objectId- the object for which we are doing the permission check.- Returns:
- whether the current user has permission for an operation on a specified object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- The specified projectId or folderId was invalidSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- If the operationString is in an invalid formatRemoteException- See Also:
CollabNetSoap.hasPermission2(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareGetProjectList
public void prepareGetProjectList(String sessionId, boolean fetchHierarchyPath, Object returnValue)
Prepare a simulated response to getProjectList
-
getProjectList
public ProjectSoapList getProjectList(String sessionId, boolean fetchHierarchyPath) throws RemoteException
Simulate a call to getProjectList- Specified by:
getProjectListin interfaceICollabNetSoap- Parameters:
sessionId- User session key.fetchHierarchyPath- flag indicating whether to fetch the hierarchy path for each project- Returns:
- List of projects
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
CollabNetSoap.getProjectList(java.lang.String, boolean)
-
prepareGetProjectListForUser
public void prepareGetProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership, Object returnValue)
Prepare a simulated response to getProjectListForUser
-
getProjectListForUser
public ProjectSoapList getProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership) throws RemoteException
Simulate a call to getProjectListForUser- Specified by:
getProjectListForUserin interfaceICollabNetSoap- Parameters:
sessionId- User session key.username- User name.fetchHierarchyPath- flag indicating whether to fetch the hierarchy path for each projectincludeGroupMembership- flag indicating whether to return projects which are accessible by group membership- Returns:
- List of user projects.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
CollabNetSoap.getProjectListForUser(java.lang.String, java.lang.String, boolean, boolean)
-
prepareGetSubprojectList
public void prepareGetSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath, Object returnValue)
Prepare a simulated response to getSubprojectList
-
getSubprojectList
public ProjectSoapList getSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath) throws RemoteException
Simulate a call to getSubprojectList- Specified by:
getSubprojectListin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id (not a project group id).fetchHierarchyPath- flag indicating whether to fetch the hierarchy path for each project- Returns:
- List of sub projects.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- when the project passed as parameter does not exist or if the project id is in fact a project group id.PermissionDeniedFault- when the user has insufficient privileges.RemoteException- See Also:
CollabNetSoap.getSubprojectList(java.lang.String, java.lang.String, boolean)
-
prepareCreateProject
public void prepareCreateProject(String sessionId, String name, String title, String description, Object returnValue)
Prepare a simulated response to createProject
-
createProject
public ProjectSoapDO createProject(String sessionId, String name, String title, String description) throws RemoteException
Simulate a call to createProject- Specified by:
createProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.name- The name of the project (can be null, will fall back to title or id)title- The title of the projectdescription- The description of the project- Returns:
- The project data
- Throws:
InvalidSessionFault- when the specified session id is invalid.ObjectAlreadyExistsFault- when the project with that name already exists.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when specified argument is invalid.RemoteException- See Also:
CollabNetSoap.createProject(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareCreateOrReplaceProjectTemplate
public void prepareCreateOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId, Object returnValue)
Prepare a simulated response to createOrReplaceProjectTemplate
-
createOrReplaceProjectTemplate
public ProjectSoapDO createOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId) throws RemoteException
Simulate a call to createOrReplaceProjectTemplate- Specified by:
createOrReplaceProjectTemplatein interfaceICollabNetSoap- Parameters:
sessionId- The session id.projectId- The project to copy into a templatetitle- The title of the templatedescription- The description of the templatecontentChoices- the desired application content in the template, see constants belowtemplateId- the id of the template to replace, if null (not empty string but null), a new template will be created- Returns:
- The template project data
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the template or project does not exist.IllegalArgumentFault- when illegal argument is passed.RemoteException- See Also:
CollabNetSoap.createOrReplaceProjectTemplate(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String)
-
prepareCreateProjectFromTemplate
public void prepareCreateProjectFromTemplate(String sessionId, String templateId, String name, String title, String description, Object returnValue)
Prepare a simulated response to createProjectFromTemplate
-
createProjectFromTemplate
public ProjectSoapDO createProjectFromTemplate(String sessionId, String templateId, String name, String title, String description) throws RemoteException
Simulate a call to createProjectFromTemplate- Specified by:
createProjectFromTemplatein interfaceICollabNetSoap- Parameters:
sessionId- User session key.templateId- The template project idname- The name of the project (can be null, will fall back to title or id)title- The title of the projectdescription- The description of the project- Returns:
- The project data
- Throws:
InvalidSessionFault- when the specified session id is invalid.ObjectAlreadyExistsFault- when the project with that name already exists.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when illegal argument is passed.RemoteException- See Also:
CollabNetSoap.createProjectFromTemplate(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareListTemplates
public void prepareListTemplates(String sessionId, Object returnValue)
Prepare a simulated response to listTemplates
-
listTemplates
public ProjectSoapList listTemplates(String sessionId) throws RemoteException
Simulate a call to listTemplates- Specified by:
listTemplatesin interfaceICollabNetSoap- Parameters:
sessionId- User session key.- Returns:
- The list of template projects
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.listTemplates(java.lang.String)
-
prepareFindProjects
public void prepareFindProjects(String sessionId, String queryString, Object returnValue)
Prepare a simulated response to findProjects
-
findProjects
public ProjectSoapList findProjects(String sessionId, String queryString) throws RemoteException
Simulate a call to findProjects- Specified by:
findProjectsin interfaceICollabNetSoap- Parameters:
sessionId- User session id.queryString- Query string.- Returns:
- List of projects matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the query string is invalid.RemoteException- See Also:
CollabNetSoap.findProjects(java.lang.String, java.lang.String)
-
prepareLockProject
public void prepareLockProject(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to lockProject
-
lockProject
public ProjectSoapDO lockProject(String sessionId, String projectId) throws RemoteException
Simulate a call to lockProject- Specified by:
lockProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.ProjectAlreadyLockedFault- When a user tries to lock an already locked projectRemoteException- See Also:
CollabNetSoap.lockProject(java.lang.String, java.lang.String)
-
prepareUnLockProject
public void prepareUnLockProject(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to unLockProject
-
unLockProject
public ProjectSoapDO unLockProject(String sessionId, String projectId) throws RemoteException
Simulate a call to unLockProject- Specified by:
unLockProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.unLockProject(java.lang.String, java.lang.String)
-
prepareGetProjectData
public void prepareGetProjectData(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getProjectData
-
getProjectData
public ProjectSoapDO getProjectData(String sessionId, String projectId) throws RemoteException
Simulate a call to getProjectData- Specified by:
getProjectDatain interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getProjectData(java.lang.String, java.lang.String)
-
prepareGetProjectMemberList
public void prepareGetProjectMemberList(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getProjectMemberList
-
getProjectMemberList
public ProjectMemberSoapList getProjectMemberList(String sessionId, String projectId) throws RemoteException
Simulate a call to getProjectMemberList- Specified by:
getProjectMemberListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project.- Returns:
- Members of project.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getProjectMemberList(java.lang.String, java.lang.String)
-
prepareListProjectAdmins
public void prepareListProjectAdmins(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to listProjectAdmins
-
listProjectAdmins
public UserSoapList listProjectAdmins(String sessionId, String projectId) throws RemoteException
Simulate a call to listProjectAdmins- Specified by:
listProjectAdminsin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project.- Returns:
- Administrators of the project.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified project id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.listProjectAdmins(java.lang.String, java.lang.String)
-
prepareGetUserGroupListForProject
public void prepareGetUserGroupListForProject(String sessionId, String projectOrProjectGroupId, Object returnValue)
Prepare a simulated response to getUserGroupListForProject
-
getUserGroupListForProject
public UserGroupSoapList getUserGroupListForProject(String sessionId, String projectOrProjectGroupId) throws RemoteException
Simulate a call to getUserGroupListForProject- Specified by:
getUserGroupListForProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectOrProjectGroupId- Project/ProjectGroup Id.- Returns:
- UserGroups who have a role in the project.
- Throws:
NoSuchObjectFault- when the specified object id is invalid.InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserGroupListForProject(java.lang.String, java.lang.String)
-
prepareAddProjectMember
public void prepareAddProjectMember(String sessionId, String projectId, String userName)
Prepare a simulated response to addProjectMember
-
prepareAddProjectMember
public void prepareAddProjectMember(String sessionId, String projectId, String userName, Exception exception)
Prepare a simulated response to addProjectMember
-
addProjectMember
public void addProjectMember(String sessionId, String projectId, String userName) throws RemoteException
Simulate a call to addProjectMember- Specified by:
addProjectMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id project Id.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.addProjectMember(java.lang.String, java.lang.String, java.lang.String)
-
prepareAddProjectGroupMember
public void prepareAddProjectGroupMember(String sessionId, String projectGroupId, String userName)
Prepare a simulated response to addProjectGroupMember
-
prepareAddProjectGroupMember
public void prepareAddProjectGroupMember(String sessionId, String projectGroupId, String userName, Exception exception)
Prepare a simulated response to addProjectGroupMember
-
addProjectGroupMember
public void addProjectGroupMember(String sessionId, String projectGroupId, String userName) throws RemoteException
Simulate a call to addProjectGroupMember- Specified by:
addProjectGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectGroupId- ProjectGroup id.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.addProjectGroupMember(java.lang.String, java.lang.String, java.lang.String)
-
prepareRemoveProjectMember
public void prepareRemoveProjectMember(String sessionId, String projectId, String userName)
Prepare a simulated response to removeProjectMember
-
prepareRemoveProjectMember
public void prepareRemoveProjectMember(String sessionId, String projectId, String userName, Exception exception)
Prepare a simulated response to removeProjectMember
-
removeProjectMember
public void removeProjectMember(String sessionId, String projectId, String userName) throws RemoteException
Simulate a call to removeProjectMember- Specified by:
removeProjectMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoveOnlyProjectAdminFault- attempting to remove last project adminRemoteException- See Also:
CollabNetSoap.removeProjectMember(java.lang.String, java.lang.String, java.lang.String)
-
prepareCreateUserGroup
public void prepareCreateUserGroup(String sessionId, String fullName, String description, Object returnValue)
Prepare a simulated response to createUserGroup
-
createUserGroup
public UserGroupSoapDO createUserGroup(String sessionId, String fullName, String description) throws RemoteException
Simulate a call to createUserGroup- Specified by:
createUserGroupin interfaceICollabNetSoap- Parameters:
sessionId- User's session id.fullName- Full name of the new group.description- Description of the new group.- Returns:
- Newly created group object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.ObjectAlreadyExistsFault- when the specified group already exists.IllegalArgumentFault- when one or more group parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.createUserGroup(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetUserGroupData
public void prepareGetUserGroupData(String sessionId, String groupId, Object returnValue)
Prepare a simulated response to getUserGroupData
-
getUserGroupData
public UserGroupSoapDO getUserGroupData(String sessionId, String groupId) throws RemoteException
Simulate a call to getUserGroupData- Specified by:
getUserGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- User's session id.groupId- User Group id.- Returns:
- User Group data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified group id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserGroupData(java.lang.String, java.lang.String)
-
prepareSetUserGroupData
public void prepareSetUserGroupData(String sessionId, UserGroupSoapDO groupData)
Prepare a simulated response to setUserGroupData
-
prepareSetUserGroupData
public void prepareSetUserGroupData(String sessionId, UserGroupSoapDO groupData, Exception exception)
Prepare a simulated response to setUserGroupData
-
setUserGroupData
public void setUserGroupData(String sessionId, UserGroupSoapDO groupData) throws RemoteException
Simulate a call to setUserGroupData- Specified by:
setUserGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- User's session id.groupData- User Group data.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- The user group version being edited is not the latest onePermissionDeniedFault- when the user has insufficient privileges.ObjectAlreadyExistsFault- when a user group with the specified user group name already exists.IllegalArgumentFault- when the specified user group name is invalid.SystemFault- when an unexpected system error occursRemoteException- See Also:
CollabNetSoap.setUserGroupData(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.UserGroupSoapDO)
-
prepareDeleteUserGroup
public void prepareDeleteUserGroup(String sessionId, String groupId)
Prepare a simulated response to deleteUserGroup
-
prepareDeleteUserGroup
public void prepareDeleteUserGroup(String sessionId, String groupId, Exception exception)
Prepare a simulated response to deleteUserGroup
-
deleteUserGroup
public void deleteUserGroup(String sessionId, String groupId) throws RemoteException
Simulate a call to deleteUserGroup- Specified by:
deleteUserGroupin interfaceICollabNetSoap- Parameters:
sessionId- User session key.groupId- The id of the user group to be deleted- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project with the specified user group idPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalUserModificationFault- when a user tries to delete system created user group.RemoteException- See Also:
CollabNetSoap.deleteUserGroup(java.lang.String, java.lang.String)
-
prepareGetUserGroupList
public void prepareGetUserGroupList(String sessionId, Object returnValue)
Prepare a simulated response to getUserGroupList
-
getUserGroupList
public UserGroupSoapList getUserGroupList(String sessionId) throws RemoteException
Simulate a call to getUserGroupList- Specified by:
getUserGroupListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.- Returns:
- List of user groups matching a filter.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.PermissionDeniedFault- when the user has insufficient privileges.RemoteException- See Also:
CollabNetSoap.getUserGroupList(java.lang.String)
-
prepareGetUserGroupListForUser
public void prepareGetUserGroupListForUser(String sessionId, String username, Object returnValue)
Prepare a simulated response to getUserGroupListForUser
-
getUserGroupListForUser
public UserGroupSoapList getUserGroupListForUser(String sessionId, String username) throws RemoteException
Simulate a call to getUserGroupListForUser- Specified by:
getUserGroupListForUserin interfaceICollabNetSoap- Parameters:
sessionId- User session id.username- the name of the user- Returns:
- List of user groups the user belongs.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserGroupListForUser(java.lang.String, java.lang.String)
-
prepareGetUserGroupMembers
public void prepareGetUserGroupMembers(String sessionId, String groupId, Object returnValue)
Prepare a simulated response to getUserGroupMembers
-
getUserGroupMembers
public UserSoapList getUserGroupMembers(String sessionId, String groupId) throws RemoteException
Simulate a call to getUserGroupMembers- Specified by:
getUserGroupMembersin interfaceICollabNetSoap- Parameters:
sessionId- User session id.groupId- the user group id- Returns:
- List of members of a user group
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project with the specified user group id.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserGroupMembers(java.lang.String, java.lang.String)
-
prepareAddUserGroupMember
public void prepareAddUserGroupMember(String sessionId, String userGroupId, String userName)
Prepare a simulated response to addUserGroupMember
-
prepareAddUserGroupMember
public void prepareAddUserGroupMember(String sessionId, String userGroupId, String userName, Exception exception)
Prepare a simulated response to addUserGroupMember
-
addUserGroupMember
public void addUserGroupMember(String sessionId, String userGroupId, String userName) throws RemoteException
Simulate a call to addUserGroupMember- Specified by:
addUserGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.userGroupId- User Group to which the user should be addeduserName- User to be added to the user group- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if the user group and/or user does not existPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalGroupMemberAddFault- when an users in the system is added to system created user group.RemoteException- See Also:
CollabNetSoap.addUserGroupMember(java.lang.String, java.lang.String, java.lang.String)
-
prepareRemoveUserGroupMember
public void prepareRemoveUserGroupMember(String sessionId, String userGroupId, String userName)
Prepare a simulated response to removeUserGroupMember
-
prepareRemoveUserGroupMember
public void prepareRemoveUserGroupMember(String sessionId, String userGroupId, String userName, Exception exception)
Prepare a simulated response to removeUserGroupMember
-
removeUserGroupMember
public void removeUserGroupMember(String sessionId, String userGroupId, String userName) throws RemoteException
Simulate a call to removeUserGroupMember- Specified by:
removeUserGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.userGroupId- User Group from which the user should be removed.userName- User to be removed.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if the user group and/or user does not existPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.removeUserGroupMember(java.lang.String, java.lang.String, java.lang.String)
-
prepareCreateUser
public void prepareCreateUser(String sessionId, String userName, String email, String fullName, String organization, String locale, String timeZone, String licenseType, boolean isSuperUser, boolean isRestrictedUser, String password, Object returnValue)
Prepare a simulated response to createUser
-
createUser
public UserSoapDO createUser(String sessionId, String userName, String email, String fullName, String organization, String locale, String timeZone, String licenseType, boolean isSuperUser, boolean isRestrictedUser, String password) throws RemoteException
Simulate a call to createUser- Specified by:
createUserin interfaceICollabNetSoap- Parameters:
sessionId- User's session id.userName- Name of the new user.email- Email of the new user.fullName- Full name of the new user.organization- organization name of the new user.locale- Locale of the new user (currently supported locales are "en" for English, "ja" for Japanese).timeZone- User's time zone.licenseType- User's license type. Multiple license types can be given for a user as ALMisSuperUser- Should user be given super-user privileges?isRestrictedUser- Should user be given restricted privileges?password- Password of the new user.- Returns:
- Newly created user object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.ObjectAlreadyExistsFault- when the specified user already exists.IllegalArgumentFault- when one or more user parameters are invalid.UserLimitExceededFault- The user limit was exceededSystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.createUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, java.lang.String)
-
prepareGetUserData
public void prepareGetUserData(String sessionId, String username, Object returnValue)
Prepare a simulated response to getUserData
-
getUserData
public UserSoapDO getUserData(String sessionId, String username) throws RemoteException
Simulate a call to getUserData- Specified by:
getUserDatain interfaceICollabNetSoap- Parameters:
sessionId- User session id.username- User name (login name)- Returns:
- User data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserData(java.lang.String, java.lang.String)
-
prepareGetUserData2
public void prepareGetUserData2(String sessionId, String username, Object returnValue)
Prepare a simulated response to getUserData2
-
getUserData2
public User2SoapDO getUserData2(String sessionId, String username) throws RemoteException
Simulate a call to getUserData2- Specified by:
getUserData2in interfaceICollabNetSoap- Parameters:
sessionId- User session id.username- User name (login name)- Returns:
- User data which includes user's profile picture link.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserData2(java.lang.String, java.lang.String)
-
prepareGetUserByEmail
public void prepareGetUserByEmail(String sessionId, String email, Object returnValue)
Prepare a simulated response to getUserByEmail
-
getUserByEmail
public UserSoapDO getUserByEmail(String sessionId, String email) throws RemoteException
Simulate a call to getUserByEmail- Specified by:
getUserByEmailin interfaceICollabNetSoap- Parameters:
sessionId- User session id.email- the email address of a registered user- Returns:
- User data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserByEmail(java.lang.String, java.lang.String)
-
prepareGetUserByName
public void prepareGetUserByName(String sessionId, String fullname, Object returnValue)
Prepare a simulated response to getUserByName
-
getUserByName
public UserSoapDO getUserByName(String sessionId, String fullname) throws RemoteException
Simulate a call to getUserByName- Specified by:
getUserByNamein interfaceICollabNetSoap- Parameters:
sessionId- User session id.fullname- the full name of a user- Returns:
- User data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getUserByName(java.lang.String, java.lang.String)
-
prepareGetCurrentUserData
public void prepareGetCurrentUserData(String sessionId, Object returnValue)
Prepare a simulated response to getCurrentUserData
-
getCurrentUserData
public UserSoapDO getCurrentUserData(String sessionId) throws RemoteException
Simulate a call to getCurrentUserData- Specified by:
getCurrentUserDatain interfaceICollabNetSoap- Parameters:
sessionId- user session id- Returns:
- a UserSoapDO for a given user session id.
- Throws:
InvalidSessionFault- if the given session id is invalid.RemoteException- See Also:
CollabNetSoap.getCurrentUserData(java.lang.String)
-
prepareSetUserData2
public void prepareSetUserData2(String sessionId, User2SoapDO userData)
Prepare a simulated response to setUserData2
-
prepareSetUserData2
public void prepareSetUserData2(String sessionId, User2SoapDO userData, Exception exception)
Prepare a simulated response to setUserData2
-
setUserData2
public void setUserData2(String sessionId, User2SoapDO userData) throws RemoteException
Simulate a call to setUserData2- Specified by:
setUserData2in interfaceICollabNetSoap- Parameters:
sessionId- User session id.userData- User data which includes user's profile picture link.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- The user version being edited is not the latest oneLastSuperUserFault- The user being edited is the last super user and cannot be un-superuseredIllegalUserModificationFault- If someone tried to edit a restricted property on a special userPermissionDeniedFault- if the user does not have permission to do thisUserLimitExceededFault- The user limit was exceededSystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.setUserData2(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.User2SoapDO)
-
prepareSetUserData
public void prepareSetUserData(String sessionId, UserSoapDO userData)
Prepare a simulated response to setUserData
-
prepareSetUserData
public void prepareSetUserData(String sessionId, UserSoapDO userData, Exception exception)
Prepare a simulated response to setUserData
-
setUserData
public void setUserData(String sessionId, UserSoapDO userData) throws RemoteException
Simulate a call to setUserData- Specified by:
setUserDatain interfaceICollabNetSoap- Parameters:
sessionId- User session id.userData- User data- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- The user version being edited is not the latest oneLastSuperUserFault- The user being edited is the last super user and cannot be un-superuseredIllegalUserModificationFault- If someone tried to edit a restricted property on a special userPermissionDeniedFault- if the user does not have permission to do thisUserLimitExceededFault- The user limit was exceededSystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.setUserData(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.UserSoapDO)
-
prepareValidateEmails
public void prepareValidateEmails(UserSoapDO userData, String loggedInUser)
Prepare a simulated response to validateEmails
-
prepareValidateEmails
public void prepareValidateEmails(UserSoapDO userData, String loggedInUser, Exception exception)
Prepare a simulated response to validateEmails
-
validateEmails
public void validateEmails(UserSoapDO userData, String loggedInUser) throws RemoteException
Simulate a call to validateEmails
-
prepareFindUsers
public void prepareFindUsers(String sessionId, String queryString, Object returnValue)
Prepare a simulated response to findUsers
-
findUsers
public UserSoapList findUsers(String sessionId, String queryString) throws RemoteException
Simulate a call to findUsers- Specified by:
findUsersin interfaceICollabNetSoap- Parameters:
sessionId- User session id.queryString- Query string.- Returns:
- List of users matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.IllegalArgumentFault- when the query string is invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
CollabNetSoap.findUsers(java.lang.String, java.lang.String)
-
prepareGetUserList
public void prepareGetUserList(String sessionId, SoapFilter soapFilter, Object returnValue)
Prepare a simulated response to getUserList
-
getUserList
public UserSoapList getUserList(String sessionId, SoapFilter soapFilter) throws RemoteException
Simulate a call to getUserList- Specified by:
getUserListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.soapFilter- Search filter. See UserSoapDO.FILTER constants for supported filter names.- Returns:
- List of users matching a filter.
- Throws:
SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- if the user does not have permissionRemoteException- See Also:
CollabNetSoap.getUserList(java.lang.String, com.collabnet.ce.soap60.types.SoapFilter)
-
prepareGetUserList2
public void prepareGetUserList2(String sessionId, SoapFilter soapFilter, Object returnValue)
Prepare a simulated response to getUserList2
-
getUserList2
public User2SoapList getUserList2(String sessionId, SoapFilter soapFilter) throws RemoteException
Simulate a call to getUserList2- Specified by:
getUserList2in interfaceICollabNetSoap- Parameters:
sessionId- User session id.soapFilter- Search filter. See UserSoapDO.FILTER constants for supported filter names.- Returns:
- List of users matching a filter.
- Throws:
SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- if the user does not have permissionRemoteException- See Also:
CollabNetSoap.getUserList2(java.lang.String, com.collabnet.ce.soap60.types.SoapFilter)
-
prepareGetProjectAccessLevel
public void prepareGetProjectAccessLevel(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getProjectAccessLevel
-
getProjectAccessLevel
public int getProjectAccessLevel(String sessionId, String projectId) throws RemoteException
Simulate a call to getProjectAccessLevel- Specified by:
getProjectAccessLevelin interfaceICollabNetSoap- Parameters:
sessionId- User session IdprojectId- The project Id- Returns:
- The project access level.
- 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 project id is not a valid project id or if it is a Project Group's idRemoteException- See Also:
CollabNetSoap.getProjectAccessLevel(java.lang.String, java.lang.String)
-
prepareSetProjectAccessLevel
public void prepareSetProjectAccessLevel(String sessionId, String projectId, int accessLevel)
Prepare a simulated response to setProjectAccessLevel
-
prepareSetProjectAccessLevel
public void prepareSetProjectAccessLevel(String sessionId, String projectId, int accessLevel, Exception exception)
Prepare a simulated response to setProjectAccessLevel
-
setProjectAccessLevel
public void setProjectAccessLevel(String sessionId, String projectId, int accessLevel) throws RemoteException
Simulate a call to setProjectAccessLevel- Specified by:
setProjectAccessLevelin interfaceICollabNetSoap- Parameters:
sessionId- User session IdprojectId- The project IdaccessLevel- The access level to set the project to- 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 project id is not a valid project idIllegalArgumentFault- When the accessLevel is invalid or if the "PROJECT_ACCESS_EDITABLE" configuration's value is falseRemoteException- See Also:
CollabNetSoap.setProjectAccessLevel(java.lang.String, java.lang.String, int)
-
prepareGetCommentList
public void prepareGetCommentList(String sessionId, String objectId, Object returnValue)
Prepare a simulated response to getCommentList
-
getCommentList
public CommentSoapList getCommentList(String sessionId, String objectId) throws RemoteException
Simulate a call to getCommentList- Specified by:
getCommentListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.objectId- Object id.- Returns:
- List of comments.
- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- When the object id is not validPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- When an unexpected system level error occurs.RemoteException- See Also:
CollabNetSoap.getCommentList(java.lang.String, java.lang.String)
-
prepareListAttachments
public void prepareListAttachments(String sessionId, String objectId, Object returnValue)
Prepare a simulated response to listAttachments
-
listAttachments
public AttachmentSoapList listAttachments(String sessionId, String objectId) throws RemoteException
Simulate a call to listAttachments- Specified by:
listAttachmentsin interfaceICollabNetSoap- Parameters:
sessionId- user session idobjectId- the id of the object from which attachments are to be listed- Returns:
- List of attachments, does not include the actual file.
- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- When the object id is not valid.PermissionDeniedFault- If the user doesn't have permission to perform the operation.SystemFault- If an unexpected system fault occurs.RemoteException- See Also:
CollabNetSoap.listAttachments(java.lang.String, java.lang.String)
-
prepareDeleteAttachment
public void prepareDeleteAttachment(String sessionId, String objectId, String attachmentId)
Prepare a simulated response to deleteAttachment
-
prepareDeleteAttachment
public void prepareDeleteAttachment(String sessionId, String objectId, String attachmentId, Exception exception)
Prepare a simulated response to deleteAttachment
-
deleteAttachment
public void deleteAttachment(String sessionId, String objectId, String attachmentId) throws RemoteException
Simulate a call to deleteAttachment- Specified by:
deleteAttachmentin interfaceICollabNetSoap- Parameters:
sessionId- User session id.objectId- The id of the object from which attachment has to be deleted.attachmentId- The attachment id.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.deleteAttachment(java.lang.String, java.lang.String, java.lang.String)
-
prepareCreateAssociation
public void prepareCreateAssociation(String sessionId, String originId, String targetId, String description)
Prepare a simulated response to createAssociation
-
prepareCreateAssociation
public void prepareCreateAssociation(String sessionId, String originId, String targetId, String description, Exception exception)
Prepare a simulated response to createAssociation
-
createAssociation
public void createAssociation(String sessionId, String originId, String targetId, String description) throws RemoteException
Simulate a call to createAssociation- Specified by:
createAssociationin interfaceICollabNetSoap- Parameters:
sessionId- User session id.originId- the origin object's id (Only CTF objects can be passed as origin id)targetId- the target object's iddescription- the description for the association- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to create the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if a valid association cannot be created between the given objectsRemoteException- See Also:
CollabNetSoap.createAssociation(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareCreateAssociationWithTitles
public void prepareCreateAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description)
Prepare a simulated response to createAssociationWithTitles
-
prepareCreateAssociationWithTitles
public void prepareCreateAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description, Exception exception)
Prepare a simulated response to createAssociationWithTitles
-
createAssociationWithTitles
public void createAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description) throws RemoteException
Simulate a call to createAssociationWithTitles- Specified by:
createAssociationWithTitlesin interfaceICollabNetSoap- Parameters:
sessionId- User session id.originId- the origin object's id (Only CTF objects can be passed as origin id)originTitle- the origin object's title (As of 7.0 originTitle will be ignored completely)targetId- the target object's id (For pluggable app object, provide the object id for targetId parameter)targetTitle- the target object's titledescription- the description for the association- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to create the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if a valid association cannot be created between the given objectsRemoteException- See Also:
CollabNetSoap.createAssociationWithTitles(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareChangeIAObjectTitle
public void prepareChangeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle)
Prepare a simulated response to changeIAObjectTitle
-
prepareChangeIAObjectTitle
public void prepareChangeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle, Exception exception)
Prepare a simulated response to changeIAObjectTitle
-
changeIAObjectTitle
public void changeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle) throws RemoteException
Simulate a call to changeIAObjectTitle- Specified by:
changeIAObjectTitlein interfaceICollabNetSoap- Parameters:
sessionId- User session id.pluggableObjectId- The pluggable app object idpluggableObjectTitle- the pluggable object's title- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to create the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if a valid association cannot be created between the given objectsRemoteException- See Also:
CollabNetSoap.changeIAObjectTitle(java.lang.String, java.lang.String, java.lang.String)
-
prepareVerifyCTFObjectPermissionForAssociation
public void prepareVerifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser)Prepare a simulated response to verifyCTFObjectPermissionForAssociation
-
prepareVerifyCTFObjectPermissionForAssociation
public void prepareVerifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser, Exception exception)Prepare a simulated response to verifyCTFObjectPermissionForAssociation
-
verifyCTFObjectPermissionForAssociation
public void verifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser) throws RemoteExceptionSimulate a call to verifyCTFObjectPermissionForAssociation
-
prepareVerifyPluggableObjectPermission
public void prepareVerifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser)Prepare a simulated response to verifyPluggableObjectPermission
-
prepareVerifyPluggableObjectPermission
public void prepareVerifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser, Exception exception)Prepare a simulated response to verifyPluggableObjectPermission
-
verifyPluggableObjectPermission
public void verifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser) throws RemoteExceptionSimulate a call to verifyPluggableObjectPermission
-
prepareVerifyDocumentReviewObjectPermission
public void prepareVerifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser)Prepare a simulated response to verifyDocumentReviewObjectPermission
-
prepareVerifyDocumentReviewObjectPermission
public void prepareVerifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser, Exception exception)Prepare a simulated response to verifyDocumentReviewObjectPermission
-
verifyDocumentReviewObjectPermission
public void verifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser) throws RemoteExceptionSimulate a call to verifyDocumentReviewObjectPermission
-
prepareDeleteAssociation
public void prepareDeleteAssociation(String sessionId, String originId, String targetId)
Prepare a simulated response to deleteAssociation
-
prepareDeleteAssociation
public void prepareDeleteAssociation(String sessionId, String originId, String targetId, Exception exception)
Prepare a simulated response to deleteAssociation
-
deleteAssociation
public void deleteAssociation(String sessionId, String originId, String targetId) throws RemoteException
Simulate a call to deleteAssociation- Specified by:
deleteAssociationin interfaceICollabNetSoap- Parameters:
sessionId- User session id.originId- the origin object's id (Only CTF objects can be passed as origin id)targetId- the target object's id- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to delete the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if an association does not exist between the given objectsRemoteException- See Also:
CollabNetSoap.deleteAssociation(java.lang.String, java.lang.String, java.lang.String)
-
prepareDeleteProject
public void prepareDeleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound)
Prepare a simulated response to deleteProject
-
prepareDeleteProject
public void prepareDeleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound, Exception exception)
Prepare a simulated response to deleteProject
-
deleteProject
public void deleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound) throws RemoteException
Simulate a call to deleteProject- Specified by:
deleteProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- The id of the project to be deletednoNotification- if true no notifications will be sent.forceDeleteEvenIfChildFound- delete even if there are child projects- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project with the specified project idPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.ParentRoleUsedInChildProjectsFault- when a role of the project is used in its child projects.ChildProjectsFoundFault- thrown if any child projects are found for the project that is deleted.RemoteException- See Also:
CollabNetSoap.deleteProject(java.lang.String, java.lang.String, boolean, boolean)
-
prepareGetAssociationList
public void prepareGetAssociationList(String sessionId, String objectId, Object returnValue)
Prepare a simulated response to getAssociationList
-
getAssociationList
public AssociationSoapList getAssociationList(String sessionId, String objectId) throws RemoteException
Simulate a call to getAssociationList- Specified by:
getAssociationListin interfaceICollabNetSoap- Parameters:
sessionId- The current session id.objectId- The id of the object that has associations.- Returns:
- A list of associations for the given object.
- Throws:
InvalidSessionFault- If the session is not valid.NoSuchObjectFault- If the object does not exist or is deleted.PermissionDeniedFault- If you are not allowed to view the object or its associations.SystemFault- If an unexpected error occurs.RemoteException- See Also:
CollabNetSoap.getAssociationList(java.lang.String, java.lang.String)
-
prepareGetAuditHistoryList
public void prepareGetAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges, Object returnValue)
Prepare a simulated response to getAuditHistoryList
-
getAuditHistoryList
public AuditHistorySoapList getAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges) throws RemoteException
Simulate a call to getAuditHistoryList- Specified by:
getAuditHistoryListin interfaceICollabNetSoap- Parameters:
sessionId- The current session id.objectId- ID of the object.includeDerivedChanges- whether we want to get the derived entries- Returns:
- List of changes made to the specified object.
- Throws:
InvalidSessionFault- If the session is not valid.NoSuchObjectFault- If the object does not exist or is deleted.PermissionDeniedFault- If you are not allowed to view the object or its associations.SystemFault- If an unexpected error occurs.IllegalArgumentFault- If the objectId is not an artifact.RemoteException- See Also:
CollabNetSoap.getAuditHistoryList(java.lang.String, java.lang.String, boolean)
-
prepareGetVersionInformationList
public void prepareGetVersionInformationList(String sessionId, String folderId, Object returnValue)
Prepare a simulated response to getVersionInformationList
-
getVersionInformationList
public VersionInformationSoapList getVersionInformationList(String sessionId, String folderId) throws RemoteException
Simulate a call to getVersionInformationList- Specified by:
getVersionInformationListin interfaceICollabNetSoap- Parameters:
sessionId- Soap session idfolderId- Folder to obtain the list for- Returns:
- The version information
- Throws:
InvalidSessionFault- when session id is invalid.NoSuchObjectFault- when the folder does not exist.PermissionDeniedFault- when permissions are denied for the operation.SystemFault- when an unexpected error occurs.RemoteException- See Also:
CollabNetSoap.getVersionInformationList(java.lang.String, java.lang.String)
-
prepareReindexObject
public void prepareReindexObject(String sessionId, String objectId)
Prepare a simulated response to reindexObject
-
prepareReindexObject
public void prepareReindexObject(String sessionId, String objectId, Exception exception)
Prepare a simulated response to reindexObject
-
reindexObject
public void reindexObject(String sessionId, String objectId) throws RemoteException
Simulate a call to reindexObject- Specified by:
reindexObjectin interfaceICollabNetSoap- Parameters:
sessionId- User session ID (must be a system administrator to perform this operation)objectId- Project to re-index.- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.PermissionDeniedFault- when the user does not have sufficient privileges (must be a system admin).NoSuchObjectFault- when the specified object ID is invalid.RemoteException- See Also:
CollabNetSoap.reindexObject(java.lang.String, java.lang.String)
-
prepareGetUserEffectiveMode
public void prepareGetUserEffectiveMode(String sessionId, Object returnValue)
Prepare a simulated response to getUserEffectiveMode
-
getUserEffectiveMode
public String getUserEffectiveMode(String sessionId) throws RemoteException
Simulate a call to getUserEffectiveMode- Specified by:
getUserEffectiveModein interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- effective mode (ALM or SCM) for the current user
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException- See Also:
CollabNetSoap.getUserEffectiveMode(java.lang.String)
-
prepareIsHostedMode
public void prepareIsHostedMode(String sessionId, Object returnValue)
Prepare a simulated response to isHostedMode
-
isHostedMode
public boolean isHostedMode(String sessionId) throws RemoteException
Simulate a call to isHostedMode- Specified by:
isHostedModein interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- true if the appserver is running in Hosted Mode.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException- See Also:
CollabNetSoap.isHostedMode(java.lang.String)
-
prepareGetProjectDiskUsage
public void prepareGetProjectDiskUsage(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getProjectDiskUsage
-
getProjectDiskUsage
public long getProjectDiskUsage(String sessionId, String projectId) throws RemoteException
Simulate a call to getProjectDiskUsage- Specified by:
getProjectDiskUsagein interfaceICollabNetSoap- Parameters:
sessionId- the soap session keyprojectId- the id of the project- Returns:
- the file storage disk usage of a project
- Throws:
NoSuchObjectFault- thrown if the project was not found.InvalidSessionFault- thrown if the session id is not valid.PermissionDeniedFault- thrown if sessionId is not a session started by an admin.SystemFault- If there was a problem checking the permissions.RemoteException- See Also:
CollabNetSoap.getProjectDiskUsage(java.lang.String, java.lang.String)
-
prepareGetProjectQuota
public void prepareGetProjectQuota(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getProjectQuota
-
getProjectQuota
public long getProjectQuota(String sessionId, String projectId) throws RemoteException
Simulate a call to getProjectQuota- Specified by:
getProjectQuotain interfaceICollabNetSoap- Parameters:
sessionId- The id of the current session.projectId- The id of the project.- Returns:
- The disk quota for the project.
- Throws:
InvalidSessionFault- If the session id is not valid.NoSuchObjectFault- If the project id does not exist.PermissionDeniedFault- If the user is not allowed to view this information.SystemFault- If there was a problem checking the permissions.RemoteException- See Also:
CollabNetSoap.getProjectQuota(java.lang.String, java.lang.String)
-
prepareSetProjectQuota
public void prepareSetProjectQuota(String sessionId, String projectId, long quota)
Prepare a simulated response to setProjectQuota
-
prepareSetProjectQuota
public void prepareSetProjectQuota(String sessionId, String projectId, long quota, Exception exception)
Prepare a simulated response to setProjectQuota
-
setProjectQuota
public void setProjectQuota(String sessionId, String projectId, long quota) throws RemoteException
Simulate a call to setProjectQuota- Specified by:
setProjectQuotain interfaceICollabNetSoap- Parameters:
sessionId- The id of the current session.projectId- The id of the project.quota- The disk quota to be set for the project.- Throws:
InvalidSessionFault- If the session id is not valid.NoSuchObjectFault- If the project id does not exist.PermissionDeniedFault- If the user is not allowed to view this information.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
CollabNetSoap.setProjectQuota(java.lang.String, java.lang.String, long)
-
prepareGetConfigurationValue
public void prepareGetConfigurationValue(String sessionId, String keyValue, Object returnValue)
Prepare a simulated response to getConfigurationValue
-
getConfigurationValue
public String getConfigurationValue(String sessionId, String keyValue) throws RemoteException
Simulate a call to getConfigurationValue- Specified by:
getConfigurationValuein interfaceICollabNetSoap- Parameters:
sessionId- The id of the current session.keyValue- of the configuration parameter sought for as String.- Returns:
- The configuration value of the key requested.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getConfigurationValue(java.lang.String, java.lang.String)
-
prepareGetProjectByPath
public void prepareGetProjectByPath(String sessionId, String projectPath, Object returnValue)
Prepare a simulated response to getProjectByPath
-
getProjectByPath
public ProjectSoapDO getProjectByPath(String sessionId, String projectPath) throws RemoteException
Simulate a call to getProjectByPath- Specified by:
getProjectByPathin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectPath- path for which the project info. is requested- Returns:
- a ProjectSoapDO for a given project path.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getProjectByPath(java.lang.String, java.lang.String)
-
prepareListUsersWithGeneralPermission
public void prepareListUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, Object returnValue)
Prepare a simulated response to listUsersWithGeneralPermission
-
listUsersWithGeneralPermission
public UserSoapList listUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId) throws RemoteException
Simulate a call to listUsersWithGeneralPermission- Specified by:
listUsersWithGeneralPermissionin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectId- project for which permission is checkedoperationString- The string representation of the operation.folderId- id of the folder for which permission needs to be checked.- Returns:
- List of users who have permission on the given object for the given operation
- Throws:
InvalidSessionFault- when session is invalidNoSuchObjectFault- when the objectId does not existIllegalArgumentFault- if the operationString is in an invalid formatSystemFault- any other exceptionsPermissionDeniedFault- If user does not have project view permissionRemoteException- See Also:
CollabNetSoap.listUsersWithGeneralPermission(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareHasGeneralPermission
public void prepareHasGeneralPermission(String sessionId, String username, String projectId, String operationString, String objectId, Object returnValue)
Prepare a simulated response to hasGeneralPermission
-
hasGeneralPermission
public boolean hasGeneralPermission(String sessionId, String username, String projectId, String operationString, String objectId) throws RemoteException
Simulate a call to hasGeneralPermission- Specified by:
hasGeneralPermissionin interfaceICollabNetSoap- Parameters:
sessionId- User sessionusername- user for which permission needs to be checkedprojectId- Project for which permission is checkedoperationString- The string representation of the operation.objectId- Object id can't be null for which permission needs to be checked.- Returns:
- Does the user has permission on this resource for this project
- Throws:
InvalidSessionFault- When Session is invalidNoSuchObjectFault- When the objectId does not existIllegalArgumentFault- Illegal arguments for the operation stringSystemFault- Any other exceptionsRemoteException- See Also:
CollabNetSoap.hasGeneralPermission(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareHasSitewideRolePermission
public void prepareHasSitewideRolePermission(String sessionId, String operationString, Object returnValue)
Prepare a simulated response to hasSitewideRolePermission
-
hasSitewideRolePermission
public boolean hasSitewideRolePermission(String sessionId, String operationString) throws RemoteException
Simulate a call to hasSitewideRolePermission- Specified by:
hasSitewideRolePermissionin interfaceICollabNetSoap- Parameters:
sessionId- User session idoperationString- The string representation of the operation.- Returns:
- true if the user has the permission for the operation at Site-Wide scope, false otherwise.
- Throws:
InvalidSessionFault- when the sessionId is invalidIllegalArgumentFault- If the operationString is in an invalid formatSystemFault- when an unexpected system error occursRemoteException- See Also:
CollabNetSoap.hasSitewideRolePermission(java.lang.String, java.lang.String)
-
prepareSetParentProject
public void prepareSetParentProject(String sessionId, String projectId, String parentProjectId)
Prepare a simulated response to setParentProject
-
prepareSetParentProject
public void prepareSetParentProject(String sessionId, String projectId, String parentProjectId, Exception exception)
Prepare a simulated response to setParentProject
-
setParentProject
public void setParentProject(String sessionId, String projectId, String parentProjectId) throws RemoteException
Simulate a call to setParentProject- Specified by:
setParentProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project whose parent needs to be set.parentProjectId- Id of the project which is to be set as parent; null/empty, removes the parent.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- if the parent is one of the child projects or is same as the project.PermissionDeniedFault- if the user does not have permission to do thisChangeParentNotAllowedFault- if the project is system project (look project).ParentRoleUsedInChildProjectsFault- if any role of this or ancestor projectSystemFault- unexpected errorRemoteException- See Also:
CollabNetSoap.setParentProject(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetProjectHierarchyPaths
public void prepareGetProjectHierarchyPaths(String sessionId, String[] projectIds, Object returnValue)
Prepare a simulated response to getProjectHierarchyPaths
-
getProjectHierarchyPaths
public SoapNamedValues getProjectHierarchyPaths(String sessionId, String[] projectIds) throws RemoteException
Simulate a call to getProjectHierarchyPaths- Specified by:
getProjectHierarchyPathsin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectIds- An array of project Ids.- Returns:
- A name-value pair of project hierarchy paths
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occursPermissionDeniedFault- when the user has insufficient privileges on any of the given projects.RemoteException- See Also:
CollabNetSoap.getProjectHierarchyPaths(java.lang.String, java.lang.String[])
-
prepareGetCurrentTime
public void prepareGetCurrentTime(String sessionId, Object returnValue)
Prepare a simulated response to getCurrentTime
-
getCurrentTime
public long getCurrentTime(String sessionId) throws RemoteException
Simulate a call to getCurrentTime- Specified by:
getCurrentTimein interfaceICollabNetSoap- Parameters:
sessionId- user session id.- Returns:
- the current server time in milliseconds
- Throws:
InvalidSessionFault- when the specified session id is invalid.RemoteException- See Also:
CollabNetSoap.getCurrentTime(java.lang.String)
-
prepareCanReceiveOwnUpdates
public void prepareCanReceiveOwnUpdates(String sessionId, Object returnValue)
Prepare a simulated response to canReceiveOwnUpdates
-
canReceiveOwnUpdates
public boolean canReceiveOwnUpdates(String sessionId) throws RemoteException
Simulate a call to canReceiveOwnUpdates- Specified by:
canReceiveOwnUpdatesin interfaceICollabNetSoap- Parameters:
sessionId- user session id.- Returns:
- whether the user can receive notifications on own updates
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when anything unexpected happen.RemoteException- See Also:
CollabNetSoap.canReceiveOwnUpdates(java.lang.String)
-
prepareGetPasswordRequirements
public void prepareGetPasswordRequirements(String loggedInUser, Object returnValue)
Prepare a simulated response to getPasswordRequirements
-
getPasswordRequirements
public String getPasswordRequirements(String loggedInUser) throws RemoteException
Simulate a call to getPasswordRequirements- Throws:
RemoteException- See Also:
CollabNetSoap.getPasswordRequirements(java.lang.String)
-
prepareCreateProjectGroup
public void prepareCreateProjectGroup(String sessionId, String title, String description, Object returnValue)
Prepare a simulated response to createProjectGroup
-
createProjectGroup
public ProjectGroupSoapDO createProjectGroup(String sessionId, String title, String description) throws RemoteException
Simulate a call to createProjectGroup- Specified by:
createProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- User session key.title- The title of the project groupdescription- The description of the project group- Returns:
- The project group data
- Throws:
InvalidSessionFault- when the specified session id is invalid.ObjectAlreadyExistsFault- when the project group with that name already exists.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when invalid data was passed inRemoteException- See Also:
CollabNetSoap.createProjectGroup(java.lang.String, java.lang.String, java.lang.String)
-
prepareAddProjectsToProjectGroup
public void prepareAddProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds)
Prepare a simulated response to addProjectsToProjectGroup
-
prepareAddProjectsToProjectGroup
public void prepareAddProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds, Exception exception)
Prepare a simulated response to addProjectsToProjectGroup
-
addProjectsToProjectGroup
public void addProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds) throws RemoteException
Simulate a call to addProjectsToProjectGroup- Specified by:
addProjectsToProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- the user session idprojectGroupId- the project group idprojectIds- the project ids- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when invalid data was passed inRemoteException- See Also:
CollabNetSoap.addProjectsToProjectGroup(java.lang.String, java.lang.String, java.lang.String[])
-
prepareListProjectGroups
public void prepareListProjectGroups(String sessionId, Object returnValue)
Prepare a simulated response to listProjectGroups
-
listProjectGroups
public ProjectGroupSoapList listProjectGroups(String sessionId) throws RemoteException
Simulate a call to listProjectGroups- Specified by:
listProjectGroupsin interfaceICollabNetSoap- Parameters:
sessionId- User session key.- Returns:
- List of project groups
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.PermissionDeniedFaultRemoteException- See Also:
CollabNetSoap.listProjectGroups(java.lang.String)
-
prepareGetProjectGroupData
public void prepareGetProjectGroupData(String sessionId, String projectGroupId, Object returnValue)
Prepare a simulated response to getProjectGroupData
-
getProjectGroupData
public ProjectGroupSoapDO getProjectGroupData(String sessionId, String projectGroupId) throws RemoteException
Simulate a call to getProjectGroupData- Specified by:
getProjectGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupId- project group Id- Returns:
- projectGroupSoapDO Project Group data
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.RemoteException- See Also:
CollabNetSoap.getProjectGroupData(java.lang.String, java.lang.String)
-
prepareSetProjectGroupData
public void prepareSetProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData)
Prepare a simulated response to setProjectGroupData
-
prepareSetProjectGroupData
public void prepareSetProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData, Exception exception)
Prepare a simulated response to setProjectGroupData
-
setProjectGroupData
public void setProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData) throws RemoteException
Simulate a call to setProjectGroupData- Specified by:
setProjectGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupData- project group's ProjectGroupSoapDO- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- when the project group version being edited is not the latest oneRemoteException- See Also:
CollabNetSoap.setProjectGroupData(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.ProjectGroupSoapDO)
-
prepareAddProjectGroupAdmins
public void prepareAddProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)
Prepare a simulated response to addProjectGroupAdmins
-
prepareAddProjectGroupAdmins
public void prepareAddProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames, Exception exception)
Prepare a simulated response to addProjectGroupAdmins
-
addProjectGroupAdmins
public void addProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames) throws RemoteException
Simulate a call to addProjectGroupAdmins- Specified by:
addProjectGroupAdminsin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupId- project group's idusernames- The username of the users that need to be made as admins for this Project Group- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalidRemoteException- See Also:
CollabNetSoap.addProjectGroupAdmins(java.lang.String, java.lang.String, java.lang.String[])
-
prepareRemoveProjectGroupAdmins
public void prepareRemoveProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)
Prepare a simulated response to removeProjectGroupAdmins
-
prepareRemoveProjectGroupAdmins
public void prepareRemoveProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames, Exception exception)
Prepare a simulated response to removeProjectGroupAdmins
-
removeProjectGroupAdmins
public void removeProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames) throws RemoteException
Simulate a call to removeProjectGroupAdmins- Specified by:
removeProjectGroupAdminsin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupId- project group's idusernames- The username of the users that need to be made as admins for this Project Group- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.RemoteException- See Also:
CollabNetSoap.removeProjectGroupAdmins(java.lang.String, java.lang.String, java.lang.String[])
-
prepareGetMemberProjectsForProjectGroup
public void prepareGetMemberProjectsForProjectGroup(String sessionId, String projectGroupId, Object returnValue)
Prepare a simulated response to getMemberProjectsForProjectGroup
-
getMemberProjectsForProjectGroup
public ProjectSoapList getMemberProjectsForProjectGroup(String sessionId, String projectGroupId) throws RemoteException
Simulate a call to getMemberProjectsForProjectGroup- Specified by:
getMemberProjectsForProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- the user session idprojectGroupId- the project group id- Returns:
- ProjectList the list of projects.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the given projectGroupId does not exist.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getMemberProjectsForProjectGroup(java.lang.String, java.lang.String)
-
prepareRemoveProjectsFromProjectGroup
public void prepareRemoveProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId)
Prepare a simulated response to removeProjectsFromProjectGroup
-
prepareRemoveProjectsFromProjectGroup
public void prepareRemoveProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId, Exception exception)
Prepare a simulated response to removeProjectsFromProjectGroup
-
removeProjectsFromProjectGroup
public void removeProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId) throws RemoteException
Simulate a call to removeProjectsFromProjectGroup- Specified by:
removeProjectsFromProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectMemberIds- project members in project groupprojectGroupId- project group id- Throws:
InvalidSessionFaultSystemFault- when an unexpected system error occurs.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.RemoteException- See Also:
CollabNetSoap.removeProjectsFromProjectGroup(java.lang.String, java.lang.String[], java.lang.String)
-
prepareRemoveProjectGroupMember
public void prepareRemoveProjectGroupMember(String sessionId, String projectGroupId, String userName)
Prepare a simulated response to removeProjectGroupMember
-
prepareRemoveProjectGroupMember
public void prepareRemoveProjectGroupMember(String sessionId, String projectGroupId, String userName, Exception exception)
Prepare a simulated response to removeProjectGroupMember
-
removeProjectGroupMember
public void removeProjectGroupMember(String sessionId, String projectGroupId, String userName) throws RemoteException
Simulate a call to removeProjectGroupMember- Specified by:
removeProjectGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectGroupId- Id of the project group.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoveOnlyProjectAdminFault- attempting to remove last project group adminRemoteException- See Also:
CollabNetSoap.removeProjectGroupMember(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetProjectGroupMemberList
public void prepareGetProjectGroupMemberList(String sessionId, String projectGroupId, Object returnValue)
Prepare a simulated response to getProjectGroupMemberList
-
getProjectGroupMemberList
public ProjectGroupMemberSoapList getProjectGroupMemberList(String sessionId, String projectGroupId) throws RemoteException
Simulate a call to getProjectGroupMemberList- Specified by:
getProjectGroupMemberListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectGroupId- Id of the project group.- Returns:
- Members of project group.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getProjectGroupMemberList(java.lang.String, java.lang.String)
-
prepareGetProjectGroupsForProject
public void prepareGetProjectGroupsForProject(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getProjectGroupsForProject
-
getProjectGroupsForProject
public ProjectGroupSoapList getProjectGroupsForProject(String sessionId, String projectId) throws RemoteException
Simulate a call to getProjectGroupsForProject- Specified by:
getProjectGroupsForProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- project id- Returns:
- projectgroup list
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getProjectGroupsForProject(java.lang.String, java.lang.String)
-
prepareGetProjectGroupsForProject1
public void prepareGetProjectGroupsForProject1(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getProjectGroupsForProject1
-
getProjectGroupsForProject1
public ProjectGroupSoapList getProjectGroupsForProject1(String sessionId, String projectId) throws RemoteException
Simulate a call to getProjectGroupsForProject1- Specified by:
getProjectGroupsForProject1in interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- project id- Returns:
- list of projectgroups on which the user has access
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getProjectGroupsForProject1(java.lang.String, java.lang.String)
-
prepareDeleteProjectGroup
public void prepareDeleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound)
Prepare a simulated response to deleteProjectGroup
-
prepareDeleteProjectGroup
public void prepareDeleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound, Exception exception)
Prepare a simulated response to deleteProjectGroup
-
deleteProjectGroup
public void deleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound) throws RemoteException
Simulate a call to deleteProjectGroup- Specified by:
deleteProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectGroupId- The id of the project group to be deletedforceDeleteEvenIfMemberProjectFound- delete the project group even if it has member project(s)- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project group with the specified projectGroupIdPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.ChildProjectsFoundFault- if the project group has any member project(s)RemoteException- See Also:
CollabNetSoap.deleteProjectGroup(java.lang.String, java.lang.String, boolean)
-
prepareListUsersWithPermissionOnObject
public void prepareListUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag, Object returnValue)
Prepare a simulated response to listUsersWithPermissionOnObject
-
listUsersWithPermissionOnObject
public UserSoapList listUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag) throws RemoteException
Simulate a call to listUsersWithPermissionOnObject- Specified by:
listUsersWithPermissionOnObjectin interfaceICollabNetSoap- Parameters:
sessionId- User sessionoperationString- The string representation of the operation.objectId- The object to check permission for the users with access; It can't be nullflag- either WITHOUT_SUPERUSERS or WITH_SUPERUSERS or WITH_PROJECT_MEMBERS or WITH_ASSIGNED_GROUP_MEMBERS or WITHOUT_GROUP_MEMBERS- Returns:
- List of Users who have the given permission on the given object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- When the objectId is invalid or does not existIllegalArgumentFault- If the operationString is in an invalid formatSystemFault- when an unexpected system level error occurs.PermissionDeniedFault- If user does not have project view permissionRemoteException- See Also:
CollabNetSoap.listUsersWithPermissionOnObject(java.lang.String, java.lang.String, java.lang.String, int)
-
prepareGetSessionId
public void prepareGetSessionId(String oneTimeToken, Object returnValue)
Prepare a simulated response to getSessionId
-
getSessionId
public String getSessionId(String oneTimeToken) throws RemoteException
Simulate a call to getSessionId- Specified by:
getSessionIdin interfaceICollabNetSoap- Parameters:
oneTimeToken- a one time token for login.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getSessionId(java.lang.String)
-
prepareGetSessionId
public void prepareGetSessionId(String oneTimeToken, boolean invalidateToken, Object returnValue)
Prepare a simulated response to getSessionId
-
getSessionId
public String getSessionId(String oneTimeToken, boolean invalidateToken) throws RemoteException
Simulate a call to getSessionId- Throws:
RemoteException- See Also:
CollabNetSoap.getSessionId(java.lang.String)
-
prepareGetJSessionId
public void prepareGetJSessionId(String oneTimeToken, Object returnValue)
Prepare a simulated response to getJSessionId
-
getJSessionId
public String getJSessionId(String oneTimeToken) throws RemoteException
Simulate a call to getJSessionId- Specified by:
getJSessionIdin interfaceICollabNetSoap- Parameters:
oneTimeToken- a one time token for login.- Returns:
- User jsession Id.
- Throws:
SystemFault- when an unexpected system error occurs.RemoteException- See Also:
CollabNetSoap.getJSessionId(java.lang.String)
-
prepareGetJSessionId
public void prepareGetJSessionId(String oneTimeToken, boolean invalidateToken, Object returnValue)
Prepare a simulated response to getJSessionId
-
getJSessionId
public String getJSessionId(String oneTimeToken, boolean invalidateToken) throws RemoteException
Simulate a call to getJSessionId- Throws:
RemoteException- See Also:
CollabNetSoap.getJSessionId(java.lang.String)
-
prepareGetWebAndSoapSessionId
public void prepareGetWebAndSoapSessionId(String oneTimeToken, Object returnValue)
Prepare a simulated response to getWebAndSoapSessionId
-
getWebAndSoapSessionId
public String getWebAndSoapSessionId(String oneTimeToken) throws RemoteException
Simulate a call to getWebAndSoapSessionId- Specified by:
getWebAndSoapSessionIdin interfaceICollabNetSoap- Parameters:
oneTimeToken- a one time token for login.- Returns:
- a string containing the web and soap session id's separated by &
- Throws:
SystemFault- when an unexpected system error occurs.LoginFault- when the login information is incorrectRemoteException- See Also:
CollabNetSoap.getWebAndSoapSessionId(java.lang.String)
-
prepareGetBroadCastMessage
public void prepareGetBroadCastMessage(String sessionId, Object returnValue)
Prepare a simulated response to getBroadCastMessage
-
getBroadCastMessage
public String getBroadCastMessage(String sessionId) throws RemoteException
Simulate a call to getBroadCastMessage- Specified by:
getBroadCastMessagein interfaceICollabNetSoap- Parameters:
sessionId- the session id.- Returns:
- current broadcast message
- Throws:
InvalidSessionFault- when fault occurs.RemoteException- See Also:
CollabNetSoap.getBroadCastMessage(java.lang.String)
-
prepareGetJSessionBySoapId
public void prepareGetJSessionBySoapId(String soapId, Object returnValue)
Prepare a simulated response to getJSessionBySoapId
-
getJSessionBySoapId
public String getJSessionBySoapId(String soapId) throws RemoteException
Simulate a call to getJSessionBySoapId- Specified by:
getJSessionBySoapIdin interfaceICollabNetSoap- Parameters:
soapId- webservice soap id- Returns:
- String jsession id
- Throws:
InvalidSessionFault- when fault occurs.RemoteException- See Also:
CollabNetSoap.getJSessionBySoapId(java.lang.String)
-
prepareGetUserSessionBySoapId
public void prepareGetUserSessionBySoapId(String soapId, Object returnValue)
Prepare a simulated response to getUserSessionBySoapId
-
getUserSessionBySoapId
public String getUserSessionBySoapId(String soapId) throws RemoteException
Simulate a call to getUserSessionBySoapId- Specified by:
getUserSessionBySoapIdin interfaceICollabNetSoap- Parameters:
soapId- webservice soap id- Returns:
- the access token
- Throws:
InvalidSessionFault- when fault occurs.RemoteException- See Also:
CollabNetSoap.getUserSessionBySoapId(java.lang.String)
-
prepareCreateSiteWideLinkedApp
public void prepareCreateSiteWideLinkedApp(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon, Object returnValue)
Prepare a simulated response to createSiteWideLinkedApp
-
createSiteWideLinkedApp
public String createSiteWideLinkedApp(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon) throws RemoteException
Simulate a call to createSiteWideLinkedApp- Specified by:
createSiteWideLinkedAppin interfaceICollabNetSoaptitle- A name for the linked application, which appears on the linkapplicationUrl- the location url of the linked applicationapplicationType- determines how the linked app should appearsingleSignon- Whether single signon should be enabled.- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault- When Session is invalidNoSuchObjectFault- When an attempt to retrieve the created linked app results in errorIllegalArgumentFault- If any arguments is of invalid formatSystemFault- Any other exceptions, such as object already existsPermissionDeniedFault- If user does not have site admin permissionRemoteException- See Also:
CollabNetSoap.createSiteWideLinkedApp(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
-
prepareCreateProjectLinkedApp
public void prepareCreateProjectLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, Object returnValue)
Prepare a simulated response to createProjectLinkedApp
-
createProjectLinkedApp
public String createProjectLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon) throws RemoteException
Simulate a call to createProjectLinkedApp- Specified by:
createProjectLinkedAppin interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given projecttitle- name for the linked application, which appears on the linkapplicationUrl- the URL of the linked applicationiconKey- the key of the iconiconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.singleSignon- indicates whether single signon should be enabled.- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault- whem sesion is invalidNoSuchObjectFault- when an attempt to retrieve the created linked app results in errorIllegalArgumentFault- if any argument is invalidPermissionDeniedFault- if the user does not have admin permissionSystemFault- any other exceptionRemoteException- See Also:
CollabNetSoap.createProjectLinkedApp(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
-
prepareCreateProjectLinkedApp2
public void prepareCreateProjectLinkedApp2(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String toolId, Object returnValue)
Prepare a simulated response to createProjectLinkedApp2
-
createProjectLinkedApp2
public String createProjectLinkedApp2(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String toolId) throws RemoteException
Simulate a call to createProjectLinkedApp2- Specified by:
createProjectLinkedApp2in interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given projecttitle- name for the linked application, which appears on the linkapplicationUrl- the URL of the linked applicationiconKey- the key of the iconiconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.singleSignon- indicates whether single signon should be enabled.toolId- the id of tool in orchestrate- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault- whem sesion is invalidNoSuchObjectFault- when an attempt to retrieve the created linked app results in errorIllegalArgumentFault- if any argument is invalidPermissionDeniedFault- if the user does not have admin permissionSystemFault- any other exceptionRemoteException- See Also:
CollabNetSoap.createProjectLinkedApp2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String)
-
prepareCreateLinkedApp
public void prepareCreateLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String applicationType, String toolId, Object returnValue)
Prepare a simulated response to createLinkedApp
-
createLinkedApp
public String createLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String applicationType, String toolId) throws RemoteException
Simulate a call to createLinkedApp
-
prepareShouldEnableSSO
public void prepareShouldEnableSSO(boolean singleSignon, String loggedInUser, Object returnValue)Prepare a simulated response to shouldEnableSSO
-
shouldEnableSSO
public boolean shouldEnableSSO(boolean singleSignon, String loggedInUser) throws RemoteExceptionSimulate a call to shouldEnableSSO- Throws:
RemoteException- See Also:
CollabNetSoap.shouldEnableSSO(boolean, java.lang.String)
-
prepareGetLinkedApplicationData
public void prepareGetLinkedApplicationData(String sessionId, String linkedAppId, Object returnValue)
Prepare a simulated response to getLinkedApplicationData
-
getLinkedApplicationData
public LinkedApplicationSoapDO getLinkedApplicationData(String sessionId, String linkedAppId) throws RemoteException
Simulate a call to getLinkedApplicationData- Specified by:
getLinkedApplicationDatain interfaceICollabNetSoap- Returns:
- Linked Application Soap Data
- Throws:
RemoteException- See Also:
CollabNetSoap.getLinkedApplicationData(java.lang.String, java.lang.String)
-
prepareGetLinkedApplicationData2
public void prepareGetLinkedApplicationData2(String sessionId, String linkedAppId, Object returnValue)
Prepare a simulated response to getLinkedApplicationData2
-
getLinkedApplicationData2
public LinkedApplication2SoapDO getLinkedApplicationData2(String sessionId, String linkedAppId) throws RemoteException
Simulate a call to getLinkedApplicationData2- Specified by:
getLinkedApplicationData2in interfaceICollabNetSoap- Returns:
- Linked Application2 Soap Data
- Throws:
RemoteException- See Also:
CollabNetSoap.getLinkedApplicationData2(java.lang.String, java.lang.String)
-
prepareGetProjectIdForLinkedApp
public void prepareGetProjectIdForLinkedApp(String projectId, String loggedInUser, Object returnValue)
Prepare a simulated response to getProjectIdForLinkedApp
-
getProjectIdForLinkedApp
public String getProjectIdForLinkedApp(String projectId, String loggedInUser) throws RemoteException
Simulate a call to getProjectIdForLinkedApp
-
prepareSetLinkedApplicationData
public void prepareSetLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType)
Prepare a simulated response to setLinkedApplicationData
-
prepareSetLinkedApplicationData
public void prepareSetLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType, Exception exception)
Prepare a simulated response to setLinkedApplicationData
-
setLinkedApplicationData
public void setLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType) throws RemoteException
Simulate a call to setLinkedApplicationData- Specified by:
setLinkedApplicationDatain interfaceICollabNetSoap- Parameters:
sessionId- user sessionlinkedApplicationSoapDO- the linkedApplication Data ObjecticonKey- the key of the icon (e.g. guid9baa2613b27278f720000c58)iconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.- Throws:
RemoteException- See Also:
CollabNetSoap.setLinkedApplicationData(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.LinkedApplicationSoapDO, java.lang.String, java.lang.String, java.lang.String)
-
prepareSetLinkedApplicationData2
public void prepareSetLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType)
Prepare a simulated response to setLinkedApplicationData2
-
prepareSetLinkedApplicationData2
public void prepareSetLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType, Exception exception)
Prepare a simulated response to setLinkedApplicationData2
-
setLinkedApplicationData2
public void setLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType) throws RemoteException
Simulate a call to setLinkedApplicationData2- Specified by:
setLinkedApplicationData2in interfaceICollabNetSoap- Parameters:
sessionId- user sessionlinkedApplication2SoapDO- the linkedApplication Data ObjecticonKey- the key of the icon (e.g. guid9baa2613b27278f720000c58)iconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.- Throws:
RemoteException- See Also:
CollabNetSoap.setLinkedApplicationData2(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.LinkedApplication2SoapDO, java.lang.String, java.lang.String, java.lang.String)
-
prepareUpdateLinkedAppData
public void prepareUpdateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser)Prepare a simulated response to updateLinkedAppData
-
prepareUpdateLinkedAppData
public void prepareUpdateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser, Exception exception)Prepare a simulated response to updateLinkedAppData
-
updateLinkedAppData
public void updateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser) throws RemoteExceptionSimulate a call to updateLinkedAppData
-
prepareValidateToolType
public void prepareValidateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO)Prepare a simulated response to validateToolType
-
prepareValidateToolType
public void prepareValidateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO, Exception exception)Prepare a simulated response to validateToolType
-
validateToolType
public void validateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO) throws RemoteExceptionSimulate a call to validateToolType
-
prepareUpdateIconRequired
public void prepareUpdateIconRequired(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey, Object returnValue)Prepare a simulated response to updateIconRequired
-
updateIconRequired
public boolean updateIconRequired(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey) throws RemoteExceptionSimulate a call to updateIconRequired
-
prepareGetIconFile
public void prepareGetIconFile(String iconKey, String iconFileName, String iconMimeType, String loggedInUser, Object returnValue)
Prepare a simulated response to getIconFile
-
getIconFile
public com.vasoftware.sf.server.services.filestorage.StoredFileDO getIconFile(String iconKey, String iconFileName, String iconMimeType, String loggedInUser) throws RemoteException
Simulate a call to getIconFile
-
prepareDeleteLinkedApp
public void prepareDeleteLinkedApp(String sessionId, String linkedAppId)
Prepare a simulated response to deleteLinkedApp
-
prepareDeleteLinkedApp
public void prepareDeleteLinkedApp(String sessionId, String linkedAppId, Exception exception)
Prepare a simulated response to deleteLinkedApp
-
deleteLinkedApp
public void deleteLinkedApp(String sessionId, String linkedAppId) throws RemoteException
Simulate a call to deleteLinkedApp- Specified by:
deleteLinkedAppin interfaceICollabNetSoap- Parameters:
sessionId- the session idlinkedAppId- - LinkedApplication Id which is requested to be deleted- Throws:
InvalidSessionFaultNoSuchObjectFaultIllegalArgumentFaultPermissionDeniedFaultSystemFaultRemoteException- See Also:
CollabNetSoap.deleteLinkedApp(java.lang.String, java.lang.String)
-
prepareListSiteWideLinkedApps
public void prepareListSiteWideLinkedApps(String sessionId, Object returnValue)
Prepare a simulated response to listSiteWideLinkedApps
-
listSiteWideLinkedApps
public LinkedApplicationSoapList listSiteWideLinkedApps(String sessionId) throws RemoteException
Simulate a call to listSiteWideLinkedApps- Specified by:
listSiteWideLinkedAppsin interfaceICollabNetSoap- Parameters:
sessionId- user session- Returns:
- LinkedApplicationSoapList
- Throws:
RemoteException- See Also:
CollabNetSoap.listSiteWideLinkedApps(java.lang.String)
-
prepareListProjectLinkedApps
public void prepareListProjectLinkedApps(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to listProjectLinkedApps
-
listProjectLinkedApps
public LinkedApplicationSoapList listProjectLinkedApps(String sessionId, String projectId) throws RemoteException
Simulate a call to listProjectLinkedApps- Specified by:
listProjectLinkedAppsin interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given project- Returns:
- LinkedapplicationSoapList
- Throws:
RemoteException- See Also:
CollabNetSoap.listProjectLinkedApps(java.lang.String, java.lang.String)
-
prepareListProjectLinkedApps2
public void prepareListProjectLinkedApps2(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to listProjectLinkedApps2
-
listProjectLinkedApps2
public LinkedApplication2SoapList listProjectLinkedApps2(String sessionId, String projectId) throws RemoteException
Simulate a call to listProjectLinkedApps2- Specified by:
listProjectLinkedApps2in interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given project- Returns:
- LinkedapplicationSoapList
- Throws:
RemoteException- See Also:
CollabNetSoap.listProjectLinkedApps2(java.lang.String, java.lang.String)
-
prepareListLinkedApps
public void prepareListLinkedApps(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to listLinkedApps
-
listLinkedApps
public LinkedApplicationSoapList listLinkedApps(String sessionId, String projectId) throws RemoteException
Simulate a call to listLinkedApps
-
prepareListLinkedApps2
public void prepareListLinkedApps2(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to listLinkedApps2
-
listLinkedApps2
public LinkedApplication2SoapList listLinkedApps2(String sessionId, String projectId) throws RemoteException
Simulate a call to listLinkedApps2
-
prepareGetRbacOperation
public void prepareGetRbacOperation(CollabNetSoap.LinkedAppOperation operation, boolean isSiteWide, Object returnValue)
Prepare a simulated response to getRbacOperation
-
getRbacOperation
public com.vasoftware.sf.common.access.rbac.Operation getRbacOperation(CollabNetSoap.LinkedAppOperation operation, boolean isSiteWide) throws RemoteException
Simulate a call to getRbacOperation
-
prepareVerifyLinkedAppPermission
public void prepareVerifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser)
Prepare a simulated response to verifyLinkedAppPermission
-
prepareVerifyLinkedAppPermission
public void prepareVerifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser, Exception exception)
Prepare a simulated response to verifyLinkedAppPermission
-
verifyLinkedAppPermission
public void verifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser) throws RemoteException
Simulate a call to verifyLinkedAppPermission
-
prepareValidateLinkedAppData
public void prepareValidateLinkedAppData(String title, String applicationUrl, String applicationType)
Prepare a simulated response to validateLinkedAppData
-
prepareValidateLinkedAppData
public void prepareValidateLinkedAppData(String title, String applicationUrl, String applicationType, Exception exception)
Prepare a simulated response to validateLinkedAppData
-
validateLinkedAppData
public void validateLinkedAppData(String title, String applicationUrl, String applicationType) throws RemoteException
Simulate a call to validateLinkedAppData
-
prepareIsSoapRedirectPostOnlyMode
public void prepareIsSoapRedirectPostOnlyMode(String sessionId, Object returnValue)
Prepare a simulated response to isSoapRedirectPostOnlyMode
-
isSoapRedirectPostOnlyMode
public boolean isSoapRedirectPostOnlyMode(String sessionId) throws RemoteException
Simulate a call to isSoapRedirectPostOnlyMode- Specified by:
isSoapRedirectPostOnlyModein interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- true if Teamforge is running in SoapRedirect Post-Only Mode.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException- See Also:
CollabNetSoap.isSoapRedirectPostOnlyMode(java.lang.String)
-
prepareGetOneTimeToken
public void prepareGetOneTimeToken(String sessionId, Object returnValue)
Prepare a simulated response to getOneTimeToken
-
getOneTimeToken
public String getOneTimeToken(String sessionId) throws RemoteException
Simulate a call to getOneTimeToken- Specified by:
getOneTimeTokenin interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- one time token.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException- See Also:
CollabNetSoap.getOneTimeToken(java.lang.String)
-
prepareSetPartialOrFullUserData
public void prepareSetPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser)Prepare a simulated response to setPartialOrFullUserData
-
prepareSetPartialOrFullUserData
public void prepareSetPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser, Exception exception)Prepare a simulated response to setPartialOrFullUserData
-
setPartialOrFullUserData
public void setPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser) throws RemoteExceptionSimulate a call to setPartialOrFullUserData
-
prepareSetPartialOrFullUserData2
public void prepareSetPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser)Prepare a simulated response to setPartialOrFullUserData2
-
prepareSetPartialOrFullUserData2
public void prepareSetPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser, Exception exception)Prepare a simulated response to setPartialOrFullUserData2
-
setPartialOrFullUserData2
public void setPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser) throws RemoteExceptionSimulate a call to setPartialOrFullUserData2
-
prepareCanGiveFullUserDetails
public void prepareCanGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser, Object returnValue)Prepare a simulated response to canGiveFullUserDetails
-
canGiveFullUserDetails
public boolean canGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser) throws RemoteExceptionSimulate a call to canGiveFullUserDetails
-
prepareCheckUserActiveStatus
public void prepareCheckUserActiveStatus(String userName, String loggedInUser)
Prepare a simulated response to checkUserActiveStatus
-
prepareCheckUserActiveStatus
public void prepareCheckUserActiveStatus(String userName, String loggedInUser, Exception exception)
Prepare a simulated response to checkUserActiveStatus
-
checkUserActiveStatus
public void checkUserActiveStatus(String userName, String loggedInUser) throws RemoteException
Simulate a call to checkUserActiveStatus
-
-