Interface CommentableResource

All Superinterfaces:
AmetysObject, DublinCoreAwareAmetysObject, Resource
All Known Subinterfaces:
ModifiableResource
All Known Implementing Classes:
JCRResource

public interface CommentableResource extends Resource
Common interface for a commentable resource file of a resources explorer node.
  • Method Details

    • getComments

      Thread getComments(boolean createThread) throws AmetysRepositoryException
      Get the thread holding the comments
      Parameters:
      createThread - True to force the creation of the thread if it does not exists.
      Returns:
      the thread holding the comments or null if the tread does not exist
      Throws:
      AmetysRepositoryException - If an error occurred