*** This class provides Binary Compatibility only, not Source Compatibility ***

Class DAVRemarks

java.lang.Object
All Implemented Interfaces:
AttributesInterface, DAVEntityInterface, DAVFolderInterface, Serializable

@SASScope("ALL") @BinaryCompatibilityOnly public class DAVRemarks extends DAVFolder
Represents a set of comments, on a particular topic
Since:
1.1
See Also:
  • Constructor Details

    • DAVRemarks

      public DAVRemarks(RepositoryInterface repos, String reposId) throws RemoteException
      Creates a new DAVRemarks object with a repository id reposId in the repository repos
      Throws:
      RemoteException
    • DAVRemarks

      public DAVRemarks(RepositoryData entity) throws RemoteException
      Creates a new DAVRemarks object from a repositorydata entity
      Throws:
      RemoteException
  • Method Details

    • addComment

      public void addComment(CommentInterface comment) throws RemoteException
      Adds a comment to the discussion thread. If the comment has any attachments they are also added to the discussion thread.
      Parameters:
      comment - The commment to be added to the discussion thread
      Throws:
      RemoteException
    • getComments

      public CommentInterface[] getComments() throws RemoteException
      Returns the list of comments in the discussion thread.
      Returns:
      CommentInterface[] The list of comments in this discussion thread
      Throws:
      RemoteException
    • setOwner

      public void setOwner(String owner)
      Sets the discussion thread owner
      Parameters:
      owner - The discussion thread owner
    • getOwner

      public String getOwner()
      Gets the discussion thread owner
      Returns:
      String The discussion thread owner
    • setTopic

      public void setTopic(String topic)
      Sets the discussion thread topic
      Parameters:
      topic - The discussion thread topic
    • getTopic

      public String getTopic()
      Gets the discussion thread topic
      Returns:
      String The discussion thread topic
    • setStarted

      public void setStarted(long started)
      Sets the date when the discussion thread was started
      Parameters:
      started - The timestamp when the discussion thread was started
    • getStarted

      public long getStarted()
      Gets the timestamp when the discussion thread was started
      Returns:
      long The started timestamp
    • setReferrals

      public void setReferrals(Set referralSet)
    • getReferrals

      public Set getReferrals()
    • setThreadId

      public void setThreadId(String threadId)
      Set the thread identifier for this remark.
      Parameters:
      threadId - A String representing the thread identifier
    • getThreadId

      public String getThreadId()
      Get the thread identifier for this remark.
      Returns:
      String The thread identifier for this remark. Return null if there is no thread identifier.