The Collaboration API contains elements that developers can use to define, access, and manage information for teams (collections of members) from within FileNet P8 applications. Key team elements are:
A team comprises the following:
A team is established when the above information is added to a TeamInfo object and passed to a FolderContainer object.
The following code describes how a Team object might be created in a known object store and teamspace. For information on teamspace objects, see Teamspaces; for information on creating and managing object stores, see the Content Java API topic, Working With Object Stores.
// create a new TeamInfo object
TeamInfo teamInfo = new TeamInfo(ownerID, title, description, leaderID);
ContainerManager containerManager = teamSpace.getContainerManager();
FolderContainer teamContainer = (FolderContainer)
containerManager.getContainerByDefinitionID (Collaboration.COLLABORATION_TEAM_CONTAINER_DEFID);
Team teamObject = teamContainer.addSubContainer(teamInfo);
For information on how members are created and managed within the FileNet P8 TCM application, see Managing People and Teams.