public class Collaboration_JAXWS extends Object
Constructor and Description |
---|
Collaboration_JAXWS() |
Modifier and Type | Method and Description |
---|---|
Node |
createChannel(ChannelInfo channelInfo)
Creates a new channel.
|
Node |
createDiscussion(DiscussionInfo discussionInfo)
Creates a new discussion.
|
Node |
createMilestone(MilestoneInfo milestoneInfo)
Creates a new milestone.
|
Node |
createNews(NewsInfo newsInfo,
Long livelinkAttachment,
Attachment attach)
Creates a new news item.
|
Node |
createProject(ProjectInfo projectInfo)
Creates a new project.
|
Node |
createTask(TaskInfo taskInfo)
Creates a new task.
|
Node |
createTaskGroup(TaskGroupInfo taskGroupInfo)
Creates a new task group.
|
Node |
createTaskList(TaskListInfo taskListInfo)
Creates a new task list.
|
ChannelInfo |
getChannel(long channelID)
Gets a channel.
|
DiscussionInfo |
getDiscussion(long discussionID)
Gets a discussion.
|
MilestoneInfo |
getMilestone(long milestoneID)
Gets a milestone.
|
Assignment[] |
getMyAssignments()
Gets the assignments for the current user.
|
ChannelInfo[] |
getMyChannels()
Gets all channels the current user can see.
|
DiscussionInfo[] |
getMyDiscussions()
Gets all discussions the current user can see.
|
ProjectInfo[] |
getMyProjects()
Gets all projects the current user can see.
|
TaskListInfo[] |
getMyTaskLists()
Gets all task lists the current user can see.
|
NewsInfo |
getNews(long newsID)
Gets a news item.
|
ProjectParticipants |
getParticipants(long projectID)
Gets project participants.
|
ProjectInfo |
getProject(long projectID)
Gets a project.
|
DiscussionReadList[] |
getReadList(long discussionID)
Gets the read list of a discussion for the current user.
|
ReplyInfo |
getReplyByName(long topicReplyID,
String name)
Gets a reply by its name.
|
TaskInfo |
getTask(long taskID)
Gets a task.
|
TaskGroupInfo |
getTaskGroup(long taskGroupID)
Gets a task group.
|
TaskListInfo |
getTaskList(long taskListID)
Gets a task list.
|
TopicInfo |
getTopicByName(long discussionID,
String name)
Gets a topic by its name.
|
DiscussionItem |
getTopicReply(long ID)
Gets a topic or reply.
|
UnreadInfo[] |
getUnreadInfo(long[] ids)
Gets the unread information of a list of discussions for the current user.
|
MilestoneInfo[] |
listMilestones(long ID)
Gets the milestones in a task list.
|
NewsInfo[] |
listNews(long channelID)
Gets the news items in a channel.
|
ReplyInfo[] |
listReplies(long topicReplyID)
Gets the replies to a topic or reply.
|
TaskGroupInfo[] |
listTaskGroups(long ID)
Gets the task groups in a task list or task group.
|
TaskInfo[] |
listTasks(long ID)
Gets the tasks in a task list or task group.
|
TopicInfo[] |
listTopics(long discussionID)
Gets the topics in a discussion.
|
ReplyInfo |
postReply(long topicReply,
String subject,
String comments,
Long livelinkAttachment,
Attachment attach)
Posts a reply to a topic or reply.
|
TopicInfo |
postTopic(long discussionID,
String subject,
String comments,
Long livelinkAttachment,
Attachment attach)
Posts a topic to a discussion.
|
DiscussionReadList[] |
setReadList(long discussionID,
DiscussionReadList[] readList)
Sets the read list of a discussion for the current user.
|
void |
updateMilestone(MilestoneInfo milestoneInfo)
Updates a milestone.
|
void |
updateNews(NewsInfo newsInfo)
Updates a news item.
|
void |
updateProject(ProjectInfo projectInfo)
Updates a project.
|
void |
updateProjectParticipants(long projectID,
ProjectRoleUpdateInfo[] roleUpdateInfo)
Updates the roles assigned to project participants, including removing them from a role.
|
void |
updateTask(TaskInfo taskInfo)
Updates a task.
|
void |
updateTaskGroup(TaskGroupInfo taskGroupInfo)
Updates a task group.
|
public Node createChannel(ChannelInfo channelInfo)
channelInfo
- The creation information for the channel.public Node createDiscussion(DiscussionInfo discussionInfo)
discussionInfo
- The creation information for the discussion.public Node createMilestone(MilestoneInfo milestoneInfo)
milestoneInfo
- The creation information for the milestone.public Node createNews(NewsInfo newsInfo, Long livelinkAttachment, Attachment attach)
newsInfo
- The creation information for the news item.livelinkAttachment
- The ID of a document to be attached to the news item.fileAtts
- The description of a desktop document to be attached to the news item.inStream
- The file stream of the desktop attachment.public Node createProject(ProjectInfo projectInfo)
projectInfo
- The creation information for the project.public Node createTask(TaskInfo taskInfo)
taskInfo
- The creation information for the task.public Node createTaskGroup(TaskGroupInfo taskGroupInfo)
taskGroupInfo
- The creation information for the task group.public Node createTaskList(TaskListInfo taskListInfo)
taskListInfo
- The creation information for the task list.public ChannelInfo getChannel(long channelID)
channelID
- The ID of the channel.public DiscussionInfo getDiscussion(long discussionID)
discussionID
- The ID of the discussion.public MilestoneInfo getMilestone(long milestoneID)
milestoneID
- The ID of the milestone.public Assignment[] getMyAssignments()
public ChannelInfo[] getMyChannels()
public DiscussionInfo[] getMyDiscussions()
public ProjectInfo[] getMyProjects()
public TaskListInfo[] getMyTaskLists()
public NewsInfo getNews(long newsID)
newsID
- The ID of the news item.public ProjectParticipants getParticipants(long projectID)
projectID
- The ID of the project.public ProjectInfo getProject(long projectID)
projectID
- The ID of the project.public DiscussionReadList[] getReadList(long discussionID)
discussionID
- The ID of the discussion.public ReplyInfo getReplyByName(long topicReplyID, String name)
topicReplyID
- The ID of the parent of the reply. It can be either a topic ID or a reply ID.name
- The name of the reply.public TaskInfo getTask(long taskID)
taskID
- The ID of the task.public TaskGroupInfo getTaskGroup(long taskGroupID)
taskGroupID
- The ID of the task group.public TaskListInfo getTaskList(long taskListID)
taskListID
- The ID of the task list.public TopicInfo getTopicByName(long discussionID, String name)
discussionID
- The ID of the discussion the topic is in.name
- The name of the topic.public DiscussionItem getTopicReply(long ID)
ID
- The ID of the topic or reply.public UnreadInfo[] getUnreadInfo(long[] ids)
ids
- A list of discussion IDs.public MilestoneInfo[] listMilestones(long ID)
ID
- The ID of the task list.public NewsInfo[] listNews(long channelID)
channelID
- The ID of the channel.public ReplyInfo[] listReplies(long topicReplyID)
topicReplyID
- The ID of a topc or reply.public TaskGroupInfo[] listTaskGroups(long ID)
ID
- The ID of the task list or task group.public TaskInfo[] listTasks(long ID)
ID
- The ID of the task list or task group.public TopicInfo[] listTopics(long discussionID)
discussionID
- The ID of the discussion.public ReplyInfo postReply(long topicReply, String subject, String comments, Long livelinkAttachment, Attachment attach)
topicReply
- The ID of the parent topic or reply.subject
- The subject of the reply.comments
- The comments (message) of the reply.livelinkAttachment
- The ID of a document to be attached to the reply.fileAtts
- The description of a desktop document to be attached to the reply.inStream
- The file stream of the desktop attachment.public TopicInfo postTopic(long discussionID, String subject, String comments, Long livelinkAttachment, Attachment attach)
discussionID
- The ID of the parent discussion.subject
- The subject of the topic.comments
- The comments (message) of the topic.livelinkAttachment
- The ID of a document to be attached to the topic.fileAtts
- The description of a desktop document to be attached to the topic.inStream
- The file stream of the desktop attachment.public DiscussionReadList[] setReadList(long discussionID, DiscussionReadList[] readList)
discussionID
- The ID of the discussion.readList
- The read list to be set.public void updateMilestone(MilestoneInfo milestoneInfo)
milestoneInfo
- The update information for the milestone.public void updateNews(NewsInfo newsInfo)
newsInfo
- The update information for the news item.public void updateProject(ProjectInfo projectInfo)
projectInfo
- The update information for the project.public void updateProjectParticipants(long projectID, ProjectRoleUpdateInfo[] roleUpdateInfo)
projectID
- The ID of the project.roleUpdateInfo
- The list of updates to make.public void updateTask(TaskInfo taskInfo)
taskInfo
- The update information for the task.public void updateTaskGroup(TaskGroupInfo taskGroupInfo)
taskGroupInfo
- The update information for the task group.© Copyright 2017 OpenText Corp. All Rights Reserved.