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
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
DATE_WILDCARD, GUIDKEY_WILDCARD, INTEGER_WILDCARD, LONG_WILDCARD, STRING_WILDCARDFields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProjectGroupAdmins(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 createAssociationWithTitlescreateLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String applicationType, String toolId) Simulate a call to createLinkedAppcreateOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId) Simulate a call to createOrReplaceProjectTemplatecreateProject(String sessionId, String name, String title, String description) Simulate a call to createProjectcreateProjectFromTemplate(String sessionId, String templateId, String name, String title, String description) Simulate a call to createProjectFromTemplatecreateProjectGroup(String sessionId, String title, String description) Simulate a call to createProjectGroupcreateProjectLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon) Simulate a call to createProjectLinkedAppcreateProjectLinkedApp2(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String toolId) Simulate a call to createProjectLinkedApp2createSiteWideLinkedApp(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon) Simulate a call to createSiteWideLinkedAppcreateUser(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 createUsercreateUserGroup(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 deleteUserGroupdoMandatoryPasswordChange(String userName, String oldPassword, String newPassword) Simulate a call to doMandatoryPasswordChangefindProjects(String sessionId, String queryString) Simulate a call to findProjectsSimulate a call to findUsersSimulate a call to getApiVersiongetAssociationList(String sessionId, String objectId) Simulate a call to getAssociationListgetAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges) Simulate a call to getAuditHistoryListgetBroadCastMessage(String sessionId) Simulate a call to getBroadCastMessagegetCommentList(String sessionId, String objectId) Simulate a call to getCommentListgetConfigurationValue(String sessionId, String keyValue) Simulate a call to getConfigurationValuelonggetCurrentTime(String sessionId) Simulate a call to getCurrentTimegetCurrentUserData(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 getIconFilegetJSessionBySoapId(String soapId) Simulate a call to getJSessionBySoapIdgetJSessionId(String oneTimeToken) Simulate a call to getJSessionIdgetJSessionId(String oneTimeToken, boolean invalidateToken) Simulate a call to getJSessionIdgetLinkedApplicationData(String sessionId, String linkedAppId) Simulate a call to getLinkedApplicationDatagetLinkedApplicationData2(String sessionId, String linkedAppId) Simulate a call to getLinkedApplicationData2getMemberProjectsForProjectGroup(String sessionId, String projectGroupId) Simulate a call to getMemberProjectsForProjectGroupgetOneTimeToken(String sessionId) Simulate a call to getOneTimeTokengetPasswordRequirements(String loggedInUser) Simulate a call to getPasswordRequirementsintgetProjectAccessLevel(String sessionId, String projectId) Simulate a call to getProjectAccessLevelgetProjectByPath(String sessionId, String projectPath) Simulate a call to getProjectByPathgetProjectData(String sessionId, String projectId) Simulate a call to getProjectDatalonggetProjectDiskUsage(String sessionId, String projectId) Simulate a call to getProjectDiskUsagegetProjectGroupData(String sessionId, String projectGroupId) Simulate a call to getProjectGroupDatagetProjectGroupMemberList(String sessionId, String projectGroupId) Simulate a call to getProjectGroupMemberListgetProjectGroupsForProject(String sessionId, String projectId) Simulate a call to getProjectGroupsForProjectgetProjectGroupsForProject1(String sessionId, String projectId) Simulate a call to getProjectGroupsForProject1getProjectHierarchyPaths(String sessionId, String[] projectIds) Simulate a call to getProjectHierarchyPathsgetProjectIdForLinkedApp(String projectId, String loggedInUser) Simulate a call to getProjectIdForLinkedAppgetProjectList(String sessionId, boolean fetchHierarchyPath) Simulate a call to getProjectListgetProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership) Simulate a call to getProjectListForUsergetProjectMemberList(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 getRbacOperationgetSessionId(String oneTimeToken) Simulate a call to getSessionIdgetSessionId(String oneTimeToken, boolean invalidateToken) Simulate a call to getSessionIdgetSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath) Simulate a call to getSubprojectListgetUserByEmail(String sessionId, String email) Simulate a call to getUserByEmailgetUserByName(String sessionId, String fullname) Simulate a call to getUserByNamegetUserData(String sessionId, String username) Simulate a call to getUserDatagetUserData2(String sessionId, String username) Simulate a call to getUserData2getUserEffectiveMode(String sessionId) Simulate a call to getUserEffectiveModegetUserGroupData(String sessionId, String groupId) Simulate a call to getUserGroupDatagetUserGroupList(String sessionId) Simulate a call to getUserGroupListgetUserGroupListForProject(String sessionId, String projectOrProjectGroupId) Simulate a call to getUserGroupListForProjectgetUserGroupListForUser(String sessionId, String username) Simulate a call to getUserGroupListForUsergetUserGroupMembers(String sessionId, String groupId) Simulate a call to getUserGroupMembersgetUserList(String sessionId, SoapFilter soapFilter) Simulate a call to getUserListgetUserList2(String sessionId, SoapFilter soapFilter) Simulate a call to getUserList2getUserSessionBySoapId(String soapId) Simulate a call to getUserSessionBySoapIdgetVersion(String sessionId) Simulate a call to getVersiongetVersionInformationList(String sessionId, String folderId) Simulate a call to getVersionInformationListgetWebAndSoapSessionId(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 isSoapRedirectPostOnlyModevoidSimulate a call to keepAlivelistAttachments(String sessionId, String objectId) Simulate a call to listAttachmentslistGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited) Simulate a call to listGroupsWithGeneralPermissionlistLinkedApps(String sessionId, String projectId) Simulate a call to listLinkedAppslistLinkedApps2(String sessionId, String projectId) Simulate a call to listLinkedApps2listProjectAdmins(String sessionId, String projectId) Simulate a call to listProjectAdminslistProjectGroups(String sessionId) Simulate a call to listProjectGroupslistProjectLinkedApps(String sessionId, String projectId) Simulate a call to listProjectLinkedAppslistProjectLinkedApps2(String sessionId, String projectId) Simulate a call to listProjectLinkedApps2listSiteWideLinkedApps(String sessionId) Simulate a call to listSiteWideLinkedAppslistTemplates(String sessionId) Simulate a call to listTemplateslistUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId) Simulate a call to listUsersWithGeneralPermissionlistUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag) Simulate a call to listUsersWithPermissionOnObjectlockProject(String sessionId, String projectId) Simulate a call to lockProjectSimulate a call to loginSimulate a call to loginloginAnonymous(String anonSharedSecret) Simulate a call to loginAnonymousloginWithToken(String username, String oneTimeToken) Simulate a call to loginWithTokenvoidSimulate 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 shouldEnableSSOunLockProject(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 verifyPluggableObjectPermissionMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCallMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
CollabNetSoapMockStub
-
-
Method Details
-
prepareGetVersion
Prepare a simulated response to getVersion -
getVersion
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:
-
prepareGetApiVersion
Prepare a simulated response to getApiVersion- See Also:
-
getApiVersion
Simulate a call to getApiVersion- Specified by:
getApiVersionin interfaceICollabNetSoap- Returns:
- API version as string.
- Throws:
RemoteException- See Also:
-
prepareKeepAlive
Prepare a simulated response to keepAlive -
prepareKeepAlive
Prepare a simulated response to keepAlive -
keepAlive
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:
-
prepareLoginAnonymous
Prepare a simulated response to loginAnonymous -
loginAnonymous
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:
-
prepareLogin
Prepare a simulated response to login -
login
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:
-
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:
-
prepareLoginWithToken
Prepare a simulated response to loginWithToken -
loginWithToken
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:
-
prepareLogoff
Prepare a simulated response to logoff -
prepareLogoff
Prepare a simulated response to logoff -
logoff
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:
-
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:
-
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:
-
prepareCheckPermissionsToChangePassword
Prepare a simulated response to checkPermissionsToChangePassword- See Also:
-
CollabNetSoap.checkPermissionsToChangePassword(java.lang.String, java.lang.String)
-
prepareCheckPermissionsToChangePassword
public void prepareCheckPermissionsToChangePassword(String userName, String loggedInUser, Exception exception) Prepare a simulated response to checkPermissionsToChangePassword- See Also:
-
CollabNetSoap.checkPermissionsToChangePassword(java.lang.String, java.lang.String)
-
checkPermissionsToChangePassword
public void checkPermissionsToChangePassword(String userName, String loggedInUser) throws RemoteException Simulate a call to checkPermissionsToChangePassword- Throws:
RemoteException- See Also:
-
CollabNetSoap.checkPermissionsToChangePassword(java.lang.String, java.lang.String)
-
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:
-
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:
-
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:
-
prepareGetProjectList
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
prepareListTemplates
Prepare a simulated response to listTemplates -
listTemplates
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:
-
prepareFindProjects
Prepare a simulated response to findProjects -
findProjects
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:
-
prepareLockProject
Prepare a simulated response to lockProject -
lockProject
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:
-
prepareUnLockProject
Prepare a simulated response to unLockProject -
unLockProject
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:
-
prepareGetProjectData
Prepare a simulated response to getProjectData -
getProjectData
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:
-
prepareGetProjectMemberList
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:
-
prepareListProjectAdmins
Prepare a simulated response to listProjectAdmins -
listProjectAdmins
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:
-
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:
-
prepareAddProjectMember
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:
-
prepareAddProjectGroupMember
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:
-
prepareRemoveProjectMember
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:
-
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:
-
prepareGetUserGroupData
Prepare a simulated response to getUserGroupData -
getUserGroupData
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:
-
prepareSetUserGroupData
Prepare a simulated response to setUserGroupData -
prepareSetUserGroupData
public void prepareSetUserGroupData(String sessionId, UserGroupSoapDO groupData, Exception exception) Prepare a simulated response to setUserGroupData -
setUserGroupData
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:
-
prepareDeleteUserGroup
Prepare a simulated response to deleteUserGroup -
prepareDeleteUserGroup
Prepare a simulated response to deleteUserGroup -
deleteUserGroup
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:
-
prepareGetUserGroupList
Prepare a simulated response to getUserGroupList -
getUserGroupList
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:
-
prepareGetUserGroupListForUser
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:
-
prepareGetUserGroupMembers
Prepare a simulated response to getUserGroupMembers -
getUserGroupMembers
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:
-
prepareAddUserGroupMember
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:
-
prepareRemoveUserGroupMember
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:
-
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:
-
prepareGetUserData
Prepare a simulated response to getUserData -
getUserData
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:
-
prepareGetUserData2
Prepare a simulated response to getUserData2 -
getUserData2
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:
-
prepareGetUserByEmail
Prepare a simulated response to getUserByEmail -
getUserByEmail
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:
-
prepareGetUserByName
Prepare a simulated response to getUserByName -
getUserByName
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:
-
prepareGetCurrentUserData
Prepare a simulated response to getCurrentUserData -
getCurrentUserData
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:
-
prepareSetUserData2
Prepare a simulated response to setUserData2 -
prepareSetUserData2
Prepare a simulated response to setUserData2 -
setUserData2
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:
-
prepareSetUserData
Prepare a simulated response to setUserData -
prepareSetUserData
Prepare a simulated response to setUserData -
setUserData
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:
-
prepareValidateEmails
Prepare a simulated response to validateEmails- See Also:
-
CollabNetSoap.validateEmails(com.collabnet.ce.soap60.webservices.cemain.UserSoapDO, java.lang.String)
-
prepareValidateEmails
Prepare a simulated response to validateEmails- See Also:
-
CollabNetSoap.validateEmails(com.collabnet.ce.soap60.webservices.cemain.UserSoapDO, java.lang.String)
-
validateEmails
Simulate a call to validateEmails- Throws:
RemoteException- See Also:
-
CollabNetSoap.validateEmails(com.collabnet.ce.soap60.webservices.cemain.UserSoapDO, java.lang.String)
-
prepareFindUsers
Prepare a simulated response to findUsers -
findUsers
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:
-
prepareGetUserList
Prepare a simulated response to getUserList -
getUserList
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:
-
prepareGetUserList2
Prepare a simulated response to getUserList2 -
getUserList2
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:
-
prepareGetProjectAccessLevel
Prepare a simulated response to getProjectAccessLevel -
getProjectAccessLevel
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:
-
prepareSetProjectAccessLevel
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:
-
prepareGetCommentList
Prepare a simulated response to getCommentList -
getCommentList
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:
-
prepareListAttachments
Prepare a simulated response to listAttachments -
listAttachments
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:
-
prepareDeleteAttachment
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:
-
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:
-
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:
-
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:
-
prepareVerifyCTFObjectPermissionForAssociation
public void prepareVerifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser) Prepare a simulated response to verifyCTFObjectPermissionForAssociation- See Also:
-
CollabNetSoap.verifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey, java.lang.String, java.lang.String)
-
prepareVerifyCTFObjectPermissionForAssociation
public void prepareVerifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser, Exception exception) Prepare a simulated response to verifyCTFObjectPermissionForAssociation- See Also:
-
CollabNetSoap.verifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey, java.lang.String, java.lang.String)
-
verifyCTFObjectPermissionForAssociation
public void verifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser) throws RemoteException Simulate a call to verifyCTFObjectPermissionForAssociation- Throws:
RemoteException- See Also:
-
CollabNetSoap.verifyCTFObjectPermissionForAssociation(com.vasoftware.sf.server.types.ObjectKey, java.lang.String, java.lang.String)
-
prepareVerifyPluggableObjectPermission
public void prepareVerifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser) Prepare a simulated response to verifyPluggableObjectPermission- See Also:
-
CollabNetSoap.verifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey, java.lang.String)
-
prepareVerifyPluggableObjectPermission
public void prepareVerifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser, Exception exception) Prepare a simulated response to verifyPluggableObjectPermission- See Also:
-
CollabNetSoap.verifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey, java.lang.String)
-
verifyPluggableObjectPermission
public void verifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser) throws RemoteException Simulate a call to verifyPluggableObjectPermission- Throws:
RemoteException- See Also:
-
CollabNetSoap.verifyPluggableObjectPermission(com.vasoftware.sf.server.types.GlobalPlugComponentKey, java.lang.String)
-
prepareVerifyDocumentReviewObjectPermission
public void prepareVerifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser) Prepare a simulated response to verifyDocumentReviewObjectPermission- See Also:
-
CollabNetSoap.verifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey, java.lang.String, java.lang.String)
-
prepareVerifyDocumentReviewObjectPermission
public void prepareVerifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser, Exception exception) Prepare a simulated response to verifyDocumentReviewObjectPermission- See Also:
-
CollabNetSoap.verifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey, java.lang.String, java.lang.String)
-
verifyDocumentReviewObjectPermission
public void verifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser) throws RemoteException Simulate a call to verifyDocumentReviewObjectPermission- Throws:
RemoteException- See Also:
-
CollabNetSoap.verifyDocumentReviewObjectPermission(com.vasoftware.sf.server.types.DocumentReviewKey, java.lang.String, java.lang.String)
-
prepareDeleteAssociation
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:
-
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:
-
prepareGetAssociationList
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:
-
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:
-
prepareGetVersionInformationList
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:
-
prepareReindexObject
Prepare a simulated response to reindexObject -
prepareReindexObject
Prepare a simulated response to reindexObject -
reindexObject
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:
-
prepareGetUserEffectiveMode
Prepare a simulated response to getUserEffectiveMode -
getUserEffectiveMode
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:
-
prepareIsHostedMode
Prepare a simulated response to isHostedMode -
isHostedMode
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:
-
prepareGetProjectDiskUsage
Prepare a simulated response to getProjectDiskUsage -
getProjectDiskUsage
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:
-
prepareGetProjectQuota
Prepare a simulated response to getProjectQuota -
getProjectQuota
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:
-
prepareSetProjectQuota
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
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:
-
prepareGetConfigurationValue
Prepare a simulated response to getConfigurationValue -
getConfigurationValue
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:
-
prepareGetProjectByPath
Prepare a simulated response to getProjectByPath -
getProjectByPath
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:
-
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:
-
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:
-
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:
-
prepareSetParentProject
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:
-
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:
-
prepareGetCurrentTime
Prepare a simulated response to getCurrentTime -
getCurrentTime
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:
-
prepareCanReceiveOwnUpdates
Prepare a simulated response to canReceiveOwnUpdates -
canReceiveOwnUpdates
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:
-
prepareGetPasswordRequirements
Prepare a simulated response to getPasswordRequirements- See Also:
-
CollabNetSoap.getPasswordRequirements(java.lang.String)
-
getPasswordRequirements
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:
-
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:
-
prepareListProjectGroups
Prepare a simulated response to listProjectGroups -
listProjectGroups
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:
-
prepareGetProjectGroupData
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:
-
prepareSetProjectGroupData
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
prepareGetSessionId
Prepare a simulated response to getSessionId -
getSessionId
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:
-
prepareGetSessionId
Prepare a simulated response to getSessionId -
getSessionId
Simulate a call to getSessionId- Throws:
RemoteException- See Also:
-
prepareGetJSessionId
Prepare a simulated response to getJSessionId -
getJSessionId
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:
-
prepareGetJSessionId
Prepare a simulated response to getJSessionId -
getJSessionId
Simulate a call to getJSessionId- Throws:
RemoteException- See Also:
-
prepareGetWebAndSoapSessionId
Prepare a simulated response to getWebAndSoapSessionId -
getWebAndSoapSessionId
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:
-
prepareGetBroadCastMessage
Prepare a simulated response to getBroadCastMessage -
getBroadCastMessage
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:
-
prepareGetJSessionBySoapId
Prepare a simulated response to getJSessionBySoapId -
getJSessionBySoapId
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:
-
prepareGetUserSessionBySoapId
Prepare a simulated response to getUserSessionBySoapId -
getUserSessionBySoapId
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:
-
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:
-
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:
-
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:
-
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- See Also:
-
CollabNetSoap.createLinkedApp(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, java.lang.String)
-
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- Throws:
RemoteException- See Also:
-
CollabNetSoap.createLinkedApp(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, java.lang.String)
-
prepareShouldEnableSSO
Prepare a simulated response to shouldEnableSSO- See Also:
-
CollabNetSoap.shouldEnableSSO(boolean, java.lang.String)
-
shouldEnableSSO
Simulate 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:
-
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:
-
prepareGetProjectIdForLinkedApp
public void prepareGetProjectIdForLinkedApp(String projectId, String loggedInUser, Object returnValue) Prepare a simulated response to getProjectIdForLinkedApp- See Also:
-
CollabNetSoap.getProjectIdForLinkedApp(java.lang.String, java.lang.String)
-
getProjectIdForLinkedApp
public String getProjectIdForLinkedApp(String projectId, String loggedInUser) throws RemoteException Simulate a call to getProjectIdForLinkedApp- Throws:
RemoteException- See Also:
-
CollabNetSoap.getProjectIdForLinkedApp(java.lang.String, java.lang.String)
-
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:
-
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:
-
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- See Also:
-
CollabNetSoap.updateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, 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, Exception exception) Prepare a simulated response to updateLinkedAppData- See Also:
-
CollabNetSoap.updateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, java.lang.String)
-
updateLinkedAppData
public void updateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser) throws RemoteException Simulate a call to updateLinkedAppData- Throws:
RemoteException- See Also:
-
CollabNetSoap.updateLinkedAppData(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, java.lang.String)
-
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- See Also:
-
CollabNetSoap.validateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO)
-
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- See Also:
-
CollabNetSoap.validateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO)
-
validateToolType
public void validateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO) throws RemoteException Simulate a call to validateToolType- Throws:
RemoteException- See Also:
-
CollabNetSoap.validateToolType(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO)
-
prepareUpdateIconRequired
public void prepareUpdateIconRequired(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey, Object returnValue) Prepare a simulated response to updateIconRequired- See Also:
-
CollabNetSoap.updateIconRequired(com.vasoftware.sf.server.types.StoredFileKey, java.lang.String)
-
updateIconRequired
public boolean updateIconRequired(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey) throws RemoteException Simulate a call to updateIconRequired- Throws:
RemoteException- See Also:
-
CollabNetSoap.updateIconRequired(com.vasoftware.sf.server.types.StoredFileKey, java.lang.String)
-
prepareGetIconFile
public void prepareGetIconFile(String iconKey, String iconFileName, String iconMimeType, String loggedInUser, Object returnValue) Prepare a simulated response to getIconFile- See Also:
-
CollabNetSoap.getIconFile(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
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- Throws:
RemoteException- See Also:
-
CollabNetSoap.getIconFile(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareDeleteLinkedApp
Prepare a simulated response to deleteLinkedApp -
prepareDeleteLinkedApp
Prepare a simulated response to deleteLinkedApp -
deleteLinkedApp
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:
-
prepareListSiteWideLinkedApps
Prepare a simulated response to listSiteWideLinkedApps -
listSiteWideLinkedApps
Simulate a call to listSiteWideLinkedApps- Specified by:
listSiteWideLinkedAppsin interfaceICollabNetSoap- Parameters:
sessionId- user session- Returns:
- LinkedApplicationSoapList
- Throws:
RemoteException- See Also:
-
prepareListProjectLinkedApps
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:
-
prepareListProjectLinkedApps2
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:
-
prepareListLinkedApps
Prepare a simulated response to listLinkedApps- See Also:
-
CollabNetSoap.listLinkedApps(java.lang.String, java.lang.String)
-
listLinkedApps
public LinkedApplicationSoapList listLinkedApps(String sessionId, String projectId) throws RemoteException Simulate a call to listLinkedApps- Throws:
RemoteException- See Also:
-
CollabNetSoap.listLinkedApps(java.lang.String, java.lang.String)
-
prepareListLinkedApps2
Prepare a simulated response to listLinkedApps2- See Also:
-
CollabNetSoap.listLinkedApps2(java.lang.String, java.lang.String)
-
listLinkedApps2
public LinkedApplication2SoapList listLinkedApps2(String sessionId, String projectId) throws RemoteException Simulate a call to listLinkedApps2- Throws:
RemoteException- See Also:
-
CollabNetSoap.listLinkedApps2(java.lang.String, java.lang.String)
-
prepareGetRbacOperation
public void prepareGetRbacOperation(CollabNetSoap.LinkedAppOperation operation, boolean isSiteWide, Object returnValue) Prepare a simulated response to getRbacOperation- See Also:
-
CollabNetSoap.getRbacOperation(com.collabnet.ce.soap60.webservices.cemain.CollabNetSoap.LinkedAppOperation, boolean)
-
getRbacOperation
public com.vasoftware.sf.common.access.rbac.Operation getRbacOperation(CollabNetSoap.LinkedAppOperation operation, boolean isSiteWide) throws RemoteException Simulate a call to getRbacOperation- Throws:
RemoteException- See Also:
-
CollabNetSoap.getRbacOperation(com.collabnet.ce.soap60.webservices.cemain.CollabNetSoap.LinkedAppOperation, boolean)
-
prepareVerifyLinkedAppPermission
public void prepareVerifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser) Prepare a simulated response to verifyLinkedAppPermission- See Also:
-
CollabNetSoap.verifyLinkedAppPermission(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.CollabNetSoap.LinkedAppOperation, java.lang.String)
-
prepareVerifyLinkedAppPermission
public void prepareVerifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser, Exception exception) Prepare a simulated response to verifyLinkedAppPermission- See Also:
-
CollabNetSoap.verifyLinkedAppPermission(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.CollabNetSoap.LinkedAppOperation, java.lang.String)
-
verifyLinkedAppPermission
public void verifyLinkedAppPermission(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser) throws RemoteException Simulate a call to verifyLinkedAppPermission- Throws:
RemoteException- See Also:
-
CollabNetSoap.verifyLinkedAppPermission(java.lang.String, com.collabnet.ce.soap60.webservices.cemain.CollabNetSoap.LinkedAppOperation, java.lang.String)
-
prepareValidateLinkedAppData
public void prepareValidateLinkedAppData(String title, String applicationUrl, String applicationType) Prepare a simulated response to validateLinkedAppData- See Also:
-
CollabNetSoap.validateLinkedAppData(java.lang.String, java.lang.String, java.lang.String)
-
prepareValidateLinkedAppData
public void prepareValidateLinkedAppData(String title, String applicationUrl, String applicationType, Exception exception) Prepare a simulated response to validateLinkedAppData- See Also:
-
CollabNetSoap.validateLinkedAppData(java.lang.String, java.lang.String, java.lang.String)
-
validateLinkedAppData
public void validateLinkedAppData(String title, String applicationUrl, String applicationType) throws RemoteException Simulate a call to validateLinkedAppData- Throws:
RemoteException- See Also:
-
CollabNetSoap.validateLinkedAppData(java.lang.String, java.lang.String, java.lang.String)
-
prepareIsSoapRedirectPostOnlyMode
Prepare a simulated response to isSoapRedirectPostOnlyMode -
isSoapRedirectPostOnlyMode
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:
-
prepareGetOneTimeToken
Prepare a simulated response to getOneTimeToken -
getOneTimeToken
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:
-
prepareSetPartialOrFullUserData
public void prepareSetPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser) Prepare a simulated response to setPartialOrFullUserData- See Also:
-
CollabNetSoap.setPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO, com.collabnet.ce.soap60.webservices.cemain.UserSoapDO, java.lang.String)
-
prepareSetPartialOrFullUserData
public void prepareSetPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser, Exception exception) Prepare a simulated response to setPartialOrFullUserData- See Also:
-
CollabNetSoap.setPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO, com.collabnet.ce.soap60.webservices.cemain.UserSoapDO, java.lang.String)
-
setPartialOrFullUserData
public void setPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser) throws RemoteException Simulate a call to setPartialOrFullUserData- Throws:
RemoteException- See Also:
-
CollabNetSoap.setPartialOrFullUserData(com.vasoftware.sf.server.services.user.UserDO, com.collabnet.ce.soap60.webservices.cemain.UserSoapDO, java.lang.String)
-
prepareSetPartialOrFullUserData2
public void prepareSetPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser) Prepare a simulated response to setPartialOrFullUserData2- See Also:
-
CollabNetSoap.setPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO, com.collabnet.ce.soap60.webservices.cemain.User2SoapDO, java.lang.String)
-
prepareSetPartialOrFullUserData2
public void prepareSetPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser, Exception exception) Prepare a simulated response to setPartialOrFullUserData2- See Also:
-
CollabNetSoap.setPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO, com.collabnet.ce.soap60.webservices.cemain.User2SoapDO, java.lang.String)
-
setPartialOrFullUserData2
public void setPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser) throws RemoteException Simulate a call to setPartialOrFullUserData2- Throws:
RemoteException- See Also:
-
CollabNetSoap.setPartialOrFullUserData2(com.vasoftware.sf.server.services.user.UserDO, com.collabnet.ce.soap60.webservices.cemain.User2SoapDO, java.lang.String)
-
prepareCanGiveFullUserDetails
public void prepareCanGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser, Object returnValue) Prepare a simulated response to canGiveFullUserDetails- See Also:
-
CollabNetSoap.canGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO, java.lang.String)
-
canGiveFullUserDetails
public boolean canGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser) throws RemoteException Simulate a call to canGiveFullUserDetails- Throws:
RemoteException- See Also:
-
CollabNetSoap.canGiveFullUserDetails(com.vasoftware.sf.server.services.user.UserDO, java.lang.String)
-
prepareCheckUserActiveStatus
Prepare a simulated response to checkUserActiveStatus- See Also:
-
CollabNetSoap.checkUserActiveStatus(java.lang.String, java.lang.String)
-
prepareCheckUserActiveStatus
Prepare a simulated response to checkUserActiveStatus- See Also:
-
CollabNetSoap.checkUserActiveStatus(java.lang.String, java.lang.String)
-
checkUserActiveStatus
Simulate a call to checkUserActiveStatus- Throws:
RemoteException- See Also:
-
CollabNetSoap.checkUserActiveStatus(java.lang.String, java.lang.String)
-