Class CollabNetSoapStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.cemain.CollabNetSoapStub
- All Implemented Interfaces:
ICollabNetSoap
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames) Makes the users given in the usernames parameter as administrators of the Project Groupvoid
addProjectGroupMember
(String sessionId, String projectGroupId, String userName) Makes a user a member of a project group.void
addProjectMember
(String sessionId, String projectId, String userName) Makes a user a member of a project.void
addProjectsToProjectGroup
(String sessionId, String projectGroupId, String[] projectIds) Adds the given projects to a project group.void
addUserGroupMember
(String sessionId, String userGroupId, String userName) Adds a user to a user group.boolean
canReceiveOwnUpdates
(String sessionId) Returns whether the current user receives notifications for the user's own updates.void
changeIAObjectTitle
(String sessionId, String pluggableObjectId, String pluggableObjectTitle) Updates the title for Pluggable objects only.boolean
changePassword
(String sessionId, String userName, String newPassword) Allows the user to change the passwordvoid
createAssociation
(String sessionId, String originId, String targetId, String description) Creates an association between two objects.void
createAssociationWithTitles
(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description) Creates an association between two objects with specified title.createOrReplaceProjectTemplate
(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId) Creates or replaces a template from an existing projectcreateProject
(String sessionId, String name, String title, String description) Creates a project.createProjectFromTemplate
(String sessionId, String templateId, String name, String title, String description) Creates a project from template.createProjectGroup
(String sessionId, String title, String description) Creates a Project Group.createProjectLinkedApp
(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 IdcreateProjectLinkedApp2
(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 IdcreateSiteWideLinkedApp
(String sessionId, String title, String applicationUrl, String applicationType, boolean singleSignon) Create a site-wide linked application and return the created application IdcreateUser
(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.createUserGroup
(String sessionId, String fullName, String description) Creates a new user group with the specified parameters.void
deleteAssociation
(String sessionId, String originId, String targetId) Deletes an association between two objectsvoid
deleteAttachment
(String sessionId, String objectId, String attachmentId) Deletes the specified attachment of the specified object.void
deleteLinkedApp
(String sessionId, String linkedAppId) Delete the linked application.void
deleteProject
(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound) Deletes a project.void
deleteProjectGroup
(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound) Deletes a project group.void
deleteUserGroup
(String sessionId, String groupId) Deletes a user group.doMandatoryPasswordChange
(String userName, String oldPassword, String newPassword) Allows user to change the password if and only if the password was set by an administrator.findProjects
(String sessionId, String queryString) Finds a list of projects matching a search string.Finds a list of users matching a search string.Gets TeamForge API version.getAssociationList
(String sessionId, String objectId) Lists all of the associations for a given object.getAuditHistoryList
(String sessionId, String objectId, boolean includeDerivedChanges) Returns the list of changes made to the specified object in reverse chronological order.getBroadCastMessage
(String sessionId) Gets broadcast messagegetCommentList
(String sessionId, String objectId) Gets list of comments for object.getConfigurationValue
(String sessionId, String keyValue) Gets Configuration value for the passed key.long
getCurrentTime
(String sessionId) Returns the current server time in milliseconds.getCurrentUserData
(String sessionId) Gets the user details for a given user session id.getJSessionBySoapId
(String soapId) Gets the JsessionID using soap Id.getJSessionId
(String oneTimeToken) Returns current user Jsession Id using one time token idgetLinkedApplicationData
(String sessionId, String linkedAppId) Gets Linked Application Data by Linked Application IdgetLinkedApplicationData2
(String sessionId, String linkedAppId) Gets Linked Application Data by Linked Application IdgetMemberProjectsForProjectGroup
(String sessionId, String projectGroupId) Gets the Project List for project group.getOneTimeToken
(String sessionId) Gives one time token for active sessionId.int
getProjectAccessLevel
(String sessionId, String projectId) Gets the project's access level.getProjectByPath
(String sessionId, String projectPath) Gets the project data for a given project path.getProjectData
(String sessionId, String projectId) Gets a project object which includes the parent project ID, project hierarchy path and locked status flag.long
getProjectDiskUsage
(String sessionId, String projectId) Gets the filestorage disk utilization of a project specified by a project idgetProjectGroupData
(String sessionId, String projectGroupId) Gets the Project Group Data by project group id.getProjectGroupMemberList
(String sessionId, String projectGroupId) Returns project group membership list.getProjectGroupsForProject
(String sessionId, String projectId) Gets ProjectGroupList by projectgetProjectGroupsForProject1
(String sessionId, String projectId) Gets ProjectGroupList by project and user should have view permissiongetProjectHierarchyPaths
(String sessionId, String[] projectIds) Returns the hierarchy path of the given projects.getProjectList
(String sessionId, boolean fetchHierarchyPath) Returns a list of all projects visible to the user.getProjectListForUser
(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership) Returns a list of projectsgetProjectMemberList
(String sessionId, String projectId) Returns project membership list.long
getProjectQuota
(String sessionId, String projectId) Gets the disk quota for a project.getSessionId
(String oneTimeToken) Returns current user session Id using one time token idgetSubprojectList
(String sessionId, String projectId, boolean fetchHierarchyPath) Returns a list of the immediate sub projects of a project.getUserByEmail
(String sessionId, String email) Returns the user information for the given email address.getUserByName
(String sessionId, String fullname) Returns the user information for the given full name.getUserData
(String sessionId, String username) Gets the user details for the given username.getUserData2
(String sessionId, String username) Gets the user details for the given username.getUserEffectiveMode
(String sessionId) Gets effective mode (ALM or SCM) for the current usergetUserGroupData
(String sessionId, String groupId) Returns the user group information.getUserGroupList
(String sessionId) Gets a list of all user groups on the system.getUserGroupListForProject
(String sessionId, String projectOrProjectGroupId) Returns a list of user groups that have a role in the project.getUserGroupListForUser
(String sessionId, String username) Gets a list of all user groups the user belongs.getUserGroupMembers
(String sessionId, String groupId) Gets a list of active users who are members of a user groupgetUserList
(String sessionId, SoapFilter soapFilter) Gets a list of all users on the system.getUserList2
(String sessionId, SoapFilter soapFilter) Gets a list of all users on the system.getUserSessionBySoapId
(String soapId) gets the access token using soap Id.getVersion
(String sessionId) Gets TeamForge version.getVersionInformationList
(String sessionId, String folderId) Obtains a list of versions and last modified dates for the objects residing in the specified folder.getWebAndSoapSessionId
(String oneTimeToken) Gets the web and soap session id's separated by &boolean
hasGeneralPermission
(String sessionId, String username, String projectId, String operationString, String objectId) Checks if the user has general permission for the resource (specified by objectid).boolean
hasPermission
(String sessionId, String username, String projectId, String operationString, String objectId) Checks whether the given user has permission for an operation on a specified objectboolean
hasPermission2
(String sessionId, String projectId, String operationString, String objectId) Checks whether the current user has permission for an operation on a specified objectboolean
hasSitewideRolePermission
(String sessionId, String operationString) Checks if the current user has the given site wide permission to perform the operation.boolean
isHostedMode
(String sessionId) Verifies if the TeamForge appserver is running in Hosted Mode.boolean
isSoapRedirectPostOnlyMode
(String sessionId) Verifies if TeamForge is running in SoapRedirect Post-Only mode.void
This operation is no longer supported.listAttachments
(String sessionId, String objectId) Lists the attachments associated with the object, the attachment itself is not part of the returned object.listGroupsWithGeneralPermission
(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)listProjectAdmins
(String sessionId, String projectId) Returns project administrators list.listProjectGroups
(String sessionId) Returns a list of all projects groups.listProjectLinkedApps
(String sessionId, String projectId) Lists project-level linked applications for a given project.listProjectLinkedApps2
(String sessionId, String projectId) Lists project-level linked applications for a given project.listSiteWideLinkedApps
(String sessionId) Lists site-wide linked applications.listTemplates
(String sessionId) Lists project templates within the installation.listUsersWithGeneralPermission
(String sessionId, String projectId, String operationString, String folderId) Returns a list of users who have some permission to perform the given operationlistUsersWithPermissionOnObject
(String sessionId, String operationString, String objectId, int flag) Returns the list of users who have the given permission on the given object.lockProject
(String sessionId, String projectId) Locks project.Logs in a user and creates a new session.loginAnonymous
(String anonSharedSecret) This method allows to login as anonymous to get TF default access.loginWithToken
(String username, String oneTimeToken) Logs in a user and creates a new session.void
Ends a user's session, but the token can still be used until it expires.void
reindexObject
(String sessionId, String objectId) Re-indexes the contents of the specified project, folder, item or user.void
removeProjectGroupAdmins
(String sessionId, String projectGroupId, String[] usernames) Removes the users given in the usernames parameter from the administrator role of the Project Groupvoid
removeProjectGroupMember
(String sessionId, String projectGroupId, String userName) Removes a user from a project group.void
removeProjectMember
(String sessionId, String projectId, String userName) Removes a user from a project.void
removeProjectsFromProjectGroup
(String sessionId, String[] projectMemberIds, String projectGroupId) Removes projects from project groupvoid
removeUserGroupMember
(String sessionId, String userGroupId, String userName) Removes a user from a user group.void
setLinkedApplicationData
(String sessionId, LinkedApplicationSoapDO linkedApplicationSoapDO, String iconKey, String iconFileName, String iconMimeType) Sets the linked application.void
setLinkedApplicationData2
(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType) Sets the linked application.void
setParentProject
(String sessionId, String projectId, String parentProjectId) Sets the parent of a project.void
setProjectAccessLevel
(String sessionId, String projectId, int accessLevel) Sets the project access level.void
setProjectGroupData
(String sessionId, ProjectGroupSoapDO projectGroupData) Sets the project group's data with the data represented in the projectGroupData parameter.void
setProjectQuota
(String sessionId, String projectId, long quota) Sets the disk quota for a project.void
setUserData
(String sessionId, UserSoapDO userData) Sets the user information.void
setUserData2
(String sessionId, User2SoapDO userData) Sets the user information.void
setUserGroupData
(String sessionId, UserGroupSoapDO groupData) Sets the user group information.unLockProject
(String sessionId, String projectId) Un-Locks project.Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
CollabNetSoapStub
-
-
Method Details
-
getVersion
Description copied from interface:ICollabNetSoap
Gets TeamForge version.- Specified by:
getVersion
in interfaceICollabNetSoap
- Parameters:
sessionId
- the session id.- Returns:
- Version as string.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.RemoteException
-
getApiVersion
Description copied from interface:ICollabNetSoap
Gets TeamForge API version.- Specified by:
getApiVersion
in interfaceICollabNetSoap
- Returns:
- API version as string.
- Throws:
RemoteException
-
keepAlive
Description copied from interface:ICollabNetSoap
This operation is no longer supported. If token is timed out, acquire new access token by logging in again.- Specified by:
keepAlive
in interfaceICollabNetSoap
- Parameters:
sessionId
- the session id.- Throws:
InvalidSessionFault
- when the specified session id is invalid.RemoteException
-
loginAnonymous
Description copied from interface:ICollabNetSoap
This method allows to login as anonymous to get TF default access.- Specified by:
loginAnonymous
in interfaceICollabNetSoap
- Parameters:
anonSharedSecret
- Shared secret for anonymous login.- Returns:
- Access token.
- Throws:
LoginFault
- when the login information is incorrect.SystemFault
- when an unexpected system error occurs.RemoteException
-
login
Description copied from interface:ICollabNetSoap
Logs in a user and creates a new session.- Specified by:
login
in interfaceICollabNetSoap
- Parameters:
userName
- Name of the user.password
- User password.- Returns:
- Access token.
- Throws:
LoginFault
- when the login information is incorrect.SystemFault
- when an unexpected system error occurs.RemoteException
-
loginWithToken
Description copied from interface:ICollabNetSoap
Logs in a user and creates a new session.- Specified by:
loginWithToken
in interfaceICollabNetSoap
- Parameters:
username
- Name of the user.oneTimeToken
- a one time token for login.- Returns:
- Access token.
- Throws:
LoginFault
- when the login information is incorrect.SystemFault
- when an unexpected system error occurs.RemoteException
-
logoff
Description copied from interface:ICollabNetSoap
Ends a user's session, but the token can still be used until it expires.- Specified by:
logoff
in interfaceICollabNetSoap
- Parameters:
userName
- User's name.sessionId
- Session id.- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
doMandatoryPasswordChange
public String doMandatoryPasswordChange(String userName, String oldPassword, String newPassword) throws RemoteException Description copied from interface:ICollabNetSoap
Allows user to change the password if and only if the password was set by an administrator.- Specified by:
doMandatoryPasswordChange
in interfaceICollabNetSoap
- Parameters:
userName
- login nameoldPassword
- current passwordnewPassword
- new password- Returns:
- User session key.
- Throws:
LoginFault
- when the login information is incorrect.InvalidOperationFault
- if the user has already changed the passwordSystemFault
- when an unexpected system error occurs.InvalidSessionFault
- If there is a session fault.InvalidPasswordFault
- If the new password is not valid.PermissionDeniedFault
- If user does not have permissions to change passwordIllegalArgumentFault
- If invalid user name is passedRemoteException
-
changePassword
public boolean changePassword(String sessionId, String userName, String newPassword) throws RemoteException Description copied from interface:ICollabNetSoap
Allows the user to change the password- Specified by:
changePassword
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session keyuserName
- login namenewPassword
- new password- Returns:
- true if the password has been successfully changed
- Throws:
SystemFault
- when an unexpected system error occurs.InvalidSessionFault
- If there is a session fault.InvalidPasswordFault
- If the new password is not valid.PermissionDeniedFault
- If user does not have permissions to change passwordIllegalArgumentFault
- If invalid user name is passedRemoteException
-
listGroupsWithGeneralPermission
public UserGroupSoapList listGroupsWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId, boolean includeInherited) throws RemoteException Description copied from interface:ICollabNetSoap
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)- Specified by:
listGroupsWithGeneralPermission
in interfaceICollabNetSoap
- Parameters:
sessionId
- The current user session idprojectId
- Project for which permission is checkedoperationString
- The string representation of the operation.folderId
- Id of the folder for which permission needs to be checked.includeInherited
- true includes groups inherited from parent projects, false otherwise- Returns:
- a list of user groups which has the permission on a given folder
- Throws:
InvalidSessionFault
- When Session is invalidNoSuchObjectFault
- When the folderId does not existIllegalArgumentFault
- If the operationString is in an invalid formatSystemFault
- Any other exceptionsPermissionDeniedFault
- If user does not have project view permissionRemoteException
-
hasPermission
public boolean hasPermission(String sessionId, String username, String projectId, String operationString, String objectId) throws RemoteException Description copied from interface:ICollabNetSoap
Checks whether the given user has permission for an operation on a specified object- Specified by:
hasPermission
in interfaceICollabNetSoap
- Parameters:
sessionId
- the current user session idusername
- the name of the user to check permissionprojectId
- the project in which the operation is definedoperationString
- The string representation of the operation.objectId
- the object for which we are doing the permission check.- Returns:
- whether the given user has permission for an operation on a specified object
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- The specified projectId or folderId was invalidSystemFault
- when an unexpected system level error occurs.IllegalArgumentFault
- If the operationString is in an invalid formatRemoteException
- See Also:
-
hasPermission2
public boolean hasPermission2(String sessionId, String projectId, String operationString, String objectId) throws RemoteException Description copied from interface:ICollabNetSoap
Checks whether the current user has permission for an operation on a specified object- Specified by:
hasPermission2
in interfaceICollabNetSoap
- Parameters:
sessionId
- the current user session idprojectId
- the project in which the operation is definedoperationString
- The string representation of the operation.objectId
- the object for which we are doing the permission check.- Returns:
- whether the current user has permission for an operation on a specified object
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- The specified projectId or folderId was invalidSystemFault
- when an unexpected system level error occurs.IllegalArgumentFault
- If the operationString is in an invalid formatRemoteException
- See Also:
-
getProjectList
public ProjectSoapList getProjectList(String sessionId, boolean fetchHierarchyPath) throws RemoteException Description copied from interface:ICollabNetSoap
Returns a list of all projects visible to the user.- Specified by:
getProjectList
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.fetchHierarchyPath
- flag indicating whether to fetch the hierarchy path for each project- Returns:
- List of projects
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system level error occurs.RemoteException
-
getProjectListForUser
public ProjectSoapList getProjectListForUser(String sessionId, String username, boolean fetchHierarchyPath, boolean includeGroupMembership) throws RemoteException Description copied from interface:ICollabNetSoap
Returns a list of projects- Specified by:
getProjectListForUser
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.username
- User name.fetchHierarchyPath
- flag indicating whether to fetch the hierarchy path for each projectincludeGroupMembership
- flag indicating whether to return projects which are accessible by group membership- Returns:
- List of user projects.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system level error occurs.RemoteException
-
getSubprojectList
public ProjectSoapList getSubprojectList(String sessionId, String projectId, boolean fetchHierarchyPath) throws RemoteException Description copied from interface:ICollabNetSoap
Returns a list of the immediate sub projects of a project.- Specified by:
getSubprojectList
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.projectId
- Project id (not a project group id).fetchHierarchyPath
- flag indicating whether to fetch the hierarchy path for each project- Returns:
- List of sub projects.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system level error occurs.NoSuchObjectFault
- when the project passed as parameter does not exist or if the project id is in fact a project group id.PermissionDeniedFault
- when the user has insufficient privileges.RemoteException
-
createProject
public ProjectSoapDO createProject(String sessionId, String name, String title, String description) throws RemoteException Description copied from interface:ICollabNetSoap
Creates a project.- Specified by:
createProject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.name
- The name of the project (can be null, will fall back to title or id)title
- The title of the projectdescription
- The description of the project- Returns:
- The project data
- Throws:
InvalidSessionFault
- when the specified session id is invalid.ObjectAlreadyExistsFault
- when the project with that name already exists.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.IllegalArgumentFault
- when specified argument is invalid.RemoteException
-
createOrReplaceProjectTemplate
public ProjectSoapDO createOrReplaceProjectTemplate(String sessionId, String projectId, String title, String description, String[] contentChoices, String templateId) throws RemoteException Description copied from interface:ICollabNetSoap
Creates or replaces a template from an existing project- Specified by:
createOrReplaceProjectTemplate
in interfaceICollabNetSoap
- Parameters:
sessionId
- The session id.projectId
- The project to copy into a templatetitle
- The title of the templatedescription
- The description of the templatecontentChoices
- the desired application content in the template, see constants belowtemplateId
- the id of the template to replace, if null (not empty string but null), a new template will be created- Returns:
- The template project data
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.NoSuchObjectFault
- when the template or project does not exist.IllegalArgumentFault
- when illegal argument is passed.RemoteException
- See Also:
-
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:ICollabNetSoap
Creates a project from template.- Specified by:
createProjectFromTemplate
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.templateId
- The template project idname
- The name of the project (can be null, will fall back to title or id)title
- The title of the projectdescription
- The description of the project- Returns:
- The project data
- Throws:
InvalidSessionFault
- when the specified session id is invalid.ObjectAlreadyExistsFault
- when the project with that name already exists.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.IllegalArgumentFault
- when illegal argument is passed.RemoteException
-
listTemplates
Description copied from interface:ICollabNetSoap
Lists project templates within the installation.- Specified by:
listTemplates
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.- Returns:
- The list of template projects
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
findProjects
Description copied from interface:ICollabNetSoap
Finds a list of projects matching a search string.- Specified by:
findProjects
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.queryString
- Query string.- Returns:
- List of projects matching search criteria.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.SystemFault
- when an unexpected system level error occurs.IllegalArgumentFault
- when the query string is invalid.RemoteException
-
lockProject
Description copied from interface:ICollabNetSoap
Locks project. Thus making all the tools and their data read-only.- Specified by:
lockProject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.projectId
- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified project id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.ProjectAlreadyLockedFault
- When a user tries to lock an already locked projectRemoteException
-
unLockProject
Description copied from interface:ICollabNetSoap
Un-Locks project. Restoring to the normal state where the objects are editable.- Specified by:
unLockProject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.projectId
- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
getProjectData
Description copied from interface:ICollabNetSoap
Gets a project object which includes the parent project ID, project hierarchy path and locked status flag.- Specified by:
getProjectData
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.projectId
- Project id.- Returns:
- Project data.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
getProjectMemberList
public ProjectMemberSoapList getProjectMemberList(String sessionId, String projectId) throws RemoteException Description copied from interface:ICollabNetSoap
Returns project membership list.- Specified by:
getProjectMemberList
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectId
- Id of the project.- Returns:
- Members of project.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified object id is invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
listProjectAdmins
Description copied from interface:ICollabNetSoap
Returns project administrators list.- Specified by:
listProjectAdmins
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectId
- Id of the project.- Returns:
- Administrators of the project.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified project id is invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
getUserGroupListForProject
public UserGroupSoapList getUserGroupListForProject(String sessionId, String projectOrProjectGroupId) throws RemoteException Description copied from interface:ICollabNetSoap
Returns a list of user groups that have a role in the project.- Specified by:
getUserGroupListForProject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectOrProjectGroupId
- Project/ProjectGroup Id.- Returns:
- UserGroups who have a role in the project.
- Throws:
NoSuchObjectFault
- when the specified object id is invalid.InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
addProjectMember
public void addProjectMember(String sessionId, String projectId, String userName) throws RemoteException Description copied from interface:ICollabNetSoap
Makes a user a member of a project.- Specified by:
addProjectMember
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectId
- Id project Id.userName
- Name of the new user.- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified object id is invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
addProjectGroupMember
public void addProjectGroupMember(String sessionId, String projectGroupId, String userName) throws RemoteException Description copied from interface:ICollabNetSoap
Makes a user a member of a project group.- Specified by:
addProjectGroupMember
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectGroupId
- ProjectGroup id.userName
- Name of the new user.- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified object id is invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
removeProjectMember
public void removeProjectMember(String sessionId, String projectId, String userName) throws RemoteException Description copied from interface:ICollabNetSoap
Removes a user from a project.- Specified by:
removeProjectMember
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectId
- Id of the project.userName
- Name of the new user.- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified object id is invalid.SystemFault
- when an unexpected system error occurs.RemoveOnlyProjectAdminFault
- attempting to remove last project adminRemoteException
-
createUserGroup
public UserGroupSoapDO createUserGroup(String sessionId, String fullName, String description) throws RemoteException Description copied from interface:ICollabNetSoap
Creates a new user group with the specified parameters.- Specified by:
createUserGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- User's session id.fullName
- Full name of the new group.description
- Description of the new group.- Returns:
- Newly created group object.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.ObjectAlreadyExistsFault
- when the specified group already exists.IllegalArgumentFault
- when one or more group parameters are invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
getUserGroupData
Description copied from interface:ICollabNetSoap
Returns the user group information.- Specified by:
getUserGroupData
in interfaceICollabNetSoap
- Parameters:
sessionId
- User's session id.groupId
- User Group id.- Returns:
- User Group data.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified group id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
setUserGroupData
Description copied from interface:ICollabNetSoap
Sets the user group information.- Specified by:
setUserGroupData
in interfaceICollabNetSoap
- Parameters:
sessionId
- User's session id.groupData
- User Group data.- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.VersionMismatchFault
- The user group version being edited is not the latest onePermissionDeniedFault
- when the user has insufficient privileges.ObjectAlreadyExistsFault
- when a user group with the specified user group name already exists.IllegalArgumentFault
- when the specified user group name is invalid.SystemFault
- when an unexpected system error occursRemoteException
-
deleteUserGroup
Description copied from interface:ICollabNetSoap
Deletes a user group.- Specified by:
deleteUserGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.groupId
- The id of the user group to be deleted- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- if we can't find the project with the specified user group idPermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.IllegalUserModificationFault
- when a user tries to delete system created user group.RemoteException
-
getUserGroupList
Description copied from interface:ICollabNetSoap
Gets a list of all user groups on the system.- Specified by:
getUserGroupList
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.- Returns:
- List of user groups matching a filter.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system error occurs.PermissionDeniedFault
- when the user has insufficient privileges.RemoteException
-
getUserGroupListForUser
public UserGroupSoapList getUserGroupListForUser(String sessionId, String username) throws RemoteException Description copied from interface:ICollabNetSoap
Gets a list of all user groups the user belongs.- Specified by:
getUserGroupListForUser
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.username
- the name of the user- Returns:
- List of user groups the user belongs.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
getUserGroupMembers
Description copied from interface:ICollabNetSoap
Gets a list of active users who are members of a user group- Specified by:
getUserGroupMembers
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.groupId
- the user group id- Returns:
- List of members of a user group
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- if we can't find the project with the specified user group id.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
addUserGroupMember
public void addUserGroupMember(String sessionId, String userGroupId, String userName) throws RemoteException Description copied from interface:ICollabNetSoap
Adds a user to a user group. The user and user group must be existing already.- Specified by:
addUserGroupMember
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.userGroupId
- User Group to which the user should be addeduserName
- User to be added to the user group- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- if the user group and/or user does not existPermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.IllegalGroupMemberAddFault
- when an users in the system is added to system created user group.RemoteException
-
removeUserGroupMember
public void removeUserGroupMember(String sessionId, String userGroupId, String userName) throws RemoteException Description copied from interface:ICollabNetSoap
Removes a user from a user group.- Specified by:
removeUserGroupMember
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.userGroupId
- User Group from which the user should be removed.userName
- User to be removed.- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- if the user group and/or user does not existPermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
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:ICollabNetSoap
Creates a new user with the specified parameters.- Specified by:
createUser
in interfaceICollabNetSoap
- Parameters:
sessionId
- User's session id.userName
- Name of the new user.email
- Email of the new user.fullName
- Full name of the new user.organization
- organization name of the new user.locale
- Locale of the new user (currently supported locales are "en" for English, "ja" for Japanese).timeZone
- User's time zone.licenseType
- User's license type. Multiple license types can be given for a user as ALMisSuperUser
- Should user be given super-user privileges?isRestrictedUser
- Should user be given restricted privileges?password
- Password of the new user.- Returns:
- Newly created user object.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.ObjectAlreadyExistsFault
- when the specified user already exists.IllegalArgumentFault
- when one or more user parameters are invalid.UserLimitExceededFault
- The user limit was exceededSystemFault
- when an unexpected system error occurs.RemoteException
-
getUserData
Description copied from interface:ICollabNetSoap
Gets the user details for the given username.- Specified by:
getUserData
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.username
- User name (login name)- Returns:
- User data.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.IllegalArgumentFault
- If the username is invalidSystemFault
- when an unexpected system error occurs.RemoteException
-
getUserData2
Description copied from interface:ICollabNetSoap
Gets the user details for the given username.- Specified by:
getUserData2
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.username
- User name (login name)- Returns:
- User data which includes user's profile picture link.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.IllegalArgumentFault
- If the username is invalidSystemFault
- when an unexpected system error occurs.RemoteException
-
getUserByEmail
Description copied from interface:ICollabNetSoap
Returns the user information for the given email address.- Specified by:
getUserByEmail
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.email
- the email address of a registered user- Returns:
- User data.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.IllegalArgumentFault
- If the username is invalidSystemFault
- when an unexpected system error occurs.RemoteException
-
getUserByName
Description copied from interface:ICollabNetSoap
Returns the user information for the given full name.- Specified by:
getUserByName
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.fullname
- the full name of a user- Returns:
- User data.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.IllegalArgumentFault
- If the username is invalidSystemFault
- when an unexpected system error occurs.RemoteException
-
getCurrentUserData
Description copied from interface:ICollabNetSoap
Gets the user details for a given user session id.- Specified by:
getCurrentUserData
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session id- Returns:
- a UserSoapDO for a given user session id.
- Throws:
InvalidSessionFault
- if the given session id is invalid.RemoteException
-
setUserData2
Description copied from interface:ICollabNetSoap
Sets the user information.- Specified by:
setUserData2
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.userData
- User data which includes user's profile picture link.- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.VersionMismatchFault
- The user version being edited is not the latest oneLastSuperUserFault
- The user being edited is the last super user and cannot be un-superuseredIllegalUserModificationFault
- If someone tried to edit a restricted property on a special userPermissionDeniedFault
- if the user does not have permission to do thisUserLimitExceededFault
- The user limit was exceededSystemFault
- when an unexpected system error occurs.RemoteException
-
setUserData
Description copied from interface:ICollabNetSoap
Sets the user information. NOTE: Only super-users are allowed to set user data.- Specified by:
setUserData
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.userData
- User data- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.VersionMismatchFault
- The user version being edited is not the latest oneLastSuperUserFault
- The user being edited is the last super user and cannot be un-superuseredIllegalUserModificationFault
- If someone tried to edit a restricted property on a special userPermissionDeniedFault
- if the user does not have permission to do thisUserLimitExceededFault
- The user limit was exceededSystemFault
- when an unexpected system error occurs.RemoteException
-
findUsers
Description copied from interface:ICollabNetSoap
Finds a list of users matching a search string.- Specified by:
findUsers
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.queryString
- Query string.- Returns:
- List of users matching search criteria.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.IllegalArgumentFault
- when the query string is invalid.SystemFault
- when an unexpected system level error occurs.RemoteException
-
getUserList
Description copied from interface:ICollabNetSoap
Gets a list of all users on the system.- Specified by:
getUserList
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.soapFilter
- Search filter. See UserSoapDO.FILTER constants for supported filter names.- Returns:
- List of users matching a filter.
- Throws:
SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.SystemFault
- when an unexpected system level error occurs.InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- if the user does not have permissionRemoteException
-
getUserList2
Description copied from interface:ICollabNetSoap
Gets a list of all users on the system.- Specified by:
getUserList2
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.soapFilter
- Search filter. See UserSoapDO.FILTER constants for supported filter names.- Returns:
- List of users matching a filter.
- Throws:
SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.SystemFault
- when an unexpected system level error occurs.InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- if the user does not have permissionRemoteException
-
getProjectAccessLevel
Description copied from interface:ICollabNetSoap
Gets the project's access level.- Specified by:
getProjectAccessLevel
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session IdprojectId
- The project Id- Returns:
- The project access level.
- Throws:
InvalidSessionFault
- If the session is invalidPermissionDeniedFault
- If the user doesn't have permission to perform the operationSystemFault
- when an unexpected system level error occurs.NoSuchObjectFault
- When the project id is not a valid project id or if it is a Project Group's idRemoteException
- See Also:
-
setProjectAccessLevel
public void setProjectAccessLevel(String sessionId, String projectId, int accessLevel) throws RemoteException Description copied from interface:ICollabNetSoap
Sets the project access level.- Specified by:
setProjectAccessLevel
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session IdprojectId
- The project IdaccessLevel
- The access level to set the project to- Throws:
InvalidSessionFault
- If the session is invalidPermissionDeniedFault
- If the user doesn't have permission to perform the operationSystemFault
- when an unexpected system level error occurs.NoSuchObjectFault
- When the project id is not a valid project idIllegalArgumentFault
- When the accessLevel is invalid or if the "PROJECT_ACCESS_EDITABLE" configuration's value is falseRemoteException
- See Also:
-
getCommentList
Description copied from interface:ICollabNetSoap
Gets list of comments for object.- Specified by:
getCommentList
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.objectId
- Object id.- Returns:
- List of comments.
- Throws:
InvalidSessionFault
- When the specified session id is invalid.NoSuchObjectFault
- When the object id is not validPermissionDeniedFault
- If the user doesn't have permission to perform the operationSystemFault
- When an unexpected system level error occurs.RemoteException
-
listAttachments
Description copied from interface:ICollabNetSoap
Lists the attachments associated with the object, the attachment itself is not part of the returned object.- Specified by:
listAttachments
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idobjectId
- the id of the object from which attachments are to be listed- Returns:
- List of attachments, does not include the actual file.
- Throws:
InvalidSessionFault
- When the specified session id is invalid.NoSuchObjectFault
- When the object id is not valid.PermissionDeniedFault
- If the user doesn't have permission to perform the operation.SystemFault
- If an unexpected system fault occurs.RemoteException
-
deleteAttachment
public void deleteAttachment(String sessionId, String objectId, String attachmentId) throws RemoteException Description copied from interface:ICollabNetSoap
Deletes the specified attachment of the specified object.- Specified by:
deleteAttachment
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.objectId
- The id of the object from which attachment has to be deleted.attachmentId
- The attachment id.- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
createAssociation
public void createAssociation(String sessionId, String originId, String targetId, String description) throws RemoteException Description copied from interface:ICollabNetSoap
Creates an association between two objects.- Specified by:
createAssociation
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.originId
- the origin object's id (Only CTF objects can be passed as origin id)targetId
- the target object's iddescription
- the description for the association- Throws:
InvalidSessionFault
- if the user's session is not validPermissionDeniedFault
- if the user does not have permission to create the associationSystemFault
- if an unexpected system error occursNoSuchObjectFault
- if the origin or target objects do not existIllegalArgumentFault
- if a valid association cannot be created between the given objectsRemoteException
-
createAssociationWithTitles
public void createAssociationWithTitles(String sessionId, String originId, String originTitle, String targetId, String targetTitle, String description) throws RemoteException Description copied from interface:ICollabNetSoap
Creates an association between two objects with specified title.- Specified by:
createAssociationWithTitles
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.originId
- the origin object's id (Only CTF objects can be passed as origin id)originTitle
- the origin object's title (As of 7.0 originTitle will be ignored completely)targetId
- the target object's id (For pluggable app object, provide the object id for targetId parameter)targetTitle
- the target object's titledescription
- the description for the association- Throws:
InvalidSessionFault
- if the user's session is not validPermissionDeniedFault
- if the user does not have permission to create the associationSystemFault
- if an unexpected system error occursNoSuchObjectFault
- if the origin or target objects do not existIllegalArgumentFault
- if a valid association cannot be created between the given objectsRemoteException
-
changeIAObjectTitle
public void changeIAObjectTitle(String sessionId, String pluggableObjectId, String pluggableObjectTitle) throws RemoteException Description copied from interface:ICollabNetSoap
Updates the title for Pluggable objects only.- Specified by:
changeIAObjectTitle
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.pluggableObjectId
- The pluggable app object idpluggableObjectTitle
- the pluggable object's title- Throws:
InvalidSessionFault
- if the user's session is not validPermissionDeniedFault
- if the user does not have permission to create the associationSystemFault
- if an unexpected system error occursNoSuchObjectFault
- if the origin or target objects do not existIllegalArgumentFault
- if a valid association cannot be created between the given objectsRemoteException
-
deleteAssociation
public void deleteAssociation(String sessionId, String originId, String targetId) throws RemoteException Description copied from interface:ICollabNetSoap
Deletes an association between two objects- Specified by:
deleteAssociation
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.originId
- the origin object's id (Only CTF objects can be passed as origin id)targetId
- the target object's id- Throws:
InvalidSessionFault
- if the user's session is not validPermissionDeniedFault
- if the user does not have permission to delete the associationSystemFault
- if an unexpected system error occursNoSuchObjectFault
- if the origin or target objects do not existIllegalArgumentFault
- if an association does not exist between the given objectsRemoteException
-
deleteProject
public void deleteProject(String sessionId, String projectId, boolean noNotification, boolean forceDeleteEvenIfChildFound) throws RemoteException Description copied from interface:ICollabNetSoap
Deletes a project.- Specified by:
deleteProject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.projectId
- The id of the project to be deletednoNotification
- if true no notifications will be sent.forceDeleteEvenIfChildFound
- delete even if there are child projects- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- if we can't find the project with the specified project idPermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.ParentRoleUsedInChildProjectsFault
- when a role of the project is used in its child projects.ChildProjectsFoundFault
- thrown if any child projects are found for the project that is deleted.RemoteException
-
getAssociationList
public AssociationSoapList getAssociationList(String sessionId, String objectId) throws RemoteException Description copied from interface:ICollabNetSoap
Lists all of the associations for a given object.- Specified by:
getAssociationList
in interfaceICollabNetSoap
- Parameters:
sessionId
- The current session id.objectId
- The id of the object that has associations.- Returns:
- A list of associations for the given object.
- Throws:
InvalidSessionFault
- If the session is not valid.NoSuchObjectFault
- If the object does not exist or is deleted.PermissionDeniedFault
- If you are not allowed to view the object or its associations.SystemFault
- If an unexpected error occurs.RemoteException
-
getAuditHistoryList
public AuditHistorySoapList getAuditHistoryList(String sessionId, String objectId, boolean includeDerivedChanges) throws RemoteException Description copied from interface:ICollabNetSoap
Returns the list of changes made to the specified object in reverse chronological order.- Specified by:
getAuditHistoryList
in interfaceICollabNetSoap
- Parameters:
sessionId
- The current session id.objectId
- ID of the object.includeDerivedChanges
- whether we want to get the derived entries- Returns:
- List of changes made to the specified object.
- Throws:
InvalidSessionFault
- If the session is not valid.NoSuchObjectFault
- If the object does not exist or is deleted.PermissionDeniedFault
- If you are not allowed to view the object or its associations.SystemFault
- If an unexpected error occurs.IllegalArgumentFault
- If the objectId is not an artifact.RemoteException
-
getVersionInformationList
public VersionInformationSoapList getVersionInformationList(String sessionId, String folderId) throws RemoteException Description copied from interface:ICollabNetSoap
Obtains a list of versions and last modified dates for the objects residing in the specified folder.- Specified by:
getVersionInformationList
in interfaceICollabNetSoap
- Parameters:
sessionId
- Soap session idfolderId
- Folder to obtain the list for- Returns:
- The version information
- Throws:
InvalidSessionFault
- when session id is invalid.NoSuchObjectFault
- when the folder does not exist.PermissionDeniedFault
- when permissions are denied for the operation.SystemFault
- when an unexpected error occurs.RemoteException
-
reindexObject
Description copied from interface:ICollabNetSoap
Re-indexes the contents of the specified project, folder, item or user.- Specified by:
reindexObject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session ID (must be a system administrator to perform this operation)objectId
- Project to re-index.- Throws:
InvalidSessionFault
- when the user session ID is invalid or timed out.PermissionDeniedFault
- when the user does not have sufficient privileges (must be a system admin).NoSuchObjectFault
- when the specified object ID is invalid.RemoteException
-
getUserEffectiveMode
Description copied from interface:ICollabNetSoap
Gets effective mode (ALM or SCM) for the current user- Specified by:
getUserEffectiveMode
in interfaceICollabNetSoap
- Parameters:
sessionId
- Session id.- Returns:
- effective mode (ALM or SCM) for the current user
- Throws:
InvalidSessionFault
- when the user session ID is invalid or timed out.RemoteException
-
isHostedMode
Description copied from interface:ICollabNetSoap
Verifies if the TeamForge appserver is running in Hosted Mode.- Specified by:
isHostedMode
in interfaceICollabNetSoap
- Parameters:
sessionId
- Session id.- Returns:
- true if the appserver is running in Hosted Mode.
- Throws:
InvalidSessionFault
- when the user session ID is invalid or timed out.RemoteException
-
getProjectDiskUsage
Description copied from interface:ICollabNetSoap
Gets the filestorage disk utilization of a project specified by a project id- Specified by:
getProjectDiskUsage
in interfaceICollabNetSoap
- Parameters:
sessionId
- the soap session keyprojectId
- the id of the project- Returns:
- the file storage disk usage of a project
- Throws:
NoSuchObjectFault
- thrown if the project was not found.InvalidSessionFault
- thrown if the session id is not valid.PermissionDeniedFault
- thrown if sessionId is not a session started by an admin.SystemFault
- If there was a problem checking the permissions.RemoteException
-
getProjectQuota
Description copied from interface:ICollabNetSoap
Gets the disk quota for a project.- Specified by:
getProjectQuota
in interfaceICollabNetSoap
- Parameters:
sessionId
- The id of the current session.projectId
- The id of the project.- Returns:
- The disk quota for the project.
- Throws:
InvalidSessionFault
- If the session id is not valid.NoSuchObjectFault
- If the project id does not exist.PermissionDeniedFault
- If the user is not allowed to view this information.SystemFault
- If there was a problem checking the permissions.RemoteException
-
setProjectQuota
Description copied from interface:ICollabNetSoap
Sets the disk quota for a project.- Specified by:
setProjectQuota
in interfaceICollabNetSoap
- Parameters:
sessionId
- The id of the current session.projectId
- The id of the project.quota
- The disk quota to be set for the project.- Throws:
InvalidSessionFault
- If the session id is not valid.NoSuchObjectFault
- If the project id does not exist.PermissionDeniedFault
- If the user is not allowed to view this information.SystemFault
- when an unexpected system level error occurs.RemoteException
-
getConfigurationValue
Description copied from interface:ICollabNetSoap
Gets Configuration value for the passed key.- Specified by:
getConfigurationValue
in interfaceICollabNetSoap
- Parameters:
sessionId
- The id of the current session.keyValue
- of the configuration parameter sought for as String.- Returns:
- The configuration value of the key requested.
- Throws:
InvalidSessionFault
- when the user session ID is invalid or timed out.SystemFault
- when an unexpected system error occurs.RemoteException
-
getProjectByPath
Description copied from interface:ICollabNetSoap
Gets the project data for a given project path.- Specified by:
getProjectByPath
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectPath
- path for which the project info. is requested- Returns:
- a ProjectSoapDO for a given project path.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
listUsersWithGeneralPermission
public UserSoapList listUsersWithGeneralPermission(String sessionId, String projectId, String operationString, String folderId) throws RemoteException Description copied from interface:ICollabNetSoap
Returns a list of users who have some permission to perform the given operation- Specified by:
listUsersWithGeneralPermission
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectId
- project for which permission is checkedoperationString
- The string representation of the operation.folderId
- id of the folder for which permission needs to be checked.- Returns:
- List of users who have permission on the given object for the given operation
- Throws:
InvalidSessionFault
- when session is invalidNoSuchObjectFault
- when the objectId does not existIllegalArgumentFault
- if the operationString is in an invalid formatSystemFault
- any other exceptionsPermissionDeniedFault
- If user does not have project view permissionRemoteException
-
hasGeneralPermission
public boolean hasGeneralPermission(String sessionId, String username, String projectId, String operationString, String objectId) throws RemoteException Description copied from interface:ICollabNetSoap
Checks if the user has general permission for the resource (specified by objectid).- Specified by:
hasGeneralPermission
in interfaceICollabNetSoap
- Parameters:
sessionId
- User sessionusername
- user for which permission needs to be checkedprojectId
- Project for which permission is checkedoperationString
- The string representation of the operation.objectId
- Object id can't be null for which permission needs to be checked.- Returns:
- Does the user has permission on this resource for this project
- Throws:
InvalidSessionFault
- When Session is invalidNoSuchObjectFault
- When the objectId does not existIllegalArgumentFault
- Illegal arguments for the operation stringSystemFault
- Any other exceptionsRemoteException
-
hasSitewideRolePermission
public boolean hasSitewideRolePermission(String sessionId, String operationString) throws RemoteException Description copied from interface:ICollabNetSoap
Checks if the current user has the given site wide permission to perform the operation.- Specified by:
hasSitewideRolePermission
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session idoperationString
- The string representation of the operation.- Returns:
- true if the user has the permission for the operation at Site-Wide scope, false otherwise.
- Throws:
InvalidSessionFault
- when the sessionId is invalidIllegalArgumentFault
- If the operationString is in an invalid formatSystemFault
- when an unexpected system error occursRemoteException
-
setParentProject
public void setParentProject(String sessionId, String projectId, String parentProjectId) throws RemoteException Description copied from interface:ICollabNetSoap
Sets the parent of a project.
Removes the parent, if the given parentProjectId is null or empty.- Specified by:
setParentProject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectId
- Id of the project whose parent needs to be set.parentProjectId
- Id of the project which is to be set as parent; null/empty, removes the parent.- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified object id is invalid.IllegalArgumentFault
- if the parent is one of the child projects or is same as the project.PermissionDeniedFault
- if the user does not have permission to do thisChangeParentNotAllowedFault
- if the project is system project (look project).ParentRoleUsedInChildProjectsFault
- if any role of this or ancestor projectSystemFault
- unexpected errorRemoteException
-
getProjectHierarchyPaths
public SoapNamedValues getProjectHierarchyPaths(String sessionId, String[] projectIds) throws RemoteException Description copied from interface:ICollabNetSoap
Returns the hierarchy path of the given projects.- Specified by:
getProjectHierarchyPaths
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.projectIds
- An array of project Ids.- Returns:
- A name-value pair of project hierarchy paths
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system level error occursPermissionDeniedFault
- when the user has insufficient privileges on any of the given projects.RemoteException
-
getCurrentTime
Description copied from interface:ICollabNetSoap
Returns the current server time in milliseconds.- Specified by:
getCurrentTime
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session id.- Returns:
- the current server time in milliseconds
- Throws:
InvalidSessionFault
- when the specified session id is invalid.RemoteException
-
canReceiveOwnUpdates
Description copied from interface:ICollabNetSoap
Returns whether the current user receives notifications for the user's own updates.- Specified by:
canReceiveOwnUpdates
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session id.- Returns:
- whether the user can receive notifications on own updates
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when anything unexpected happen.RemoteException
-
createProjectGroup
public ProjectGroupSoapDO createProjectGroup(String sessionId, String title, String description) throws RemoteException Description copied from interface:ICollabNetSoap
Creates a Project Group.- Specified by:
createProjectGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.title
- The title of the project groupdescription
- The description of the project group- Returns:
- The project group data
- Throws:
InvalidSessionFault
- when the specified session id is invalid.ObjectAlreadyExistsFault
- when the project group with that name already exists.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.IllegalArgumentFault
- when invalid data was passed inRemoteException
-
addProjectsToProjectGroup
public void addProjectsToProjectGroup(String sessionId, String projectGroupId, String[] projectIds) throws RemoteException Description copied from interface:ICollabNetSoap
Adds the given projects to a project group.- Specified by:
addProjectsToProjectGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- the user session idprojectGroupId
- the project group idprojectIds
- the project ids- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.NoSuchObjectFault
- when the specified object id is invalid.IllegalArgumentFault
- when invalid data was passed inRemoteException
-
listProjectGroups
Description copied from interface:ICollabNetSoap
Returns a list of all projects groups.- Specified by:
listProjectGroups
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.- Returns:
- List of project groups
- Throws:
InvalidSessionFault
- when the specified session id is invalid.SystemFault
- when an unexpected system level error occurs.PermissionDeniedFault
RemoteException
-
getProjectGroupData
public ProjectGroupSoapDO getProjectGroupData(String sessionId, String projectGroupId) throws RemoteException Description copied from interface:ICollabNetSoap
Gets the Project Group Data by project group id.- Specified by:
getProjectGroupData
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectGroupId
- project group Id- Returns:
- projectGroupSoapDO Project Group data
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.NoSuchObjectFault
- when the specified object id is invalid.RemoteException
-
setProjectGroupData
public void setProjectGroupData(String sessionId, ProjectGroupSoapDO projectGroupData) throws RemoteException Description copied from interface:ICollabNetSoap
Sets the project group's data with the data represented in the projectGroupData parameter.- Specified by:
setProjectGroupData
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectGroupData
- project group's ProjectGroupSoapDO- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.NoSuchObjectFault
- when the specified object id is invalid.VersionMismatchFault
- when the project group version being edited is not the latest oneRemoteException
-
addProjectGroupAdmins
public void addProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames) throws RemoteException Description copied from interface:ICollabNetSoap
Makes the users given in the usernames parameter as administrators of the Project Group- Specified by:
addProjectGroupAdmins
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectGroupId
- project group's idusernames
- The username of the users that need to be made as admins for this Project Group- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.NoSuchObjectFault
- when the specified object id is invalidRemoteException
-
removeProjectGroupAdmins
public void removeProjectGroupAdmins(String sessionId, String projectGroupId, String[] usernames) throws RemoteException Description copied from interface:ICollabNetSoap
Removes the users given in the usernames parameter from the administrator role of the Project Group- Specified by:
removeProjectGroupAdmins
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectGroupId
- project group's idusernames
- The username of the users that need to be made as admins for this Project Group- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.NoSuchObjectFault
- when the specified object id is invalid.RemoteException
-
getMemberProjectsForProjectGroup
public ProjectSoapList getMemberProjectsForProjectGroup(String sessionId, String projectGroupId) throws RemoteException Description copied from interface:ICollabNetSoap
Gets the Project List for project group.- Specified by:
getMemberProjectsForProjectGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- the user session idprojectGroupId
- the project group id- Returns:
- ProjectList the list of projects.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the given projectGroupId does not exist.SystemFault
- when an unexpected system error occurs.RemoteException
-
removeProjectsFromProjectGroup
public void removeProjectsFromProjectGroup(String sessionId, String[] projectMemberIds, String projectGroupId) throws RemoteException Description copied from interface:ICollabNetSoap
Removes projects from project group- Specified by:
removeProjectsFromProjectGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session idprojectMemberIds
- project members in project groupprojectGroupId
- project group id- Throws:
InvalidSessionFault
SystemFault
- when an unexpected system error occurs.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified object id is invalid.RemoteException
-
removeProjectGroupMember
public void removeProjectGroupMember(String sessionId, String projectGroupId, String userName) throws RemoteException Description copied from interface:ICollabNetSoap
Removes a user from a project group.- Specified by:
removeProjectGroupMember
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectGroupId
- Id of the project group.userName
- Name of the new user.- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified object id is invalid.SystemFault
- when an unexpected system error occurs.RemoveOnlyProjectAdminFault
- attempting to remove last project group adminRemoteException
-
getProjectGroupMemberList
public ProjectGroupMemberSoapList getProjectGroupMemberList(String sessionId, String projectGroupId) throws RemoteException Description copied from interface:ICollabNetSoap
Returns project group membership list.- Specified by:
getProjectGroupMemberList
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectGroupId
- Id of the project group.- Returns:
- Members of project group.
- Throws:
InvalidSessionFault
- when the specified session id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.NoSuchObjectFault
- when the specified object id is invalid.SystemFault
- when an unexpected system error occurs.RemoteException
-
getProjectGroupsForProject
public ProjectGroupSoapList getProjectGroupsForProject(String sessionId, String projectId) throws RemoteException Description copied from interface:ICollabNetSoap
Gets ProjectGroupList by project- Specified by:
getProjectGroupsForProject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectId
- project id- Returns:
- projectgroup list
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified project id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
getProjectGroupsForProject1
public ProjectGroupSoapList getProjectGroupsForProject1(String sessionId, String projectId) throws RemoteException Description copied from interface:ICollabNetSoap
Gets ProjectGroupList by project and user should have view permission- Specified by:
getProjectGroupsForProject1
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session id.projectId
- project id- Returns:
- list of projectgroups on which the user has access
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- when the specified project id is invalid.PermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.RemoteException
-
deleteProjectGroup
public void deleteProjectGroup(String sessionId, String projectGroupId, boolean forceDeleteEvenIfMemberProjectFound) throws RemoteException Description copied from interface:ICollabNetSoap
Deletes a project group.- Specified by:
deleteProjectGroup
in interfaceICollabNetSoap
- Parameters:
sessionId
- User session key.projectGroupId
- The id of the project group to be deletedforceDeleteEvenIfMemberProjectFound
- delete the project group even if it has member project(s)- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- if we can't find the project group with the specified projectGroupIdPermissionDeniedFault
- when the user has insufficient privileges.SystemFault
- when an unexpected system error occurs.ChildProjectsFoundFault
- if the project group has any member project(s)RemoteException
-
listUsersWithPermissionOnObject
public UserSoapList listUsersWithPermissionOnObject(String sessionId, String operationString, String objectId, int flag) throws RemoteException Description copied from interface:ICollabNetSoap
Returns the list of users who have the given permission on the given object.- Specified by:
listUsersWithPermissionOnObject
in interfaceICollabNetSoap
- Parameters:
sessionId
- User sessionoperationString
- The string representation of the operation.objectId
- The object to check permission for the users with access; It can't be nullflag
- either WITHOUT_SUPERUSERS or WITH_SUPERUSERS or WITH_PROJECT_MEMBERS or WITH_ASSIGNED_GROUP_MEMBERS or WITHOUT_GROUP_MEMBERS- Returns:
- List of Users who have the given permission on the given object
- Throws:
InvalidSessionFault
- when the specified session id is invalid.NoSuchObjectFault
- When the objectId is invalid or does not existIllegalArgumentFault
- If the operationString is in an invalid formatSystemFault
- when an unexpected system level error occurs.PermissionDeniedFault
- If user does not have project view permissionRemoteException
- See Also:
-
getSessionId
Description copied from interface:ICollabNetSoap
Returns current user session Id using one time token id- Specified by:
getSessionId
in interfaceICollabNetSoap
- Parameters:
oneTimeToken
- a one time token for login.- Returns:
- Access token.
- Throws:
LoginFault
- when the login information is incorrect.SystemFault
- when an unexpected system error occurs.RemoteException
-
getJSessionId
Description copied from interface:ICollabNetSoap
Returns current user Jsession Id using one time token id- Specified by:
getJSessionId
in interfaceICollabNetSoap
- Parameters:
oneTimeToken
- a one time token for login.- Returns:
- User jsession Id.
- Throws:
SystemFault
- when an unexpected system error occurs.RemoteException
-
getWebAndSoapSessionId
Description copied from interface:ICollabNetSoap
Gets the web and soap session id's separated by &- Specified by:
getWebAndSoapSessionId
in interfaceICollabNetSoap
- Parameters:
oneTimeToken
- a one time token for login.- Returns:
- a string containing the web and soap session id's separated by &
- Throws:
SystemFault
- when an unexpected system error occurs.LoginFault
- when the login information is incorrectRemoteException
-
getBroadCastMessage
Description copied from interface:ICollabNetSoap
Gets broadcast message- Specified by:
getBroadCastMessage
in interfaceICollabNetSoap
- Parameters:
sessionId
- the session id.- Returns:
- current broadcast message
- Throws:
InvalidSessionFault
- when fault occurs.RemoteException
-
getJSessionBySoapId
Description copied from interface:ICollabNetSoap
Gets the JsessionID using soap Id.- Specified by:
getJSessionBySoapId
in interfaceICollabNetSoap
- Parameters:
soapId
- webservice soap id- Returns:
- String jsession id
- Throws:
InvalidSessionFault
- when fault occurs.RemoteException
-
getUserSessionBySoapId
Description copied from interface:ICollabNetSoap
gets the access token using soap Id.- Specified by:
getUserSessionBySoapId
in 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:ICollabNetSoap
Create a site-wide linked application and return the created application Id- Specified by:
createSiteWideLinkedApp
in interfaceICollabNetSoap
title
- A name for the linked application, which appears on the linkapplicationUrl
- the location url of the linked applicationapplicationType
- determines how the linked app should appearsingleSignon
- Whether single signon should be enabled.- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault
- When Session is invalidNoSuchObjectFault
- When an attempt to retrieve the created linked app results in errorIllegalArgumentFault
- If any arguments is of invalid formatSystemFault
- Any other exceptions, such as object already existsPermissionDeniedFault
- If user does not have site admin permissionRemoteException
-
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:ICollabNetSoap
Creates linked application in a given project and return the created application Id- Specified by:
createProjectLinkedApp
in interfaceICollabNetSoap
- Parameters:
sessionId
- user sessionprojectId
- id of the given projecttitle
- name for the linked application, which appears on the linkapplicationUrl
- the URL of the linked applicationiconKey
- the key of the iconiconFileName
- the file name of the icon (e.g. "iconFile.jpg")iconMimeType
- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.singleSignon
- indicates whether single signon should be enabled.- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault
- whem sesion is invalidNoSuchObjectFault
- when an attempt to retrieve the created linked app results in errorIllegalArgumentFault
- if any argument is invalidPermissionDeniedFault
- if the user does not have admin permissionSystemFault
- any other exceptionRemoteException
-
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:ICollabNetSoap
Creates linked application in a given project and return the created application Id- Specified by:
createProjectLinkedApp2
in interfaceICollabNetSoap
- Parameters:
sessionId
- user sessionprojectId
- id of the given projecttitle
- name for the linked application, which appears on the linkapplicationUrl
- the URL of the linked applicationiconKey
- the key of the iconiconFileName
- the file name of the icon (e.g. "iconFile.jpg")iconMimeType
- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.singleSignon
- indicates whether single signon should be enabled.toolId
- the id of tool in orchestrate- Returns:
- A linked application id representing the newly created application
- Throws:
InvalidSessionFault
- whem sesion is invalidNoSuchObjectFault
- when an attempt to retrieve the created linked app results in errorIllegalArgumentFault
- if any argument is invalidPermissionDeniedFault
- if the user does not have admin permissionSystemFault
- any other exceptionRemoteException
-
getLinkedApplicationData
public LinkedApplicationSoapDO getLinkedApplicationData(String sessionId, String linkedAppId) throws RemoteException Description copied from interface:ICollabNetSoap
Gets Linked Application Data by Linked Application Id- Specified by:
getLinkedApplicationData
in interfaceICollabNetSoap
- Returns:
- Linked Application Soap Data
- Throws:
RemoteException
-
getLinkedApplicationData2
public LinkedApplication2SoapDO getLinkedApplicationData2(String sessionId, String linkedAppId) throws RemoteException Description copied from interface:ICollabNetSoap
Gets Linked Application Data by Linked Application Id- Specified by:
getLinkedApplicationData2
in 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:ICollabNetSoap
Sets the linked application.- Specified by:
setLinkedApplicationData
in interfaceICollabNetSoap
- Parameters:
sessionId
- user sessionlinkedApplicationSoapDO
- the linkedApplication Data ObjecticonKey
- the key of the icon (e.g. guid9baa2613b27278f720000c58)iconFileName
- the file name of the icon (e.g. "iconFile.jpg")iconMimeType
- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.- Throws:
RemoteException
-
setLinkedApplicationData2
public void setLinkedApplicationData2(String sessionId, LinkedApplication2SoapDO linkedApplication2SoapDO, String iconKey, String iconFileName, String iconMimeType) throws RemoteException Description copied from interface:ICollabNetSoap
Sets the linked application.- Specified by:
setLinkedApplicationData2
in interfaceICollabNetSoap
- Parameters:
sessionId
- user sessionlinkedApplication2SoapDO
- the linkedApplication Data ObjecticonKey
- the key of the icon (e.g. guid9baa2613b27278f720000c58)iconFileName
- the file name of the icon (e.g. "iconFile.jpg")iconMimeType
- the mime type of the icon (e.g. "image/jpg") Supported formats are: JPG, GIF and PNG.- Throws:
RemoteException
-
deleteLinkedApp
Description copied from interface:ICollabNetSoap
Delete the linked application.- Specified by:
deleteLinkedApp
in interfaceICollabNetSoap
- Parameters:
sessionId
- the session idlinkedAppId
- - LinkedApplication Id which is requested to be deleted- Throws:
InvalidSessionFault
NoSuchObjectFault
IllegalArgumentFault
PermissionDeniedFault
SystemFault
RemoteException
-
listSiteWideLinkedApps
Description copied from interface:ICollabNetSoap
Lists site-wide linked applications.- Specified by:
listSiteWideLinkedApps
in interfaceICollabNetSoap
- Parameters:
sessionId
- user session- Returns:
- LinkedApplicationSoapList
- Throws:
RemoteException
-
listProjectLinkedApps
public LinkedApplicationSoapList listProjectLinkedApps(String sessionId, String projectId) throws RemoteException Description copied from interface:ICollabNetSoap
Lists project-level linked applications for a given project.- Specified by:
listProjectLinkedApps
in 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:ICollabNetSoap
Lists project-level linked applications for a given project.- Specified by:
listProjectLinkedApps2
in interfaceICollabNetSoap
- Parameters:
sessionId
- user sessionprojectId
- id of the given project- Returns:
- LinkedapplicationSoapList
- Throws:
RemoteException
-
isSoapRedirectPostOnlyMode
Description copied from interface:ICollabNetSoap
Verifies if TeamForge is running in SoapRedirect Post-Only mode.- Specified by:
isSoapRedirectPostOnlyMode
in interfaceICollabNetSoap
- Parameters:
sessionId
- Session id.- Returns:
- true if Teamforge is running in SoapRedirect Post-Only Mode.
- Throws:
InvalidSessionFault
- when the user session ID is invalid or timed out.RemoteException
-
getOneTimeToken
Description copied from interface:ICollabNetSoap
Gives one time token for active sessionId.- Specified by:
getOneTimeToken
in interfaceICollabNetSoap
- Parameters:
sessionId
- Session id.- Returns:
- one time token.
- Throws:
InvalidSessionFault
- when the user session ID is invalid or timed out.RemoteException
-