Class ProjectFilter

java.lang.Object
com.adobe.cq.projects.api.ProjectFilter

public class ProjectFilter extends Object
used to filter projects in ProjectManager
  • Constructor Details

    • ProjectFilter

      public ProjectFilter()
  • Method Details

    • getActive

      public Boolean getActive()
      indicates if active projects are to be returned
      Returns:
      true when active projects are to be returned
    • setActive

      public void setActive(Boolean active)
      indicate whether active or inactive projects are to be returned. by not providing a value both inactive and active projects will be returned
      Parameters:
      active - set whether to return active or inactive projects
    • getProjectTemplates

      public List<String> getProjectTemplates()
      Indicates if projects list should be restricted to provided list of project templates
      Returns:
      List of project templates the list should be restricted to
    • setProjectTemplates

      public void setProjectTemplates(List<String> projectTemplates)
      Defines the list of project templates the list should be restricted to
      Parameters:
      projectTemplates - List of project templates the list should be restricted to, or null if it shouldn't be filtered