com.ibm.ram.client
Class RAMForum

java.lang.Object
  extended by com.ibm.ram.common.data.DiscussionObject
      extended by com.ibm.ram.common.data.Forum
          extended by com.ibm.ram.client.RAMForum

public class RAMForum
extends Forum

Represents a Rational Asset Manager discussion forum

Since:
7.1
Author:
kbauer

Method Summary
 RAMTopic createTopic(java.lang.String title, java.lang.String description)
          Create a new topic
 RAMAsset getAsset()
          Return the asset this forum belongs to.
 java.lang.String getDescription()
           
 int getId()
           
 long getLastUpdatedDate()
           
 java.lang.String getState()
           
 long getSubmissionDate()
           
 UserInformation getSubmitter()
           
 java.lang.String getTitle()
           
 Topic[] getTopics()
           
 void setDescription(java.lang.String description)
           
 void setId(int id)
           
 void setLastUpdatedDate(long lastUpdatedDate)
           
 void setState(java.lang.String state)
           
 void setSubmissionDate(long submissionDate)
           
 void setSubmitter(RAMUser submitter)
          Set the user this forum belongs to.
 void setSubmitter(UserInformation submitter)
           
 void setTitle(java.lang.String title)
           
 void setTopics(Topic[] topics)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public int getId()
Overrides:
getId in class Forum
Returns:
Returns the id.

setId

public void setId(int id)
Overrides:
setId in class Forum
Parameters:
id - The id to set.

createTopic

public RAMTopic createTopic(java.lang.String title,
                            java.lang.String description)
Create a new topic

Since:
7.1

getTopics

public Topic[] getTopics()
Overrides:
getTopics in class Forum
Returns:
Returns the topics.

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class DiscussionObject
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Overrides:
setDescription in class DiscussionObject
Parameters:
description - The description to set.

getLastUpdatedDate

public long getLastUpdatedDate()
Overrides:
getLastUpdatedDate in class DiscussionObject
Returns:
Returns the lastUpdatedDate.

getState

public java.lang.String getState()
Overrides:
getState in class DiscussionObject
Returns:
Returns the state.

getSubmissionDate

public long getSubmissionDate()
Overrides:
getSubmissionDate in class DiscussionObject
Returns:
Returns the submissionDate.

getSubmitter

public UserInformation getSubmitter()
Overrides:
getSubmitter in class DiscussionObject
Returns:
Returns the submitter.

setSubmitter

public void setSubmitter(RAMUser submitter)
Set the user this forum belongs to.

Parameters:
submitter -
Since:
7.1

getTitle

public java.lang.String getTitle()
Overrides:
getTitle in class DiscussionObject
Returns:
Returns the title.

setTitle

public void setTitle(java.lang.String title)
Overrides:
setTitle in class DiscussionObject
Parameters:
title - The title to set.

getAsset

public RAMAsset getAsset()
Return the asset this forum belongs to.

Since:
7.1

setTopics

public void setTopics(Topic[] topics)
Overrides:
setTopics in class Forum
Parameters:
topics - The topics to set.

setLastUpdatedDate

public void setLastUpdatedDate(long lastUpdatedDate)
Overrides:
setLastUpdatedDate in class DiscussionObject
Parameters:
lastUpdatedDate - The lastUpdatedDate to set.

setState

public void setState(java.lang.String state)
Overrides:
setState in class DiscussionObject
Parameters:
state - The state to set.

setSubmissionDate

public void setSubmissionDate(long submissionDate)
Overrides:
setSubmissionDate in class DiscussionObject
Parameters:
submissionDate - The submissionDate to set.

setSubmitter

public void setSubmitter(UserInformation submitter)
Overrides:
setSubmitter in class DiscussionObject
Parameters:
submitter - The submitter to set.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object