Interface CommentableCompositeMetadata

    • Method Detail

      • hasComments

        boolean hasComments​(String metadataName)
        Deprecated.
        Indicates if a metadata has any comments
        Parameters:
        metadataName - The metadata name
        Returns:
        true if at least one comment exists for this metadata
      • hasComment

        boolean hasComment​(String metadataName,
                           int index)
        Deprecated.
        Indicates if a metadata has a comment
        Parameters:
        metadataName - The metadata name
        index - The comment index
        Returns:
        true if a comment at this index exists for this metadata
      • addComment

        void addComment​(String metadataName,
                        String text,
                        String author,
                        Date date)
        Deprecated.
        Add a metadata comment.
        Parameters:
        metadataName - The metadata name
        text - The text of the comment
        author - The comment author
        date - The date of the comment (null to use the current date)
      • editComment

        void editComment​(String metadataName,
                         int index,
                         String text,
                         String author,
                         Date date)
        Deprecated.
        Edit the text of a metadata comment.
        Parameters:
        metadataName - The metadata name
        index - The comment index
        text - The new text for the comment
        author - The comment author
        date - The date of the comment (null to use the current date)
      • deleteComment

        void deleteComment​(String metadataName,
                           int index)
        Deprecated.
        Delete a metadata comment.
        Parameters:
        metadataName - The metadata name
        index - The comment index