Class CommentExpression

java.lang.Object
org.ametys.cms.repository.comment.CommentExpression
All Implemented Interfaces:
Expression

public class CommentExpression extends Object implements Expression
Expression to search for comments
  • Constructor Details

    • CommentExpression

      public CommentExpression(boolean includeValidated, boolean includeNonValidated)
      Constructor. Parameters can not be both false.
      Parameters:
      includeValidated - will request contents with validated comments
      includeNonValidated - will request contents with non validated comments
  • Method Details

    • build

      public String build()
      Description copied from interface: Expression
      Build the expression.
      Specified by:
      build in interface Expression
      Returns:
      The XPath view of the expression.