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_WILDCARD
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames) Simulate a call to addProjectGroupAdminsvoid
addProjectGroupMember
(String sessionId, String projectGroupId, String userName) Simulate a call to addProjectGroupMembervoid
addProjectMember
(String sessionId, String projectId, String userName) Simulate a call to addProjectMembervoid
addProjectsToProjectGroup
(String sessionId, String projectGroupId, String[] projectIds) Simulate a call to addProjectsToProjectGroupvoid
addUserGroupMember
(String sessionId, String userGroupId, String userName) Simulate a call to addUserGroupMemberboolean
canGiveFullUserDetails
(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser) Simulate a call to canGiveFullUserDetailsboolean
canReceiveOwnUpdates
(String sessionId) Simulate a call to canReceiveOwnUpdatesvoid
changeIAObjectTitle
(String sessionId, String pluggableObjectId, String pluggableObjectTitle) Simulate a call to changeIAObjectTitleboolean
changePassword
(String sessionId, String userName, String newPassword) Simulate a call to changePasswordvoid
checkPermissionsToChangePassword
(String userName, String loggedInUser) Simulate a call to checkPermissionsToChangePasswordvoid
checkUserActiveStatus
(String userName, String loggedInUser) Simulate a call to checkUserActiveStatusvoid
createAssociation
(String sessionId, String originId, String targetId, String description) Simulate a call to createAssociationvoid
createAssociationWithTitles
(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 createUserGroupvoid
deleteAssociation
(String sessionId, String originId, String targetId) Simulate a call to deleteAssociationvoid
deleteAttachment
(String sessionId, String objectId, String attachmentId) Simulate a call to deleteAttachmentvoid
deleteLinkedApp
(String sessionId, String linkedAppId) Simulate a call to deleteLinkedAppvoid
deleteProject
(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound) Simulate a call to deleteProjectvoid
deleteProjectGroup
(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound) Simulate a call to deleteProjectGroupvoid
deleteUserGroup
(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 getConfigurationValuelong
getCurrentTime
(String sessionId) Simulate a call to getCurrentTimegetCurrentUserData
(String sessionId) Simulate a call to getCurrentUserDatacom.vasoftware.sf.server.services.filestorage.StoredFileDO
getIconFile
(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 getPasswordRequirementsint
getProjectAccessLevel
(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 getProjectDatalong
getProjectDiskUsage
(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 getProjectMemberListlong
getProjectQuota
(String sessionId, String projectId) Simulate a call to getProjectQuotacom.vasoftware.sf.common.access.rbac.Operation
getRbacOperation
(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 getWebAndSoapSessionIdboolean
hasGeneralPermission
(String sessionId, String username, String projectId, String operationString, String objectId) Simulate a call to hasGeneralPermissionboolean
hasPermission
(String sessionId, String username, String projectId, String operationString, String objectId) Simulate a call to hasPermissionboolean
hasPermission2
(String sessionId, String projectId, String operationString, String objectId) Simulate a call to hasPermission2boolean
hasSitewideRolePermission
(String sessionId, String operationString) Simulate a call to hasSitewideRolePermissionboolean
isHostedMode
(String sessionId) Simulate a call to isHostedModeboolean
isSoapRedirectPostOnlyMode
(String sessionId) Simulate a call to isSoapRedirectPostOnlyModevoid
Simulate 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 loginWithTokenvoid
Simulate a call to logoffvoid
prepareAddProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames) Prepare a simulated response to addProjectGroupAdminsvoid
prepareAddProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames, Exception exception) Prepare a simulated response to addProjectGroupAdminsvoid
prepareAddProjectGroupMember
(String sessionId, String projectGroupId, String userName) Prepare a simulated response to addProjectGroupMembervoid
prepareAddProjectGroupMember
(String sessionId, String projectGroupId, String userName, Exception exception) Prepare a simulated response to addProjectGroupMembervoid
prepareAddProjectMember
(String sessionId, String projectId, String userName) Prepare a simulated response to addProjectMembervoid
prepareAddProjectMember
(String sessionId, String projectId, String userName, Exception exception) Prepare a simulated response to addProjectMembervoid
prepareAddProjectsToProjectGroup
(String sessionId, String projectGroupId, String[] projectIds) Prepare a simulated response to addProjectsToProjectGroupvoid
prepareAddProjectsToProjectGroup
(String sessionId, String projectGroupId, String[] projectIds, Exception exception) Prepare a simulated response to addProjectsToProjectGroupvoid
prepareAddUserGroupMember
(String sessionId, String userGroupId, String userName) Prepare a simulated response to addUserGroupMembervoid
prepareAddUserGroupMember
(String sessionId, String userGroupId, String userName, Exception exception) Prepare a simulated response to addUserGroupMembervoid
prepareCanGiveFullUserDetails
(com.vasoftware.sf.server.services.user.UserDO viewedUserDO, String loggedInUser, Object returnValue) Prepare a simulated response to canGiveFullUserDetailsvoid
prepareCanReceiveOwnUpdates
(String sessionId, Object returnValue) Prepare a simulated response to canReceiveOwnUpdatesvoid
prepareChangeIAObjectTitle
(String sessionId, String pluggableObjectId, String pluggableObjectTitle) Prepare a simulated response to changeIAObjectTitlevoid
prepareChangeIAObjectTitle
(String sessionId, String pluggableObjectId, String pluggableObjectTitle, Exception exception) Prepare a simulated response to changeIAObjectTitlevoid
prepareChangePassword
(String sessionId, String userName, String newPassword, Object returnValue) Prepare a simulated response to changePasswordvoid
prepareCheckPermissionsToChangePassword
(String userName, String loggedInUser) Prepare a simulated response to checkPermissionsToChangePasswordvoid
prepareCheckPermissionsToChangePassword
(String userName, String loggedInUser, Exception exception) Prepare a simulated response to checkPermissionsToChangePasswordvoid
prepareCheckUserActiveStatus
(String userName, String loggedInUser) Prepare a simulated response to checkUserActiveStatusvoid
prepareCheckUserActiveStatus
(String userName, String loggedInUser, Exception exception) Prepare a simulated response to checkUserActiveStatusvoid
prepareCreateAssociation
(String sessionId, String originId, String targetId, String description) Prepare a simulated response to createAssociationvoid
prepareCreateAssociation
(String sessionId, String originId, String targetId, String description, Exception exception) Prepare a simulated response to createAssociationvoid
prepareCreateAssociationWithTitles
(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description) Prepare a simulated response to createAssociationWithTitlesvoid
prepareCreateAssociationWithTitles
(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description, Exception exception) Prepare a simulated response to createAssociationWithTitlesvoid
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 createLinkedAppvoid
prepareCreateOrReplaceProjectTemplate
(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId, Object returnValue) Prepare a simulated response to createOrReplaceProjectTemplatevoid
prepareCreateProject
(String sessionId, String name, String title, String description, Object returnValue) Prepare a simulated response to createProjectvoid
prepareCreateProjectFromTemplate
(String sessionId, String templateId, String name, String title, String description, Object returnValue) Prepare a simulated response to createProjectFromTemplatevoid
prepareCreateProjectGroup
(String sessionId, String title, String description, Object returnValue) Prepare a simulated response to createProjectGroupvoid
prepareCreateProjectLinkedApp
(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, Object returnValue) Prepare a simulated response to createProjectLinkedAppvoid
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 createProjectLinkedApp2void
prepareCreateSiteWideLinkedApp
(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon, Object returnValue) Prepare a simulated response to createSiteWideLinkedAppvoid
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 createUservoid
prepareCreateUserGroup
(String sessionId, String fullName, String description, Object returnValue) Prepare a simulated response to createUserGroupvoid
prepareDeleteAssociation
(String sessionId, String originId, String targetId) Prepare a simulated response to deleteAssociationvoid
prepareDeleteAssociation
(String sessionId, String originId, String targetId, Exception exception) Prepare a simulated response to deleteAssociationvoid
prepareDeleteAttachment
(String sessionId, String objectId, String attachmentId) Prepare a simulated response to deleteAttachmentvoid
prepareDeleteAttachment
(String sessionId, String objectId, String attachmentId, Exception exception) Prepare a simulated response to deleteAttachmentvoid
prepareDeleteLinkedApp
(String sessionId, String linkedAppId) Prepare a simulated response to deleteLinkedAppvoid
prepareDeleteLinkedApp
(String sessionId, String linkedAppId, Exception exception) Prepare a simulated response to deleteLinkedAppvoid
prepareDeleteProject
(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound) Prepare a simulated response to deleteProjectvoid
prepareDeleteProject
(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound, Exception exception) Prepare a simulated response to deleteProjectvoid
prepareDeleteProjectGroup
(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound) Prepare a simulated response to deleteProjectGroupvoid
prepareDeleteProjectGroup
(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound, Exception exception) Prepare a simulated response to deleteProjectGroupvoid
prepareDeleteUserGroup
(String sessionId, String groupId) Prepare a simulated response to deleteUserGroupvoid
prepareDeleteUserGroup
(String sessionId, String groupId, Exception exception) Prepare a simulated response to deleteUserGroupvoid
prepareDoMandatoryPasswordChange
(String userName, String oldPassword, String newPassword, Object returnValue) Prepare a simulated response to doMandatoryPasswordChangevoid
prepareFindProjects
(String sessionId, String queryString, Object returnValue) Prepare a simulated response to findProjectsvoid
prepareFindUsers
(String sessionId, String queryString, Object returnValue) Prepare a simulated response to findUsersvoid
prepareGetApiVersion
(Object returnValue) Prepare a simulated response to getApiVersionvoid
prepareGetAssociationList
(String sessionId, String objectId, Object returnValue) Prepare a simulated response to getAssociationListvoid
prepareGetAuditHistoryList
(String sessionId, String objectId, boolean includeDerivedChanges, Object returnValue) Prepare a simulated response to getAuditHistoryListvoid
prepareGetBroadCastMessage
(String sessionId, Object returnValue) Prepare a simulated response to getBroadCastMessagevoid
prepareGetCommentList
(String sessionId, String objectId, Object returnValue) Prepare a simulated response to getCommentListvoid
prepareGetConfigurationValue
(String sessionId, String keyValue, Object returnValue) Prepare a simulated response to getConfigurationValuevoid
prepareGetCurrentTime
(String sessionId, Object returnValue) Prepare a simulated response to getCurrentTimevoid
prepareGetCurrentUserData
(String sessionId, Object returnValue) Prepare a simulated response to getCurrentUserDatavoid
prepareGetIconFile
(String iconKey, String iconFileName, String iconMimeType, String loggedInUser, Object returnValue) Prepare a simulated response to getIconFilevoid
prepareGetJSessionBySoapId
(String soapId, Object returnValue) Prepare a simulated response to getJSessionBySoapIdvoid
prepareGetJSessionId
(String oneTimeToken, boolean invalidateToken, Object returnValue) Prepare a simulated response to getJSessionIdvoid
prepareGetJSessionId
(String oneTimeToken, Object returnValue) Prepare a simulated response to getJSessionIdvoid
prepareGetLinkedApplicationData
(String sessionId, String linkedAppId, Object returnValue) Prepare a simulated response to getLinkedApplicationDatavoid
prepareGetLinkedApplicationData2
(String sessionId, String linkedAppId, Object returnValue) Prepare a simulated response to getLinkedApplicationData2void
prepareGetMemberProjectsForProjectGroup
(String sessionId, String projectGroupId, Object returnValue) Prepare a simulated response to getMemberProjectsForProjectGroupvoid
prepareGetOneTimeToken
(String sessionId, Object returnValue) Prepare a simulated response to getOneTimeTokenvoid
prepareGetPasswordRequirements
(String loggedInUser, Object returnValue) Prepare a simulated response to getPasswordRequirementsvoid
prepareGetProjectAccessLevel
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getProjectAccessLevelvoid
prepareGetProjectByPath
(String sessionId, String projectPath, Object returnValue) Prepare a simulated response to getProjectByPathvoid
prepareGetProjectData
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getProjectDatavoid
prepareGetProjectDiskUsage
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getProjectDiskUsagevoid
prepareGetProjectGroupData
(String sessionId, String projectGroupId, Object returnValue) Prepare a simulated response to getProjectGroupDatavoid
prepareGetProjectGroupMemberList
(String sessionId, String projectGroupId, Object returnValue) Prepare a simulated response to getProjectGroupMemberListvoid
prepareGetProjectGroupsForProject
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getProjectGroupsForProjectvoid
prepareGetProjectGroupsForProject1
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getProjectGroupsForProject1void
prepareGetProjectHierarchyPaths
(String sessionId, String[] projectIds, Object returnValue) Prepare a simulated response to getProjectHierarchyPathsvoid
prepareGetProjectIdForLinkedApp
(String projectId, String loggedInUser, Object returnValue) Prepare a simulated response to getProjectIdForLinkedAppvoid
prepareGetProjectList
(String sessionId, boolean fetchHierarchyPath, Object returnValue) Prepare a simulated response to getProjectListvoid
prepareGetProjectListForUser
(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership, Object returnValue) Prepare a simulated response to getProjectListForUservoid
prepareGetProjectMemberList
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getProjectMemberListvoid
prepareGetProjectQuota
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getProjectQuotavoid
prepareGetRbacOperation
(CollabNetSoap.LinkedAppOperation operation, boolean isSiteWide, Object returnValue) Prepare a simulated response to getRbacOperationvoid
prepareGetSessionId
(String oneTimeToken, boolean invalidateToken, Object returnValue) Prepare a simulated response to getSessionIdvoid
prepareGetSessionId
(String oneTimeToken, Object returnValue) Prepare a simulated response to getSessionIdvoid
prepareGetSubprojectList
(String sessionId, String projectId, boolean fetchHierarchyPath, Object returnValue) Prepare a simulated response to getSubprojectListvoid
prepareGetUserByEmail
(String sessionId, String email, Object returnValue) Prepare a simulated response to getUserByEmailvoid
prepareGetUserByName
(String sessionId, String fullname, Object returnValue) Prepare a simulated response to getUserByNamevoid
prepareGetUserData
(String sessionId, String username, Object returnValue) Prepare a simulated response to getUserDatavoid
prepareGetUserData2
(String sessionId, String username, Object returnValue) Prepare a simulated response to getUserData2void
prepareGetUserEffectiveMode
(String sessionId, Object returnValue) Prepare a simulated response to getUserEffectiveModevoid
prepareGetUserGroupData
(String sessionId, String groupId, Object returnValue) Prepare a simulated response to getUserGroupDatavoid
prepareGetUserGroupList
(String sessionId, Object returnValue) Prepare a simulated response to getUserGroupListvoid
prepareGetUserGroupListForProject
(String sessionId, String projectOrProjectGroupId, Object returnValue) Prepare a simulated response to getUserGroupListForProjectvoid
prepareGetUserGroupListForUser
(String sessionId, String username, Object returnValue) Prepare a simulated response to getUserGroupListForUservoid
prepareGetUserGroupMembers
(String sessionId, String groupId, Object returnValue) Prepare a simulated response to getUserGroupMembersvoid
prepareGetUserList
(String sessionId, SoapFilter soapFilter, Object returnValue) Prepare a simulated response to getUserListvoid
prepareGetUserList2
(String sessionId, SoapFilter soapFilter, Object returnValue) Prepare a simulated response to getUserList2void
prepareGetUserSessionBySoapId
(String soapId, Object returnValue) Prepare a simulated response to getUserSessionBySoapIdvoid
prepareGetVersion
(String sessionId, Object returnValue) Prepare a simulated response to getVersionvoid
prepareGetVersionInformationList
(String sessionId, String folderId, Object returnValue) Prepare a simulated response to getVersionInformationListvoid
prepareGetWebAndSoapSessionId
(String oneTimeToken, Object returnValue) Prepare a simulated response to getWebAndSoapSessionIdvoid
prepareHasGeneralPermission
(String sessionId, String username, String projectId, String operationString, String objectId, Object returnValue) Prepare a simulated response to hasGeneralPermissionvoid
prepareHasPermission
(String sessionId, String username, String projectId, String operationString, String objectId, Object returnValue) Prepare a simulated response to hasPermissionvoid
prepareHasPermission2
(String sessionId, String projectId, String operationString, String objectId, Object returnValue) Prepare a simulated response to hasPermission2void
prepareHasSitewideRolePermission
(String sessionId, String operationString, Object returnValue) Prepare a simulated response to hasSitewideRolePermissionvoid
prepareIsHostedMode
(String sessionId, Object returnValue) Prepare a simulated response to isHostedModevoid
prepareIsSoapRedirectPostOnlyMode
(String sessionId, Object returnValue) Prepare a simulated response to isSoapRedirectPostOnlyModevoid
prepareKeepAlive
(String sessionId) Prepare a simulated response to keepAlivevoid
prepareKeepAlive
(String sessionId, Exception exception) Prepare a simulated response to keepAlivevoid
prepareListAttachments
(String sessionId, String objectId, Object returnValue) Prepare a simulated response to listAttachmentsvoid
prepareListGroupsWithGeneralPermission
(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited, Object returnValue) Prepare a simulated response to listGroupsWithGeneralPermissionvoid
prepareListLinkedApps
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listLinkedAppsvoid
prepareListLinkedApps2
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listLinkedApps2void
prepareListProjectAdmins
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listProjectAdminsvoid
prepareListProjectGroups
(String sessionId, Object returnValue) Prepare a simulated response to listProjectGroupsvoid
prepareListProjectLinkedApps
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listProjectLinkedAppsvoid
prepareListProjectLinkedApps2
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to listProjectLinkedApps2void
prepareListSiteWideLinkedApps
(String sessionId, Object returnValue) Prepare a simulated response to listSiteWideLinkedAppsvoid
prepareListTemplates
(String sessionId, Object returnValue) Prepare a simulated response to listTemplatesvoid
prepareListUsersWithGeneralPermission
(String sessionId, String projectId, String operationString, String folderId, Object returnValue) Prepare a simulated response to listUsersWithGeneralPermissionvoid
prepareListUsersWithPermissionOnObject
(String sessionId, String operationString, String objectId, int flag, Object returnValue) Prepare a simulated response to listUsersWithPermissionOnObjectvoid
prepareLockProject
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to lockProjectvoid
prepareLogin
(String userName, String password, boolean ignorePasswordExpiry, Object returnValue) Prepare a simulated response to loginvoid
prepareLogin
(String userName, String password, Object returnValue) Prepare a simulated response to loginvoid
prepareLoginAnonymous
(String anonSharedSecret, Object returnValue) Prepare a simulated response to loginAnonymousvoid
prepareLoginWithToken
(String username, String oneTimeToken, Object returnValue) Prepare a simulated response to loginWithTokenvoid
prepareLogoff
(String userName, String sessionId) Prepare a simulated response to logoffvoid
prepareLogoff
(String userName, String sessionId, Exception exception) Prepare a simulated response to logoffvoid
prepareReindexObject
(String sessionId, String objectId) Prepare a simulated response to reindexObjectvoid
prepareReindexObject
(String sessionId, String objectId, Exception exception) Prepare a simulated response to reindexObjectvoid
prepareRemoveProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames) Prepare a simulated response to removeProjectGroupAdminsvoid
prepareRemoveProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames, Exception exception) Prepare a simulated response to removeProjectGroupAdminsvoid
prepareRemoveProjectGroupMember
(String sessionId, String projectGroupId, String userName) Prepare a simulated response to removeProjectGroupMembervoid
prepareRemoveProjectGroupMember
(String sessionId, String projectGroupId, String userName, Exception exception) Prepare a simulated response to removeProjectGroupMembervoid
prepareRemoveProjectMember
(String sessionId, String projectId, String userName) Prepare a simulated response to removeProjectMembervoid
prepareRemoveProjectMember
(String sessionId, String projectId, String userName, Exception exception) Prepare a simulated response to removeProjectMembervoid
prepareRemoveProjectsFromProjectGroup
(String sessionId, String[] projectMemberIds, String projectGroupId) Prepare a simulated response to removeProjectsFromProjectGroupvoid
prepareRemoveProjectsFromProjectGroup
(String sessionId, String[] projectMemberIds, String projectGroupId, Exception exception) Prepare a simulated response to removeProjectsFromProjectGroupvoid
prepareRemoveUserGroupMember
(String sessionId, String userGroupId, String userName) Prepare a simulated response to removeUserGroupMembervoid
prepareRemoveUserGroupMember
(String sessionId, String userGroupId, String userName, Exception exception) Prepare a simulated response to removeUserGroupMembervoid
prepareSetLinkedApplicationData
(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType) Prepare a simulated response to setLinkedApplicationDatavoid
prepareSetLinkedApplicationData
(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType, Exception exception) Prepare a simulated response to setLinkedApplicationDatavoid
prepareSetLinkedApplicationData2
(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType) Prepare a simulated response to setLinkedApplicationData2void
prepareSetLinkedApplicationData2
(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType, Exception exception) Prepare a simulated response to setLinkedApplicationData2void
prepareSetParentProject
(String sessionId, String projectId, String parentProjectId) Prepare a simulated response to setParentProjectvoid
prepareSetParentProject
(String sessionId, String projectId, String parentProjectId, Exception exception) Prepare a simulated response to setParentProjectvoid
prepareSetPartialOrFullUserData
(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser) Prepare a simulated response to setPartialOrFullUserDatavoid
prepareSetPartialOrFullUserData
(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser, Exception exception) Prepare a simulated response to setPartialOrFullUserDatavoid
prepareSetPartialOrFullUserData2
(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser) Prepare a simulated response to setPartialOrFullUserData2void
prepareSetPartialOrFullUserData2
(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser, Exception exception) Prepare a simulated response to setPartialOrFullUserData2void
prepareSetProjectAccessLevel
(String sessionId, String projectId, int accessLevel) Prepare a simulated response to setProjectAccessLevelvoid
prepareSetProjectAccessLevel
(String sessionId, String projectId, int accessLevel, Exception exception) Prepare a simulated response to setProjectAccessLevelvoid
prepareSetProjectGroupData
(String sessionId, ProjectGroupSoapDO projectGroupData) Prepare a simulated response to setProjectGroupDatavoid
prepareSetProjectGroupData
(String sessionId, ProjectGroupSoapDO projectGroupData, Exception exception) Prepare a simulated response to setProjectGroupDatavoid
prepareSetProjectQuota
(String sessionId, String projectId, long quota) Prepare a simulated response to setProjectQuotavoid
prepareSetProjectQuota
(String sessionId, String projectId, long quota, Exception exception) Prepare a simulated response to setProjectQuotavoid
prepareSetUserData
(String sessionId, UserSoapDO userData) Prepare a simulated response to setUserDatavoid
prepareSetUserData
(String sessionId, UserSoapDO userData, Exception exception) Prepare a simulated response to setUserDatavoid
prepareSetUserData2
(String sessionId, User2SoapDO userData) Prepare a simulated response to setUserData2void
prepareSetUserData2
(String sessionId, User2SoapDO userData, Exception exception) Prepare a simulated response to setUserData2void
prepareSetUserGroupData
(String sessionId, UserGroupSoapDO groupData) Prepare a simulated response to setUserGroupDatavoid
prepareSetUserGroupData
(String sessionId, UserGroupSoapDO groupData, Exception exception) Prepare a simulated response to setUserGroupDatavoid
prepareShouldEnableSSO
(boolean singleSignon, String loggedInUser, Object returnValue) Prepare a simulated response to shouldEnableSSOvoid
prepareUnLockProject
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to unLockProjectvoid
prepareUpdateIconRequired
(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey, Object returnValue) Prepare a simulated response to updateIconRequiredvoid
prepareUpdateLinkedAppData
(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser) Prepare a simulated response to updateLinkedAppDatavoid
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 updateLinkedAppDatavoid
prepareValidateEmails
(UserSoapDO userData, String loggedInUser) Prepare a simulated response to validateEmailsvoid
prepareValidateEmails
(UserSoapDO userData, String loggedInUser, Exception exception) Prepare a simulated response to validateEmailsvoid
prepareValidateLinkedAppData
(String title, String applicationUrl, String applicationType) Prepare a simulated response to validateLinkedAppDatavoid
prepareValidateLinkedAppData
(String title, String applicationUrl, String applicationType, Exception exception) Prepare a simulated response to validateLinkedAppDatavoid
prepareValidateToolType
(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO) Prepare a simulated response to validateToolTypevoid
prepareValidateToolType
(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO, Exception exception) Prepare a simulated response to validateToolTypevoid
prepareVerifyCTFObjectPermissionForAssociation
(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser) Prepare a simulated response to verifyCTFObjectPermissionForAssociationvoid
prepareVerifyCTFObjectPermissionForAssociation
(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser, Exception exception) Prepare a simulated response to verifyCTFObjectPermissionForAssociationvoid
prepareVerifyDocumentReviewObjectPermission
(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser) Prepare a simulated response to verifyDocumentReviewObjectPermissionvoid
prepareVerifyDocumentReviewObjectPermission
(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser, Exception exception) Prepare a simulated response to verifyDocumentReviewObjectPermissionvoid
prepareVerifyLinkedAppPermission
(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser) Prepare a simulated response to verifyLinkedAppPermissionvoid
prepareVerifyLinkedAppPermission
(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser, Exception exception) Prepare a simulated response to verifyLinkedAppPermissionvoid
prepareVerifyPluggableObjectPermission
(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser) Prepare a simulated response to verifyPluggableObjectPermissionvoid
prepareVerifyPluggableObjectPermission
(com.vasoftware.sf.server.types.GlobalPlugComponentKey plugObjectKey, String loggedInUser, Exception exception) Prepare a simulated response to verifyPluggableObjectPermissionvoid
reindexObject
(String sessionId, String objectId) Simulate a call to reindexObjectvoid
removeProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames) Simulate a call to removeProjectGroupAdminsvoid
removeProjectGroupMember
(String sessionId, String projectGroupId, String userName) Simulate a call to removeProjectGroupMembervoid
removeProjectMember
(String sessionId, String projectId, String userName) Simulate a call to removeProjectMembervoid
removeProjectsFromProjectGroup
(String sessionId, String[] projectMemberIds, String projectGroupId) Simulate a call to removeProjectsFromProjectGroupvoid
removeUserGroupMember
(String sessionId, String userGroupId, String userName) Simulate a call to removeUserGroupMembervoid
setLinkedApplicationData
(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType) Simulate a call to setLinkedApplicationDatavoid
setLinkedApplicationData2
(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType) Simulate a call to setLinkedApplicationData2void
setParentProject
(String sessionId, String projectId, String parentProjectId) Simulate a call to setParentProjectvoid
setPartialOrFullUserData
(com.vasoftware.sf.server.services.user.UserDO userData, UserSoapDO userSoapDO, String loggedInUser) Simulate a call to setPartialOrFullUserDatavoid
setPartialOrFullUserData2
(com.vasoftware.sf.server.services.user.UserDO userData, User2SoapDO userSoapDO, String loggedInUser) Simulate a call to setPartialOrFullUserData2void
setProjectAccessLevel
(String sessionId, String projectId, int accessLevel) Simulate a call to setProjectAccessLevelvoid
setProjectGroupData
(String sessionId, ProjectGroupSoapDO projectGroupData) Simulate a call to setProjectGroupDatavoid
setProjectQuota
(String sessionId, String projectId, long quota) Simulate a call to setProjectQuotavoid
setUserData
(String sessionId, UserSoapDO userData) Simulate a call to setUserDatavoid
setUserData2
(String sessionId, User2SoapDO userData) Simulate a call to setUserData2void
setUserGroupData
(String sessionId, UserGroupSoapDO groupData) Simulate a call to setUserGroupDataboolean
shouldEnableSSO
(boolean singleSignon, String loggedInUser) Simulate a call to shouldEnableSSOunLockProject
(String sessionId, String projectId) Simulate a call to unLockProjectboolean
updateIconRequired
(com.vasoftware.sf.server.types.StoredFileKey currentIconKey, String iconKey) Simulate a call to updateIconRequiredvoid
updateLinkedAppData
(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentData, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newData, String loggedInUser) Simulate a call to updateLinkedAppDatavoid
validateEmails
(UserSoapDO userData, String loggedInUser) Simulate a call to validateEmailsvoid
validateLinkedAppData
(String title, String applicationUrl, String applicationType) Simulate a call to validateLinkedAppDatavoid
validateToolType
(com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO currentDO, com.vasoftware.sf.server.services.linkedapplication.LinkedApplicationDO newDO) Simulate a call to validateToolTypevoid
verifyCTFObjectPermissionForAssociation
(com.vasoftware.sf.server.types.ObjectKey objectKey, String permissionName, String loggedInUser) Simulate a call to verifyCTFObjectPermissionForAssociationvoid
verifyDocumentReviewObjectPermission
(com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser) Simulate a call to verifyDocumentReviewObjectPermissionvoid
verifyLinkedAppPermission
(String projectId, CollabNetSoap.LinkedAppOperation linkedAppOperation, String loggedInUser) Simulate a call to verifyLinkedAppPermissionvoid
verifyPluggableObjectPermission
(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, simulateCall
Methods 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:
getVersion
in 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:
getApiVersion
in 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:
keepAlive
in 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:
loginAnonymous
in 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:
login
in 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:
loginWithToken
in 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:
logoff
in 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:
doMandatoryPasswordChange
in 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:
changePassword
in 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:
listGroupsWithGeneralPermission
in 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:
hasPermission
in 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:
hasPermission2
in 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:
getProjectList
in 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:
getProjectListForUser
in 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:
getSubprojectList
in 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:
createProject
in 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:
createOrReplaceProjectTemplate
in 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:
createProjectFromTemplate
in 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:
listTemplates
in 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:
findProjects
in 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:
lockProject
in 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:
unLockProject
in 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:
getProjectData
in 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:
getProjectMemberList
in 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:
listProjectAdmins
in 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:
getUserGroupListForProject
in 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:
addProjectMember
in 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:
addProjectGroupMember
in 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:
removeProjectMember
in 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:
createUserGroup
in 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:
getUserGroupData
in 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:
setUserGroupData
in 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:
deleteUserGroup
in 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:
getUserGroupList
in 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:
getUserGroupListForUser
in 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:
getUserGroupMembers
in 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:
addUserGroupMember
in 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:
removeUserGroupMember
in 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:
createUser
in 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:
getUserData
in 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:
getUserData2
in 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:
getUserByEmail
in 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:
getUserByName
in 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:
getCurrentUserData
in 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:
setUserData2
in 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:
setUserData
in 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:
findUsers
in 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:
getUserList
in 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:
getUserList2
in 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:
getProjectAccessLevel
in 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:
setProjectAccessLevel
in 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:
getCommentList
in 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:
listAttachments
in 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:
deleteAttachment
in 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:
createAssociation
in 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:
createAssociationWithTitles
in 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:
changeIAObjectTitle
in 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:
deleteAssociation
in 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:
deleteProject
in 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:
getAssociationList
in 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:
getAuditHistoryList
in 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:
getVersionInformationList
in 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:
reindexObject
in 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:
getUserEffectiveMode
in 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:
isHostedMode
in 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:
getProjectDiskUsage
in 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:
getProjectQuota
in 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:
setProjectQuota
in 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:
getConfigurationValue
in 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:
getProjectByPath
in 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:
listUsersWithGeneralPermission
in 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:
hasGeneralPermission
in 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:
hasSitewideRolePermission
in 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:
setParentProject
in 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:
getProjectHierarchyPaths
in 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:
getCurrentTime
in 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:
canReceiveOwnUpdates
in 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:
createProjectGroup
in 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:
addProjectsToProjectGroup
in 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:
listProjectGroups
in 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.PermissionDeniedFault
RemoteException
- 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:
getProjectGroupData
in 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:
setProjectGroupData
in 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:
addProjectGroupAdmins
in 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:
removeProjectGroupAdmins
in 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:
getMemberProjectsForProjectGroup
in 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:
removeProjectsFromProjectGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectMemberIds
- project members in project groupprojectGroupId
- project group id- Throws:
InvalidSessionFault
SystemFault
- 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:
removeProjectGroupMember
in 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:
getProjectGroupMemberList
in 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:
getProjectGroupsForProject
in 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:
getProjectGroupsForProject1
in 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:
deleteProjectGroup
in 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:
listUsersWithPermissionOnObject
in 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:
getSessionId
in 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:
getJSessionId
in 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:
getWebAndSoapSessionId
in 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:
getBroadCastMessage
in 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:
getJSessionBySoapId
in 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:
getUserSessionBySoapId
in 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:
createSiteWideLinkedApp
in interfaceICollabNetSoap
title
- 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:
createProjectLinkedApp
in 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:
createProjectLinkedApp2
in 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:
getLinkedApplicationData
in 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:
getLinkedApplicationData2
in 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:
setLinkedApplicationData
in 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:
setLinkedApplicationData2
in 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:
deleteLinkedApp
in interfaceICollabNetSoap
- Parameters:
sessionId
- the session idlinkedAppId
- - LinkedApplication Id which is requested to be deleted- Throws:
InvalidSessionFault
NoSuchObjectFault
IllegalArgumentFault
PermissionDeniedFault
SystemFault
RemoteException
- See Also:
-
prepareListSiteWideLinkedApps
Prepare a simulated response to listSiteWideLinkedApps -
listSiteWideLinkedApps
Simulate a call to listSiteWideLinkedApps- Specified by:
listSiteWideLinkedApps
in 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:
listProjectLinkedApps
in 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:
listProjectLinkedApps2
in 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:
isSoapRedirectPostOnlyMode
in 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:
getOneTimeToken
in 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)
-