Class CollabNetSoapStub
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.ClientSoapStub
-
- com.collabnet.ce.soap60.webservices.cemain.CollabNetSoapStub
-
- All Implemented Interfaces:
ICollabNetSoap
public class CollabNetSoapStub extends ClientSoapStub implements ICollabNetSoap
-
-
Field Summary
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
-
Constructor Summary
Constructors Constructor Description CollabNetSoapStub(String soapServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)Makes the users given in the usernames parameter as administrators of the Project GroupvoidaddProjectGroupMember(String sessionId, String projectGroupId, String userName)Makes a user a member of a project group.voidaddProjectMember(String sessionId, String projectId, String userName)Makes a user a member of a project.voidaddProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds)Adds the given projects to a project group.voidaddUserGroupMember(String sessionId, String userGroupId, String userName)Adds a user to a user group.booleancanReceiveOwnUpdates(String sessionId)Returns whether the current user receives notifications for the user's own updates.voidchangeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle)Updates the title for Pluggable objects only.booleanchangePassword(String sessionId, String userName, String newPassword)Allows the user to change the passwordvoidcreateAssociation(String sessionId, String originId, String targetId, String description)Creates an association between two objects.voidcreateAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description)Creates an association between two objects with specified title.ProjectSoapDOcreateOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId)Creates or replaces a template from an existing projectProjectSoapDOcreateProject(String sessionId, String name, String title, String description)Creates a project.ProjectSoapDOcreateProjectFromTemplate(String sessionId, String templateId, String name, String title, String description)Creates a project from template.ProjectGroupSoapDOcreateProjectGroup(String sessionId, String title, String description)Creates a Project Group.StringcreateProjectLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon)Creates linked application in a given project and return the created application IdStringcreateProjectLinkedApp2(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String toolId)Creates linked application in a given project and return the created application IdStringcreateSiteWideLinkedApp(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon)Create a site-wide linked application and return the created application IdUserSoapDOcreateUser(String sessionId, String userName, String email, String fullName, String organization, String locale, String timeZone, String licenseType, boolean isSuperUser, boolean isRestrictedUser, String password)Creates a new user with the specified parameters.UserGroupSoapDOcreateUserGroup(String sessionId, String fullName, String description)Creates a new user group with the specified parameters.voiddeleteAssociation(String sessionId, String originId, String targetId)Deletes an association between two objectsvoiddeleteAttachment(String sessionId, String objectId, String attachmentId)Deletes the specified attachment of the specified object.voiddeleteLinkedApp(String sessionId, String linkedAppId)Delete the linked application.voiddeleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound)Deletes a project.voiddeleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound)Deletes a project group.voiddeleteUserGroup(String sessionId, String groupId)Deletes a user group.StringdoMandatoryPasswordChange(String userName, String oldPassword, String newPassword)Allows user to change the password if and only if the password was set by an administrator.ProjectSoapListfindProjects(String sessionId, String queryString)Finds a list of projects matching a search string.UserSoapListfindUsers(String sessionId, String queryString)Finds a list of users matching a search string.StringgetApiVersion()Gets TeamForge API version.AssociationSoapListgetAssociationList(String sessionId, String objectId)Lists all of the associations for a given object.AuditHistorySoapListgetAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges)Returns the list of changes made to the specified object in reverse chronological order.StringgetBroadCastMessage(String sessionId)Gets broadcast messageCommentSoapListgetCommentList(String sessionId, String objectId)Gets list of comments for object.StringgetConfigurationValue(String sessionId, String keyValue)Gets Configuration value for the passed key.longgetCurrentTime(String sessionId)Returns the current server time in milliseconds.UserSoapDOgetCurrentUserData(String sessionId)Gets the user details for a given user session id.StringgetJSessionBySoapId(String soapId)Gets the JsessionID using soap Id.StringgetJSessionId(String oneTimeToken)Returns current user Jsession Id using one time token idLinkedApplicationSoapDOgetLinkedApplicationData(String sessionId, String linkedAppId)Gets Linked Application Data by Linked Application IdLinkedApplication2SoapDOgetLinkedApplicationData2(String sessionId, String linkedAppId)Gets Linked Application Data by Linked Application IdProjectSoapListgetMemberProjectsForProjectGroup(String sessionId, String projectGroupId)Gets the Project List for project group.StringgetOneTimeToken(String sessionId)Gives one time token for active sessionId.intgetProjectAccessLevel(String sessionId, String projectId)Gets the project's access level.ProjectSoapDOgetProjectByPath(String sessionId, String projectPath)Gets the project data for a given project path.ProjectSoapDOgetProjectData(String sessionId, String projectId)Gets a project object which includes the parent project ID, project hierarchy path and locked status flag.longgetProjectDiskUsage(String sessionId, String projectId)Gets the filestorage disk utilization of a project specified by a project idProjectGroupSoapDOgetProjectGroupData(String sessionId, String projectGroupId)Gets the Project Group Data by project group id.ProjectGroupMemberSoapListgetProjectGroupMemberList(String sessionId, String projectGroupId)Returns project group membership list.ProjectGroupSoapListgetProjectGroupsForProject(String sessionId, String projectId)Gets ProjectGroupList by projectProjectGroupSoapListgetProjectGroupsForProject1(String sessionId, String projectId)Gets ProjectGroupList by project and user should have view permissionSoapNamedValuesgetProjectHierarchyPaths(String sessionId, String[] projectIds)Returns the hierarchy path of the given projects.ProjectSoapListgetProjectList(String sessionId, boolean fetchHierarchyPath)Returns a list of all projects visible to the user.ProjectSoapListgetProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership)Returns a list of projectsProjectMemberSoapListgetProjectMemberList(String sessionId, String projectId)Returns project membership list.longgetProjectQuota(String sessionId, String projectId)Gets the disk quota for a project.StringgetSessionId(String oneTimeToken)Returns current user session Id using one time token idProjectSoapListgetSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath)Returns a list of the immediate sub projects of a project.UserSoapDOgetUserByEmail(String sessionId, String email)Returns the user information for the given email address.UserSoapDOgetUserByName(String sessionId, String fullname)Returns the user information for the given full name.UserSoapDOgetUserData(String sessionId, String username)Gets the user details for the given username.User2SoapDOgetUserData2(String sessionId, String username)Gets the user details for the given username.StringgetUserEffectiveMode(String sessionId)Gets effective mode (ALM or SCM) for the current userUserGroupSoapDOgetUserGroupData(String sessionId, String groupId)Returns the user group information.UserGroupSoapListgetUserGroupList(String sessionId)Gets a list of all user groups on the system.UserGroupSoapListgetUserGroupListForProject(String sessionId, String projectOrProjectGroupId)Returns a list of user groups that have a role in the project.UserGroupSoapListgetUserGroupListForUser(String sessionId, String username)Gets a list of all user groups the user belongs.UserSoapListgetUserGroupMembers(String sessionId, String groupId)Gets a list of active users who are members of a user groupUserSoapListgetUserList(String sessionId, SoapFilter soapFilter)Gets a list of all users on the system.User2SoapListgetUserList2(String sessionId, SoapFilter soapFilter)Gets a list of all users on the system.StringgetUserSessionBySoapId(String soapId)gets the access token using soap Id.StringgetVersion(String sessionId)Gets TeamForge version.VersionInformationSoapListgetVersionInformationList(String sessionId, String folderId)Obtains a list of versions and last modified dates for the objects residing in the specified folder.StringgetWebAndSoapSessionId(String oneTimeToken)Gets the web and soap session id's separated by &booleanhasGeneralPermission(String sessionId, String username, String projectId, String operationString, String objectId)Checks if the user has general permission for the resource (specified by objectid).booleanhasPermission(String sessionId, String username, String projectId, String operationString, String objectId)Checks whether the given user has permission for an operation on a specified objectbooleanhasPermission2(String sessionId, String projectId, String operationString, String objectId)Checks whether the current user has permission for an operation on a specified objectbooleanhasSitewideRolePermission(String sessionId, String operationString)Checks if the current user has the given site wide permission to perform the operation.booleanisHostedMode(String sessionId)Verifies if the TeamForge appserver is running in Hosted Mode.booleanisSoapRedirectPostOnlyMode(String sessionId)Verifies if TeamForge is running in SoapRedirect Post-Only mode.voidkeepAlive(String sessionId)This operation is no longer supported.AttachmentSoapListlistAttachments(String sessionId, String objectId)Lists the attachments associated with the object, the attachment itself is not part of the returned object.UserGroupSoapListlistGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited)Returns a list of user groups which have some permission to perform the given operation in the given folder (Doesn't check default access permission nor site admins)UserSoapListlistProjectAdmins(String sessionId, String projectId)Returns project administrators list.ProjectGroupSoapListlistProjectGroups(String sessionId)Returns a list of all projects groups.LinkedApplicationSoapListlistProjectLinkedApps(String sessionId, String projectId)Lists project-level linked applications for a given project.LinkedApplication2SoapListlistProjectLinkedApps2(String sessionId, String projectId)Lists project-level linked applications for a given project.LinkedApplicationSoapListlistSiteWideLinkedApps(String sessionId)Lists site-wide linked applications.ProjectSoapListlistTemplates(String sessionId)Lists project templates within the installation.UserSoapListlistUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId)Returns a list of users who have some permission to perform the given operationUserSoapListlistUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag)Returns the list of users who have the given permission on the given object.ProjectSoapDOlockProject(String sessionId, String projectId)Locks project.Stringlogin(String userName, String password)Logs in a user and creates a new session.StringloginAnonymous(String anonSharedSecret)This method allows to login as anonymous to get TF default access.StringloginWithToken(String username, String oneTimeToken)Logs in a user and creates a new session.voidlogoff(String userName, String sessionId)Ends a user's session, but the token can still be used until it expires.voidreindexObject(String sessionId, String objectId)Re-indexes the contents of the specified project, folder, item or user.voidremoveProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames)Removes the users given in the usernames parameter from the administrator role of the Project GroupvoidremoveProjectGroupMember(String sessionId, String projectGroupId, String userName)Removes a user from a project group.voidremoveProjectMember(String sessionId, String projectId, String userName)Removes a user from a project.voidremoveProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId)Removes projects from project groupvoidremoveUserGroupMember(String sessionId, String userGroupId, String userName)Removes a user from a user group.voidsetLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType)Sets the linked application.voidsetLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType)Sets the linked application.voidsetParentProject(String sessionId, String projectId, String parentProjectId)Sets the parent of a project.voidsetProjectAccessLevel(String sessionId, String projectId, int accessLevel)Sets the project access level.voidsetProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData)Sets the project group's data with the data represented in the projectGroupData parameter.voidsetProjectQuota(String sessionId, String projectId, long quota)Sets the disk quota for a project.voidsetUserData(String sessionId, UserSoapDO userData)Sets the user information.voidsetUserData2(String sessionId, User2SoapDO userData)Sets the user information.voidsetUserGroupData(String sessionId, UserGroupSoapDO groupData)Sets the user group information.ProjectSoapDOunLockProject(String sessionId, String projectId)Un-Locks project.-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
-
-
-
Constructor Detail
-
CollabNetSoapStub
public CollabNetSoapStub(String soapServerUrl)
-
-
Method Detail
-
getVersion
public String getVersion(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapGets TeamForge version.- Specified by:
getVersionin interfaceICollabNetSoap- Parameters:
sessionId- the session id.- Returns:
- Version as string.
- Throws:
InvalidSessionFault- when the specified session id is invalid.RemoteException
-
getApiVersion
public String getApiVersion() throws RemoteException
Description copied from interface:ICollabNetSoapGets TeamForge API version.- Specified by:
getApiVersionin interfaceICollabNetSoap- Returns:
- API version as string.
- Throws:
RemoteException
-
keepAlive
public void keepAlive(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapThis operation is no longer supported. If token is timed out, acquire new access token by logging in again.- Specified by:
keepAlivein interfaceICollabNetSoap- Parameters:
sessionId- the session id.- Throws:
InvalidSessionFault- when the specified session id is invalid.RemoteException
-
loginAnonymous
public String loginAnonymous(String anonSharedSecret) throws RemoteException
Description copied from interface:ICollabNetSoapThis method allows to login as anonymous to get TF default access.- Specified by:
loginAnonymousin interfaceICollabNetSoap- Parameters:
anonSharedSecret- Shared secret for anonymous login.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException
-
login
public String login(String userName, String password) throws RemoteException
Description copied from interface:ICollabNetSoapLogs in a user and creates a new session.- Specified by:
loginin interfaceICollabNetSoap- Parameters:
userName- Name of the user.password- User password.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException
-
loginWithToken
public String loginWithToken(String username, String oneTimeToken) throws RemoteException
Description copied from interface:ICollabNetSoapLogs in a user and creates a new session.- Specified by:
loginWithTokenin interfaceICollabNetSoap- Parameters:
username- Name of the user.oneTimeToken- a one time token for login.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException
-
logoff
public void logoff(String userName, String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapEnds a user's session, but the token can still be used until it expires.- Specified by:
logoffin interfaceICollabNetSoap- Parameters:
userName- User's name.sessionId- Session id.- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
doMandatoryPasswordChange
public String doMandatoryPasswordChange(String userName, String oldPassword, String newPassword) throws RemoteException
Description copied from interface:ICollabNetSoapAllows user to change the password if and only if the password was set by an administrator.- Specified by:
doMandatoryPasswordChangein interfaceICollabNetSoap- Parameters:
userName- login nameoldPassword- current passwordnewPassword- new password- Returns:
- User session key.
- Throws:
LoginFault- when the login information is incorrect.InvalidOperationFault- if the user has already changed the passwordSystemFault- when an unexpected system error occurs.InvalidSessionFault- If there is a session fault.InvalidPasswordFault- If the new password is not valid.PermissionDeniedFault- If user does not have permissions to change passwordIllegalArgumentFault- If invalid user name is passedRemoteException
-
changePassword
public boolean changePassword(String sessionId, String userName, String newPassword) throws RemoteException
Description copied from interface:ICollabNetSoapAllows the user to change the password- Specified by:
changePasswordin interfaceICollabNetSoap- Parameters:
sessionId- User session keyuserName- login namenewPassword- new password- Returns:
- true if the password has been successfully changed
- Throws:
SystemFault- when an unexpected system error occurs.InvalidSessionFault- If there is a session fault.InvalidPasswordFault- If the new password is not valid.PermissionDeniedFault- If user does not have permissions to change passwordIllegalArgumentFault- If invalid user name is passedRemoteException
-
listGroupsWithGeneralPermission
public UserGroupSoapList listGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited) throws RemoteException
Description copied from interface:ICollabNetSoapReturns a list of user groups which have some permission to perform the given operation in the given folder (Doesn't check default access permission nor site admins)- Specified by:
listGroupsWithGeneralPermissionin interfaceICollabNetSoap- Parameters:
sessionId- The current user session idprojectId- Project for which permission is checkedoperationString- The string representation of the operation.folderId- Id of the folder for which permission needs to be checked.includeInherited- true includes groups inherited from parent projects, false otherwise- Returns:
- a list of user groups which has the permission on a given folder
- Throws:
InvalidSessionFault- When Session is invalidNoSuchObjectFault- When the folderId does not existIllegalArgumentFault- If the operationString is in an invalid formatSystemFault- Any other exceptionsPermissionDeniedFault- If user does not have project view permissionRemoteException
-
hasPermission
public boolean hasPermission(String sessionId, String username, String projectId, String operationString, String objectId) throws RemoteException
Description copied from interface:ICollabNetSoapChecks whether the given user has permission for an operation on a specified object- Specified by:
hasPermissionin interfaceICollabNetSoap- Parameters:
sessionId- the current user session idusername- the name of the user to check permissionprojectId- the project in which the operation is definedoperationString- The string representation of the operation.objectId- the object for which we are doing the permission check.- Returns:
- whether the given user has permission for an operation on a specified object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- The specified projectId or folderId was invalidSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- If the operationString is in an invalid formatRemoteException- See Also:
OperationConstants
-
hasPermission2
public boolean hasPermission2(String sessionId, String projectId, String operationString, String objectId) throws RemoteException
Description copied from interface:ICollabNetSoapChecks whether the current user has permission for an operation on a specified object- Specified by:
hasPermission2in interfaceICollabNetSoap- Parameters:
sessionId- the current user session idprojectId- the project in which the operation is definedoperationString- The string representation of the operation.objectId- the object for which we are doing the permission check.- Returns:
- whether the current user has permission for an operation on a specified object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- The specified projectId or folderId was invalidSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- If the operationString is in an invalid formatRemoteException- See Also:
OperationConstants
-
getProjectList
public ProjectSoapList getProjectList(String sessionId, boolean fetchHierarchyPath) throws RemoteException
Description copied from interface:ICollabNetSoapReturns a list of all projects visible to the user.- Specified by:
getProjectListin interfaceICollabNetSoap- Parameters:
sessionId- User session key.fetchHierarchyPath- flag indicating whether to fetch the hierarchy path for each project- Returns:
- List of projects
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException
-
getProjectListForUser
public ProjectSoapList getProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership) throws RemoteException
Description copied from interface:ICollabNetSoapReturns a list of projects- Specified by:
getProjectListForUserin interfaceICollabNetSoap- Parameters:
sessionId- User session key.username- User name.fetchHierarchyPath- flag indicating whether to fetch the hierarchy path for each projectincludeGroupMembership- flag indicating whether to return projects which are accessible by group membership- Returns:
- List of user projects.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException
-
getSubprojectList
public ProjectSoapList getSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath) throws RemoteException
Description copied from interface:ICollabNetSoapReturns a list of the immediate sub projects of a project.- Specified by:
getSubprojectListin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id (not a project group id).fetchHierarchyPath- flag indicating whether to fetch the hierarchy path for each project- Returns:
- List of sub projects.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.NoSuchObjectFault- when the project passed as parameter does not exist or if the project id is in fact a project group id.PermissionDeniedFault- when the user has insufficient privileges.RemoteException
-
createProject
public ProjectSoapDO createProject(String sessionId, String name, String title, String description) throws RemoteException
Description copied from interface:ICollabNetSoapCreates a project.- Specified by:
createProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.name- The name of the project (can be null, will fall back to title or id)title- The title of the projectdescription- The description of the project- Returns:
- The project data
- Throws:
InvalidSessionFault- when the specified session id is invalid.ObjectAlreadyExistsFault- when the project with that name already exists.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when specified argument is invalid.RemoteException
-
createOrReplaceProjectTemplate
public ProjectSoapDO createOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId) throws RemoteException
Description copied from interface:ICollabNetSoapCreates or replaces a template from an existing project- Specified by:
createOrReplaceProjectTemplatein interfaceICollabNetSoap- Parameters:
sessionId- The session id.projectId- The project to copy into a templatetitle- The title of the templatedescription- The description of the templatecontentChoices- the desired application content in the template, see constants belowtemplateId- the id of the template to replace, if null (not empty string but null), a new template will be created- Returns:
- The template project data
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the template or project does not exist.IllegalArgumentFault- when illegal argument is passed.RemoteException- See Also:
ProjectSoapDO.INCLUDE_ALL_CONTENT,ProjectSoapDO.INCLUDE_DISCUSSIONS_CONTENT,ProjectSoapDO.INCLUDE_DOCUMENTS_CONTENT,ProjectSoapDO.INCLUDE_FRS_CONTENT,ProjectSoapDO.INCLUDE_PLANNING_FOLDERS,ProjectSoapDO.INCLUDE_PROJECT_PAGES,ProjectSoapDO.INCLUDE_REPORTS_CONTENT,ProjectSoapDO.INCLUDE_SAVED_SEARCHES,ProjectSoapDO.INCLUDE_TRACKER_CONTENT,ProjectSoapDO.INCLUDE_WIKI_CONTENT,ProjectSoapDO.INCLUDE_TEAMS,(Supported from 17.8),(Supported from 17.8)
-
createProjectFromTemplate
public ProjectSoapDO createProjectFromTemplate(String sessionId, String templateId, String name, String title, String description) throws RemoteException
Description copied from interface:ICollabNetSoapCreates a project from template.- Specified by:
createProjectFromTemplatein interfaceICollabNetSoap- Parameters:
sessionId- User session key.templateId- The template project idname- The name of the project (can be null, will fall back to title or id)title- The title of the projectdescription- The description of the project- Returns:
- The project data
- Throws:
InvalidSessionFault- when the specified session id is invalid.ObjectAlreadyExistsFault- when the project with that name already exists.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when illegal argument is passed.RemoteException
-
listTemplates
public ProjectSoapList listTemplates(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapLists project templates within the installation.- Specified by:
listTemplatesin interfaceICollabNetSoap- Parameters:
sessionId- User session key.- Returns:
- The list of template projects
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
findProjects
public ProjectSoapList findProjects(String sessionId, String queryString) throws RemoteException
Description copied from interface:ICollabNetSoapFinds a list of projects matching a search string.- Specified by:
findProjectsin interfaceICollabNetSoap- Parameters:
sessionId- User session id.queryString- Query string.- Returns:
- List of projects matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the query string is invalid.RemoteException
-
lockProject
public ProjectSoapDO lockProject(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapLocks project. Thus making all the tools and their data read-only.- Specified by:
lockProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.ProjectAlreadyLockedFault- When a user tries to lock an already locked projectRemoteException
-
unLockProject
public ProjectSoapDO unLockProject(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapUn-Locks project. Restoring to the normal state where the objects are editable.- Specified by:
unLockProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
getProjectData
public ProjectSoapDO getProjectData(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapGets a project object which includes the parent project ID, project hierarchy path and locked status flag.- Specified by:
getProjectDatain interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
getProjectMemberList
public ProjectMemberSoapList getProjectMemberList(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns project membership list.- Specified by:
getProjectMemberListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project.- Returns:
- Members of project.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
listProjectAdmins
public UserSoapList listProjectAdmins(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns project administrators list.- Specified by:
listProjectAdminsin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project.- Returns:
- Administrators of the project.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified project id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getUserGroupListForProject
public UserGroupSoapList getUserGroupListForProject(String sessionId, String projectOrProjectGroupId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns a list of user groups that have a role in the project.- Specified by:
getUserGroupListForProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectOrProjectGroupId- Project/ProjectGroup Id.- Returns:
- UserGroups who have a role in the project.
- Throws:
NoSuchObjectFault- when the specified object id is invalid.InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
addProjectMember
public void addProjectMember(String sessionId, String projectId, String userName) throws RemoteException
Description copied from interface:ICollabNetSoapMakes a user a member of a project.- Specified by:
addProjectMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id project Id.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
addProjectGroupMember
public void addProjectGroupMember(String sessionId, String projectGroupId, String userName) throws RemoteException
Description copied from interface:ICollabNetSoapMakes a user a member of a project group.- Specified by:
addProjectGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectGroupId- ProjectGroup id.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
removeProjectMember
public void removeProjectMember(String sessionId, String projectId, String userName) throws RemoteException
Description copied from interface:ICollabNetSoapRemoves a user from a project.- Specified by:
removeProjectMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoveOnlyProjectAdminFault- attempting to remove last project adminRemoteException
-
createUserGroup
public UserGroupSoapDO createUserGroup(String sessionId, String fullName, String description) throws RemoteException
Description copied from interface:ICollabNetSoapCreates a new user group with the specified parameters.- Specified by:
createUserGroupin interfaceICollabNetSoap- Parameters:
sessionId- User's session id.fullName- Full name of the new group.description- Description of the new group.- Returns:
- Newly created group object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.ObjectAlreadyExistsFault- when the specified group already exists.IllegalArgumentFault- when one or more group parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getUserGroupData
public UserGroupSoapDO getUserGroupData(String sessionId, String groupId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns the user group information.- Specified by:
getUserGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- User's session id.groupId- User Group id.- Returns:
- User Group data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified group id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
setUserGroupData
public void setUserGroupData(String sessionId, UserGroupSoapDO groupData) throws RemoteException
Description copied from interface:ICollabNetSoapSets the user group information.- Specified by:
setUserGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- User's session id.groupData- User Group data.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- The user group version being edited is not the latest onePermissionDeniedFault- when the user has insufficient privileges.ObjectAlreadyExistsFault- when a user group with the specified user group name already exists.IllegalArgumentFault- when the specified user group name is invalid.SystemFault- when an unexpected system error occursRemoteException
-
deleteUserGroup
public void deleteUserGroup(String sessionId, String groupId) throws RemoteException
Description copied from interface:ICollabNetSoapDeletes a user group.- Specified by:
deleteUserGroupin interfaceICollabNetSoap- Parameters:
sessionId- User session key.groupId- The id of the user group to be deleted- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project with the specified user group idPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalUserModificationFault- when a user tries to delete system created user group.RemoteException
-
getUserGroupList
public UserGroupSoapList getUserGroupList(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapGets a list of all user groups on the system.- Specified by:
getUserGroupListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.- Returns:
- List of user groups matching a filter.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.PermissionDeniedFault- when the user has insufficient privileges.RemoteException
-
getUserGroupListForUser
public UserGroupSoapList getUserGroupListForUser(String sessionId, String username) throws RemoteException
Description copied from interface:ICollabNetSoapGets a list of all user groups the user belongs.- Specified by:
getUserGroupListForUserin interfaceICollabNetSoap- Parameters:
sessionId- User session id.username- the name of the user- Returns:
- List of user groups the user belongs.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
getUserGroupMembers
public UserSoapList getUserGroupMembers(String sessionId, String groupId) throws RemoteException
Description copied from interface:ICollabNetSoapGets a list of active users who are members of a user group- Specified by:
getUserGroupMembersin interfaceICollabNetSoap- Parameters:
sessionId- User session id.groupId- the user group id- Returns:
- List of members of a user group
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project with the specified user group id.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
addUserGroupMember
public void addUserGroupMember(String sessionId, String userGroupId, String userName) throws RemoteException
Description copied from interface:ICollabNetSoapAdds a user to a user group. The user and user group must be existing already.- Specified by:
addUserGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.userGroupId- User Group to which the user should be addeduserName- User to be added to the user group- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if the user group and/or user does not existPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalGroupMemberAddFault- when an users in the system is added to system created user group.RemoteException
-
removeUserGroupMember
public void removeUserGroupMember(String sessionId, String userGroupId, String userName) throws RemoteException
Description copied from interface:ICollabNetSoapRemoves a user from a user group.- Specified by:
removeUserGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.userGroupId- User Group from which the user should be removed.userName- User to be removed.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if the user group and/or user does not existPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
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
Description copied from interface:ICollabNetSoapCreates a new user with the specified parameters.- Specified by:
createUserin interfaceICollabNetSoap- Parameters:
sessionId- User's session id.userName- Name of the new user.email- Email of the new user.fullName- Full name of the new user.organization- organization name of the new user.locale- Locale of the new user (currently supported locales are "en" for English, "ja" for Japanese).timeZone- User's time zone.licenseType- User's license type. Multiple license types can be given for a user as ALMisSuperUser- Should user be given super-user privileges?isRestrictedUser- Should user be given restricted privileges?password- Password of the new user.- Returns:
- Newly created user object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.ObjectAlreadyExistsFault- when the specified user already exists.IllegalArgumentFault- when one or more user parameters are invalid.UserLimitExceededFault- The user limit was exceededSystemFault- when an unexpected system error occurs.RemoteException
-
getUserData
public UserSoapDO getUserData(String sessionId, String username) throws RemoteException
Description copied from interface:ICollabNetSoapGets the user details for the given username.- Specified by:
getUserDatain interfaceICollabNetSoap- Parameters:
sessionId- User session id.username- User name (login name)- Returns:
- User data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException
-
getUserData2
public User2SoapDO getUserData2(String sessionId, String username) throws RemoteException
Description copied from interface:ICollabNetSoapGets the user details for the given username.- Specified by:
getUserData2in interfaceICollabNetSoap- Parameters:
sessionId- User session id.username- User name (login name)- Returns:
- User data which includes user's profile picture link.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException
-
getUserByEmail
public UserSoapDO getUserByEmail(String sessionId, String email) throws RemoteException
Description copied from interface:ICollabNetSoapReturns the user information for the given email address.- Specified by:
getUserByEmailin interfaceICollabNetSoap- Parameters:
sessionId- User session id.email- the email address of a registered user- Returns:
- User data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException
-
getUserByName
public UserSoapDO getUserByName(String sessionId, String fullname) throws RemoteException
Description copied from interface:ICollabNetSoapReturns the user information for the given full name.- Specified by:
getUserByNamein interfaceICollabNetSoap- Parameters:
sessionId- User session id.fullname- the full name of a user- Returns:
- User data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- If the username is invalidSystemFault- when an unexpected system error occurs.RemoteException
-
getCurrentUserData
public UserSoapDO getCurrentUserData(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapGets the user details for a given user session id.- Specified by:
getCurrentUserDatain interfaceICollabNetSoap- Parameters:
sessionId- user session id- Returns:
- a UserSoapDO for a given user session id.
- Throws:
InvalidSessionFault- if the given session id is invalid.RemoteException
-
setUserData2
public void setUserData2(String sessionId, User2SoapDO userData) throws RemoteException
Description copied from interface:ICollabNetSoapSets the user information.- Specified by:
setUserData2in interfaceICollabNetSoap- Parameters:
sessionId- User session id.userData- User data which includes user's profile picture link.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- The user version being edited is not the latest oneLastSuperUserFault- The user being edited is the last super user and cannot be un-superuseredIllegalUserModificationFault- If someone tried to edit a restricted property on a special userPermissionDeniedFault- if the user does not have permission to do thisUserLimitExceededFault- The user limit was exceededSystemFault- when an unexpected system error occurs.RemoteException
-
setUserData
public void setUserData(String sessionId, UserSoapDO userData) throws RemoteException
Description copied from interface:ICollabNetSoapSets the user information. NOTE: Only super-users are allowed to set user data.- Specified by:
setUserDatain interfaceICollabNetSoap- Parameters:
sessionId- User session id.userData- User data- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- The user version being edited is not the latest oneLastSuperUserFault- The user being edited is the last super user and cannot be un-superuseredIllegalUserModificationFault- If someone tried to edit a restricted property on a special userPermissionDeniedFault- if the user does not have permission to do thisUserLimitExceededFault- The user limit was exceededSystemFault- when an unexpected system error occurs.RemoteException
-
findUsers
public UserSoapList findUsers(String sessionId, String queryString) throws RemoteException
Description copied from interface:ICollabNetSoapFinds a list of users matching a search string.- Specified by:
findUsersin interfaceICollabNetSoap- Parameters:
sessionId- User session id.queryString- Query string.- Returns:
- List of users matching search criteria.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.IllegalArgumentFault- when the query string is invalid.SystemFault- when an unexpected system level error occurs.RemoteException
-
getUserList
public UserSoapList getUserList(String sessionId, SoapFilter soapFilter) throws RemoteException
Description copied from interface:ICollabNetSoapGets a list of all users on the system.- Specified by:
getUserListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.soapFilter- Search filter. See UserSoapDO.FILTER constants for supported filter names.- Returns:
- List of users matching a filter.
- Throws:
SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- if the user does not have permissionRemoteException
-
getUserList2
public User2SoapList getUserList2(String sessionId, SoapFilter soapFilter) throws RemoteException
Description copied from interface:ICollabNetSoapGets a list of all users on the system.- Specified by:
getUserList2in interfaceICollabNetSoap- Parameters:
sessionId- User session id.soapFilter- Search filter. See UserSoapDO.FILTER constants for supported filter names.- Returns:
- List of users matching a filter.
- Throws:
SearchQuerySyntaxFault- when the specified search query string is syntactically invalid.SystemFault- when an unexpected system level error occurs.InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- if the user does not have permissionRemoteException
-
getProjectAccessLevel
public int getProjectAccessLevel(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapGets the project's access level.- Specified by:
getProjectAccessLevelin interfaceICollabNetSoap- Parameters:
sessionId- User session IdprojectId- The project Id- Returns:
- The project access level.
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the project id is not a valid project id or if it is a Project Group's idRemoteException- See Also:
ProjectSoapDO.PUBLIC,ProjectSoapDO.GATED_COMMUNITY,ProjectSoapDO.PRIVATE
-
setProjectAccessLevel
public void setProjectAccessLevel(String sessionId, String projectId, int accessLevel) throws RemoteException
Description copied from interface:ICollabNetSoapSets the project access level.- Specified by:
setProjectAccessLevelin interfaceICollabNetSoap- Parameters:
sessionId- User session IdprojectId- The project IdaccessLevel- The access level to set the project to- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- when an unexpected system level error occurs.NoSuchObjectFault- When the project id is not a valid project idIllegalArgumentFault- When the accessLevel is invalid or if the "PROJECT_ACCESS_EDITABLE" configuration's value is falseRemoteException- See Also:
ICollabNetSoap.getConfigurationValue(String, String)
-
getCommentList
public CommentSoapList getCommentList(String sessionId, String objectId) throws RemoteException
Description copied from interface:ICollabNetSoapGets list of comments for object.- Specified by:
getCommentListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.objectId- Object id.- Returns:
- List of comments.
- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- When the object id is not validPermissionDeniedFault- If the user doesn't have permission to perform the operationSystemFault- When an unexpected system level error occurs.RemoteException
-
listAttachments
public AttachmentSoapList listAttachments(String sessionId, String objectId) throws RemoteException
Description copied from interface:ICollabNetSoapLists the attachments associated with the object, the attachment itself is not part of the returned object.- Specified by:
listAttachmentsin interfaceICollabNetSoap- Parameters:
sessionId- user session idobjectId- the id of the object from which attachments are to be listed- Returns:
- List of attachments, does not include the actual file.
- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- When the object id is not valid.PermissionDeniedFault- If the user doesn't have permission to perform the operation.SystemFault- If an unexpected system fault occurs.RemoteException
-
deleteAttachment
public void deleteAttachment(String sessionId, String objectId, String attachmentId) throws RemoteException
Description copied from interface:ICollabNetSoapDeletes the specified attachment of the specified object.- Specified by:
deleteAttachmentin interfaceICollabNetSoap- Parameters:
sessionId- User session id.objectId- The id of the object from which attachment has to be deleted.attachmentId- The attachment id.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
createAssociation
public void createAssociation(String sessionId, String originId, String targetId, String description) throws RemoteException
Description copied from interface:ICollabNetSoapCreates an association between two objects.- Specified by:
createAssociationin interfaceICollabNetSoap- Parameters:
sessionId- User session id.originId- the origin object's id (Only CTF objects can be passed as origin id)targetId- the target object's iddescription- the description for the association- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to create the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if a valid association cannot be created between the given objectsRemoteException
-
createAssociationWithTitles
public void createAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description) throws RemoteException
Description copied from interface:ICollabNetSoapCreates an association between two objects with specified title.- Specified by:
createAssociationWithTitlesin interfaceICollabNetSoap- Parameters:
sessionId- User session id.originId- the origin object's id (Only CTF objects can be passed as origin id)originTitle- the origin object's title (As of 7.0 originTitle will be ignored completely)targetId- the target object's id (For pluggable app object, provide the object id for targetId parameter)targetTitle- the target object's titledescription- the description for the association- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to create the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if a valid association cannot be created between the given objectsRemoteException
-
changeIAObjectTitle
public void changeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle) throws RemoteException
Description copied from interface:ICollabNetSoapUpdates the title for Pluggable objects only.- Specified by:
changeIAObjectTitlein interfaceICollabNetSoap- Parameters:
sessionId- User session id.pluggableObjectId- The pluggable app object idpluggableObjectTitle- the pluggable object's title- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to create the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if a valid association cannot be created between the given objectsRemoteException
-
deleteAssociation
public void deleteAssociation(String sessionId, String originId, String targetId) throws RemoteException
Description copied from interface:ICollabNetSoapDeletes an association between two objects- Specified by:
deleteAssociationin interfaceICollabNetSoap- Parameters:
sessionId- User session id.originId- the origin object's id (Only CTF objects can be passed as origin id)targetId- the target object's id- Throws:
InvalidSessionFault- if the user's session is not validPermissionDeniedFault- if the user does not have permission to delete the associationSystemFault- if an unexpected system error occursNoSuchObjectFault- if the origin or target objects do not existIllegalArgumentFault- if an association does not exist between the given objectsRemoteException
-
deleteProject
public void deleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound) throws RemoteException
Description copied from interface:ICollabNetSoapDeletes a project.- Specified by:
deleteProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectId- The id of the project to be deletednoNotification- if true no notifications will be sent.forceDeleteEvenIfChildFound- delete even if there are child projects- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project with the specified project idPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.ParentRoleUsedInChildProjectsFault- when a role of the project is used in its child projects.ChildProjectsFoundFault- thrown if any child projects are found for the project that is deleted.RemoteException
-
getAssociationList
public AssociationSoapList getAssociationList(String sessionId, String objectId) throws RemoteException
Description copied from interface:ICollabNetSoapLists all of the associations for a given object.- Specified by:
getAssociationListin interfaceICollabNetSoap- Parameters:
sessionId- The current session id.objectId- The id of the object that has associations.- Returns:
- A list of associations for the given object.
- Throws:
InvalidSessionFault- If the session is not valid.NoSuchObjectFault- If the object does not exist or is deleted.PermissionDeniedFault- If you are not allowed to view the object or its associations.SystemFault- If an unexpected error occurs.RemoteException
-
getAuditHistoryList
public AuditHistorySoapList getAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges) throws RemoteException
Description copied from interface:ICollabNetSoapReturns the list of changes made to the specified object in reverse chronological order.- Specified by:
getAuditHistoryListin interfaceICollabNetSoap- Parameters:
sessionId- The current session id.objectId- ID of the object.includeDerivedChanges- whether we want to get the derived entries- Returns:
- List of changes made to the specified object.
- Throws:
InvalidSessionFault- If the session is not valid.NoSuchObjectFault- If the object does not exist or is deleted.PermissionDeniedFault- If you are not allowed to view the object or its associations.SystemFault- If an unexpected error occurs.IllegalArgumentFault- If the objectId is not an artifact.RemoteException
-
getVersionInformationList
public VersionInformationSoapList getVersionInformationList(String sessionId, String folderId) throws RemoteException
Description copied from interface:ICollabNetSoapObtains a list of versions and last modified dates for the objects residing in the specified folder.- Specified by:
getVersionInformationListin interfaceICollabNetSoap- Parameters:
sessionId- Soap session idfolderId- Folder to obtain the list for- Returns:
- The version information
- Throws:
InvalidSessionFault- when session id is invalid.NoSuchObjectFault- when the folder does not exist.PermissionDeniedFault- when permissions are denied for the operation.SystemFault- when an unexpected error occurs.RemoteException
-
reindexObject
public void reindexObject(String sessionId, String objectId) throws RemoteException
Description copied from interface:ICollabNetSoapRe-indexes the contents of the specified project, folder, item or user.- Specified by:
reindexObjectin interfaceICollabNetSoap- Parameters:
sessionId- User session ID (must be a system administrator to perform this operation)objectId- Project to re-index.- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.PermissionDeniedFault- when the user does not have sufficient privileges (must be a system admin).NoSuchObjectFault- when the specified object ID is invalid.RemoteException
-
getUserEffectiveMode
public String getUserEffectiveMode(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapGets effective mode (ALM or SCM) for the current user- Specified by:
getUserEffectiveModein interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- effective mode (ALM or SCM) for the current user
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException
-
isHostedMode
public boolean isHostedMode(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapVerifies if the TeamForge appserver is running in Hosted Mode.- Specified by:
isHostedModein interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- true if the appserver is running in Hosted Mode.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException
-
getProjectDiskUsage
public long getProjectDiskUsage(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapGets the filestorage disk utilization of a project specified by a project id- Specified by:
getProjectDiskUsagein interfaceICollabNetSoap- Parameters:
sessionId- the soap session keyprojectId- the id of the project- Returns:
- the file storage disk usage of a project
- Throws:
NoSuchObjectFault- thrown if the project was not found.InvalidSessionFault- thrown if the session id is not valid.PermissionDeniedFault- thrown if sessionId is not a session started by an admin.SystemFault- If there was a problem checking the permissions.RemoteException
-
getProjectQuota
public long getProjectQuota(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapGets the disk quota for a project.- Specified by:
getProjectQuotain interfaceICollabNetSoap- Parameters:
sessionId- The id of the current session.projectId- The id of the project.- Returns:
- The disk quota for the project.
- Throws:
InvalidSessionFault- If the session id is not valid.NoSuchObjectFault- If the project id does not exist.PermissionDeniedFault- If the user is not allowed to view this information.SystemFault- If there was a problem checking the permissions.RemoteException
-
setProjectQuota
public void setProjectQuota(String sessionId, String projectId, long quota) throws RemoteException
Description copied from interface:ICollabNetSoapSets the disk quota for a project.- Specified by:
setProjectQuotain interfaceICollabNetSoap- Parameters:
sessionId- The id of the current session.projectId- The id of the project.quota- The disk quota to be set for the project.- Throws:
InvalidSessionFault- If the session id is not valid.NoSuchObjectFault- If the project id does not exist.PermissionDeniedFault- If the user is not allowed to view this information.SystemFault- when an unexpected system level error occurs.RemoteException
-
getConfigurationValue
public String getConfigurationValue(String sessionId, String keyValue) throws RemoteException
Description copied from interface:ICollabNetSoapGets Configuration value for the passed key.- Specified by:
getConfigurationValuein interfaceICollabNetSoap- Parameters:
sessionId- The id of the current session.keyValue- of the configuration parameter sought for as String.- Returns:
- The configuration value of the key requested.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.SystemFault- when an unexpected system error occurs.RemoteException
-
getProjectByPath
public ProjectSoapDO getProjectByPath(String sessionId, String projectPath) throws RemoteException
Description copied from interface:ICollabNetSoapGets the project data for a given project path.- Specified by:
getProjectByPathin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectPath- path for which the project info. is requested- Returns:
- a ProjectSoapDO for a given project path.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
listUsersWithGeneralPermission
public UserSoapList listUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns a list of users who have some permission to perform the given operation- Specified by:
listUsersWithGeneralPermissionin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectId- project for which permission is checkedoperationString- The string representation of the operation.folderId- id of the folder for which permission needs to be checked.- Returns:
- List of users who have permission on the given object for the given operation
- Throws:
InvalidSessionFault- when session is invalidNoSuchObjectFault- when the objectId does not existIllegalArgumentFault- if the operationString is in an invalid formatSystemFault- any other exceptionsPermissionDeniedFault- If user does not have project view permissionRemoteException
-
hasGeneralPermission
public boolean hasGeneralPermission(String sessionId, String username, String projectId, String operationString, String objectId) throws RemoteException
Description copied from interface:ICollabNetSoapChecks if the user has general permission for the resource (specified by objectid).- Specified by:
hasGeneralPermissionin interfaceICollabNetSoap- Parameters:
sessionId- User sessionusername- user for which permission needs to be checkedprojectId- Project for which permission is checkedoperationString- The string representation of the operation.objectId- Object id can't be null for which permission needs to be checked.- Returns:
- Does the user has permission on this resource for this project
- Throws:
InvalidSessionFault- When Session is invalidNoSuchObjectFault- When the objectId does not existIllegalArgumentFault- Illegal arguments for the operation stringSystemFault- Any other exceptionsRemoteException
-
hasSitewideRolePermission
public boolean hasSitewideRolePermission(String sessionId, String operationString) throws RemoteException
Description copied from interface:ICollabNetSoapChecks if the current user has the given site wide permission to perform the operation.- Specified by:
hasSitewideRolePermissionin interfaceICollabNetSoap- Parameters:
sessionId- User session idoperationString- The string representation of the operation.- Returns:
- true if the user has the permission for the operation at Site-Wide scope, false otherwise.
- Throws:
InvalidSessionFault- when the sessionId is invalidIllegalArgumentFault- If the operationString is in an invalid formatSystemFault- when an unexpected system error occursRemoteException
-
setParentProject
public void setParentProject(String sessionId, String projectId, String parentProjectId) throws RemoteException
Description copied from interface:ICollabNetSoapSets the parent of a project.
Removes the parent, if the given parentProjectId is null or empty.- Specified by:
setParentProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- Id of the project whose parent needs to be set.parentProjectId- Id of the project which is to be set as parent; null/empty, removes the parent.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- if the parent is one of the child projects or is same as the project.PermissionDeniedFault- if the user does not have permission to do thisChangeParentNotAllowedFault- if the project is system project (look project).ParentRoleUsedInChildProjectsFault- if any role of this or ancestor projectSystemFault- unexpected errorRemoteException
-
getProjectHierarchyPaths
public SoapNamedValues getProjectHierarchyPaths(String sessionId, String[] projectIds) throws RemoteException
Description copied from interface:ICollabNetSoapReturns the hierarchy path of the given projects.- Specified by:
getProjectHierarchyPathsin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectIds- An array of project Ids.- Returns:
- A name-value pair of project hierarchy paths
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occursPermissionDeniedFault- when the user has insufficient privileges on any of the given projects.RemoteException
-
getCurrentTime
public long getCurrentTime(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns the current server time in milliseconds.- Specified by:
getCurrentTimein interfaceICollabNetSoap- Parameters:
sessionId- user session id.- Returns:
- the current server time in milliseconds
- Throws:
InvalidSessionFault- when the specified session id is invalid.RemoteException
-
canReceiveOwnUpdates
public boolean canReceiveOwnUpdates(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns whether the current user receives notifications for the user's own updates.- Specified by:
canReceiveOwnUpdatesin interfaceICollabNetSoap- Parameters:
sessionId- user session id.- Returns:
- whether the user can receive notifications on own updates
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when anything unexpected happen.RemoteException
-
createProjectGroup
public ProjectGroupSoapDO createProjectGroup(String sessionId, String title, String description) throws RemoteException
Description copied from interface:ICollabNetSoapCreates a Project Group.- Specified by:
createProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- User session key.title- The title of the project groupdescription- The description of the project group- Returns:
- The project group data
- Throws:
InvalidSessionFault- when the specified session id is invalid.ObjectAlreadyExistsFault- when the project group with that name already exists.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when invalid data was passed inRemoteException
-
addProjectsToProjectGroup
public void addProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds) throws RemoteException
Description copied from interface:ICollabNetSoapAdds the given projects to a project group.- Specified by:
addProjectsToProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- the user session idprojectGroupId- the project group idprojectIds- the project ids- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when invalid data was passed inRemoteException
-
listProjectGroups
public ProjectGroupSoapList listProjectGroups(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns a list of all projects groups.- Specified by:
listProjectGroupsin interfaceICollabNetSoap- Parameters:
sessionId- User session key.- Returns:
- List of project groups
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.PermissionDeniedFaultRemoteException
-
getProjectGroupData
public ProjectGroupSoapDO getProjectGroupData(String sessionId, String projectGroupId) throws RemoteException
Description copied from interface:ICollabNetSoapGets the Project Group Data by project group id.- Specified by:
getProjectGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupId- project group Id- Returns:
- projectGroupSoapDO Project Group data
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.RemoteException
-
setProjectGroupData
public void setProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData) throws RemoteException
Description copied from interface:ICollabNetSoapSets the project group's data with the data represented in the projectGroupData parameter.- Specified by:
setProjectGroupDatain interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupData- project group's ProjectGroupSoapDO- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- when the project group version being edited is not the latest oneRemoteException
-
addProjectGroupAdmins
public void addProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames) throws RemoteException
Description copied from interface:ICollabNetSoapMakes the users given in the usernames parameter as administrators of the Project Group- Specified by:
addProjectGroupAdminsin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupId- project group's idusernames- The username of the users that need to be made as admins for this Project Group- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalidRemoteException
-
removeProjectGroupAdmins
public void removeProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames) throws RemoteException
Description copied from interface:ICollabNetSoapRemoves the users given in the usernames parameter from the administrator role of the Project Group- Specified by:
removeProjectGroupAdminsin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectGroupId- project group's idusernames- The username of the users that need to be made as admins for this Project Group- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified object id is invalid.RemoteException
-
getMemberProjectsForProjectGroup
public ProjectSoapList getMemberProjectsForProjectGroup(String sessionId, String projectGroupId) throws RemoteException
Description copied from interface:ICollabNetSoapGets the Project List for project group.- Specified by:
getMemberProjectsForProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- the user session idprojectGroupId- the project group id- Returns:
- ProjectList the list of projects.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the given projectGroupId does not exist.SystemFault- when an unexpected system error occurs.RemoteException
-
removeProjectsFromProjectGroup
public void removeProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId) throws RemoteException
Description copied from interface:ICollabNetSoapRemoves projects from project group- Specified by:
removeProjectsFromProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- user session idprojectMemberIds- project members in project groupprojectGroupId- project group id- Throws:
InvalidSessionFaultSystemFault- when an unexpected system error occurs.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.RemoteException
-
removeProjectGroupMember
public void removeProjectGroupMember(String sessionId, String projectGroupId, String userName) throws RemoteException
Description copied from interface:ICollabNetSoapRemoves a user from a project group.- Specified by:
removeProjectGroupMemberin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectGroupId- Id of the project group.userName- Name of the new user.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoveOnlyProjectAdminFault- attempting to remove last project group adminRemoteException
-
getProjectGroupMemberList
public ProjectGroupMemberSoapList getProjectGroupMemberList(String sessionId, String projectGroupId) throws RemoteException
Description copied from interface:ICollabNetSoapReturns project group membership list.- Specified by:
getProjectGroupMemberListin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectGroupId- Id of the project group.- Returns:
- Members of project group.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getProjectGroupsForProject
public ProjectGroupSoapList getProjectGroupsForProject(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapGets ProjectGroupList by project- Specified by:
getProjectGroupsForProjectin interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- project id- Returns:
- projectgroup list
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
getProjectGroupsForProject1
public ProjectGroupSoapList getProjectGroupsForProject1(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapGets ProjectGroupList by project and user should have view permission- Specified by:
getProjectGroupsForProject1in interfaceICollabNetSoap- Parameters:
sessionId- User session id.projectId- project id- Returns:
- list of projectgroups on which the user has access
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
deleteProjectGroup
public void deleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound) throws RemoteException
Description copied from interface:ICollabNetSoapDeletes a project group.- Specified by:
deleteProjectGroupin interfaceICollabNetSoap- Parameters:
sessionId- User session key.projectGroupId- The id of the project group to be deletedforceDeleteEvenIfMemberProjectFound- delete the project group even if it has member project(s)- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- if we can't find the project group with the specified projectGroupIdPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.ChildProjectsFoundFault- if the project group has any member project(s)RemoteException
-
listUsersWithPermissionOnObject
public UserSoapList listUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag) throws RemoteException
Description copied from interface:ICollabNetSoapReturns the list of users who have the given permission on the given object.- Specified by:
listUsersWithPermissionOnObjectin interfaceICollabNetSoap- Parameters:
sessionId- User sessionoperationString- The string representation of the operation.objectId- The object to check permission for the users with access; It can't be nullflag- either WITHOUT_SUPERUSERS or WITH_SUPERUSERS or WITH_PROJECT_MEMBERS or WITH_ASSIGNED_GROUP_MEMBERS or WITHOUT_GROUP_MEMBERS- Returns:
- List of Users who have the given permission on the given object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- When the objectId is invalid or does not existIllegalArgumentFault- If the operationString is in an invalid formatSystemFault- when an unexpected system level error occurs.PermissionDeniedFault- If user does not have project view permissionRemoteException- See Also:
OperationConstants,UserSoapDO.WITHOUT_SUPERUSERS,UserSoapDO.WITH_SUPERUSERS,UserSoapDO.WITH_PROJECT_MEMBERS,UserSoapDO.WITH_ASSIGNED_GROUP_MEMBERS,UserSoapDO.WITHOUT_GROUP_MEMBERS
-
getSessionId
public String getSessionId(String oneTimeToken) throws RemoteException
Description copied from interface:ICollabNetSoapReturns current user session Id using one time token id- Specified by:
getSessionIdin interfaceICollabNetSoap- Parameters:
oneTimeToken- a one time token for login.- Returns:
- Access token.
- Throws:
LoginFault- when the login information is incorrect.SystemFault- when an unexpected system error occurs.RemoteException
-
getJSessionId
public String getJSessionId(String oneTimeToken) throws RemoteException
Description copied from interface:ICollabNetSoapReturns current user Jsession Id using one time token id- Specified by:
getJSessionIdin interfaceICollabNetSoap- Parameters:
oneTimeToken- a one time token for login.- Returns:
- User jsession Id.
- Throws:
SystemFault- when an unexpected system error occurs.RemoteException
-
getWebAndSoapSessionId
public String getWebAndSoapSessionId(String oneTimeToken) throws RemoteException
Description copied from interface:ICollabNetSoapGets the web and soap session id's separated by &- Specified by:
getWebAndSoapSessionIdin interfaceICollabNetSoap- Parameters:
oneTimeToken- a one time token for login.- Returns:
- a string containing the web and soap session id's separated by &
- Throws:
SystemFault- when an unexpected system error occurs.LoginFault- when the login information is incorrectRemoteException
-
getBroadCastMessage
public String getBroadCastMessage(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapGets broadcast message- Specified by:
getBroadCastMessagein interfaceICollabNetSoap- Parameters:
sessionId- the session id.- Returns:
- current broadcast message
- Throws:
InvalidSessionFault- when fault occurs.RemoteException
-
getJSessionBySoapId
public String getJSessionBySoapId(String soapId) throws RemoteException
Description copied from interface:ICollabNetSoapGets the JsessionID using soap Id.- Specified by:
getJSessionBySoapIdin interfaceICollabNetSoap- Parameters:
soapId- webservice soap id- Returns:
- String jsession id
- Throws:
InvalidSessionFault- when fault occurs.RemoteException
-
getUserSessionBySoapId
public String getUserSessionBySoapId(String soapId) throws RemoteException
Description copied from interface:ICollabNetSoapgets the access token using soap Id.- Specified by:
getUserSessionBySoapIdin interfaceICollabNetSoap- Parameters:
soapId- webservice soap id- Returns:
- the access token
- Throws:
InvalidSessionFault- when fault occurs.RemoteException
-
createSiteWideLinkedApp
public String createSiteWideLinkedApp(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon) throws RemoteException
Description copied from interface:ICollabNetSoapCreate a site-wide linked application and return the created application Id- Specified by:
createSiteWideLinkedAppin interfaceICollabNetSoaptitle- A name for the linked application, which appears on the linkapplicationUrl- the location url of the linked applicationapplicationType- determines how the linked app should appearsingleSignon- Whether single signon should be enabled.- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault- When Session is invalidNoSuchObjectFault- When an attempt to retrieve the created linked app results in errorIllegalArgumentFault- If any arguments is of invalid formatSystemFault- Any other exceptions, such as object already existsPermissionDeniedFault- If user does not have site admin permissionRemoteException
-
createProjectLinkedApp
public String createProjectLinkedApp(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon) throws RemoteException
Description copied from interface:ICollabNetSoapCreates linked application in a given project and return the created application Id- Specified by:
createProjectLinkedAppin interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given projecttitle- name for the linked application, which appears on the linkapplicationUrl- the URL of the linked applicationiconKey- the key of the iconiconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.singleSignon- indicates whether single signon should be enabled.- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault- whem sesion is invalidNoSuchObjectFault- when an attempt to retrieve the created linked app results in errorIllegalArgumentFault- if any argument is invalidPermissionDeniedFault- if the user does not have admin permissionSystemFault- any other exceptionRemoteException
-
createProjectLinkedApp2
public String createProjectLinkedApp2(String sessionId, String projectId, String title, String applicationUrl, String iconKey, String iconFileName, String iconMimeType, boolean singleSignon, String toolId) throws RemoteException
Description copied from interface:ICollabNetSoapCreates linked application in a given project and return the created application Id- Specified by:
createProjectLinkedApp2in interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given projecttitle- name for the linked application, which appears on the linkapplicationUrl- the URL of the linked applicationiconKey- the key of the iconiconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.singleSignon- indicates whether single signon should be enabled.toolId- the id of tool in orchestrate- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault- whem sesion is invalidNoSuchObjectFault- when an attempt to retrieve the created linked app results in errorIllegalArgumentFault- if any argument is invalidPermissionDeniedFault- if the user does not have admin permissionSystemFault- any other exceptionRemoteException
-
getLinkedApplicationData
public LinkedApplicationSoapDO getLinkedApplicationData(String sessionId, String linkedAppId) throws RemoteException
Description copied from interface:ICollabNetSoapGets Linked Application Data by Linked Application Id- Specified by:
getLinkedApplicationDatain interfaceICollabNetSoap- Returns:
- Linked Application Soap Data
- Throws:
RemoteException
-
getLinkedApplicationData2
public LinkedApplication2SoapDO getLinkedApplicationData2(String sessionId, String linkedAppId) throws RemoteException
Description copied from interface:ICollabNetSoapGets Linked Application Data by Linked Application Id- Specified by:
getLinkedApplicationData2in interfaceICollabNetSoap- Returns:
- Linked Application2 Soap Data
- Throws:
RemoteException
-
setLinkedApplicationData
public void setLinkedApplicationData(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType) throws RemoteException
Description copied from interface:ICollabNetSoapSets the linked application.- Specified by:
setLinkedApplicationDatain interfaceICollabNetSoap- Parameters:
sessionId- user sessionlinkedApplicationSoapDO- the linkedApplication Data ObjecticonKey- the key of the icon (e.g. guid9baa2613b27278f720000c58)iconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.- Throws:
RemoteException
-
setLinkedApplicationData2
public void setLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType) throws RemoteException
Description copied from interface:ICollabNetSoapSets the linked application.- Specified by:
setLinkedApplicationData2in interfaceICollabNetSoap- Parameters:
sessionId- user sessionlinkedApplication2SoapDO- the linkedApplication Data ObjecticonKey- the key of the icon (e.g. guid9baa2613b27278f720000c58)iconFileName- the file name of the icon (e.g. "iconFile.jpg")iconMimeType- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.- Throws:
RemoteException
-
deleteLinkedApp
public void deleteLinkedApp(String sessionId, String linkedAppId) throws RemoteException
Description copied from interface:ICollabNetSoapDelete the linked application.- Specified by:
deleteLinkedAppin interfaceICollabNetSoap- Parameters:
sessionId- the session idlinkedAppId- - LinkedApplication Id which is requested to be deleted- Throws:
InvalidSessionFaultNoSuchObjectFaultIllegalArgumentFaultPermissionDeniedFaultSystemFaultRemoteException
-
listSiteWideLinkedApps
public LinkedApplicationSoapList listSiteWideLinkedApps(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapLists site-wide linked applications.- Specified by:
listSiteWideLinkedAppsin interfaceICollabNetSoap- Parameters:
sessionId- user session- Returns:
- LinkedApplicationSoapList
- Throws:
RemoteException
-
listProjectLinkedApps
public LinkedApplicationSoapList listProjectLinkedApps(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapLists project-level linked applications for a given project.- Specified by:
listProjectLinkedAppsin interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given project- Returns:
- LinkedapplicationSoapList
- Throws:
RemoteException
-
listProjectLinkedApps2
public LinkedApplication2SoapList listProjectLinkedApps2(String sessionId, String projectId) throws RemoteException
Description copied from interface:ICollabNetSoapLists project-level linked applications for a given project.- Specified by:
listProjectLinkedApps2in interfaceICollabNetSoap- Parameters:
sessionId- user sessionprojectId- id of the given project- Returns:
- LinkedapplicationSoapList
- Throws:
RemoteException
-
isSoapRedirectPostOnlyMode
public boolean isSoapRedirectPostOnlyMode(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapVerifies if TeamForge is running in SoapRedirect Post-Only mode.- Specified by:
isSoapRedirectPostOnlyModein interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- true if Teamforge is running in SoapRedirect Post-Only Mode.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException
-
getOneTimeToken
public String getOneTimeToken(String sessionId) throws RemoteException
Description copied from interface:ICollabNetSoapGives one time token for active sessionId.- Specified by:
getOneTimeTokenin interfaceICollabNetSoap- Parameters:
sessionId- Session id.- Returns:
- one time token.
- Throws:
InvalidSessionFault- when the user session ID is invalid or timed out.RemoteException
-
-