To query or modify Oracle WebCenter Collaboration project metadata from a remote application, use the IProject interface in the Oracle WebCenter Interaction Development Kit (IDK).
Property Name | Description | API Access |
---|---|---|
ID | The object ID for the current project. | Read Only |
Name | The name of the current project. | Read/Write |
Description | The description for the current project. | Read/Write |
Details | The URL to the details page for the current project. | Read Only |
Created Date | The date the current project was created (this information might not be available). | Read Only |
Last-Modified Date | The date the current project was last updated (this information might not be available). | Read Only |
Owner ID | The user ID of the project owner. | Read Only |
Access Level | The permissions for the current user (edit, delete, edit security). | Read Only |
Start Date | The start date for the current project. | Read/Write |
Status | The status of the current project (not started, 25% complete, 50% complete, 75% complete, or completed). | Read/Write |
To edit settings for an existing project, follow the steps below.
Java
... //get the project IProjectManager projectManager = getProjectManager(request, response, out); IProject project = projectManager.getProject(projectID); //set the name, description, start date and status project.setName() = "Updated Name"; project.setDescription() = "Updated description"; project.setStatus(ProjectStatus.TWENTY_FIVE_PERCENT_COMPLETED); //you must call store to persist changes. project.store(); ...
.NET (C#)
... //get the project Plumtree.Remote.PRC.Collaboration.Project.IProjectManager projectManager = GetProjectManager(Request,Response); IProject project = GetProject(projectID); //set project metadata project.Name = "Updated Name"; project.Description = "Updated Description"; project.Status = ProjectStatus.TwentyFivePercentCompleted; //you must call store to persist changes project.Store(); ...
.NET (VB)
... 'get the project dim projectManager as Plumtree.Remote.PRC.Collaboration.Project.IProjectManager = GetProjectManager(Request, Response) dim project as Plumtree.Remote.PRC.Collaboration.Project.IProject = projectManager.GetProject(-1) 'set project properties project.Name = "Updated Name" project.Description = "Updated Description project.Status = ProjectStatus.TwentyFivePercentCompleted 'you must call store to persist changes project.Store() ...