SOAP calls for objects in integrated applications

If your integrated application has the notion of objects, you can use these SOAP calls to enable users to act on those objects from within TeamForge.

getObjectTitle

Return the title for the provided object id. This will be used when associating an integrated app object to a TeamForge object. If the user enters an integrated application id, say, PB_20100602, the first part of it is the per-project prefix (PB) and the second part is the actual object id in the integrated application. This is the value passed into “getObjectTitle” so that it can return the Title for the object identifier. The title is then displayed as part of the association information in TeamForge.

Example
In com/collabnet/pebble/adapter/PebbleIntegrationService.java, see the getObjectTitle method, line 306.

findProjectIdForObject

Return the project to which the object belongs. This method is called only when the require-per-project-prefix parameter in the XML is false. When require-per-project-prefix is true, TeamForge knows the project to which the object belongs.

Example
In com/collabnet/pebble/adapter/PebbleIntegrationService.java, see the findProjectIdForObject method, line 294.