Package com.adobe.cq.projects.api
Class ProjectFilter
- java.lang.Object
-
- com.adobe.cq.projects.api.ProjectFilter
-
public class ProjectFilter extends java.lang.Objectused to filter projects inProjectManager
-
-
Constructor Summary
Constructors Constructor Description ProjectFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetActive()indicates if active projects are to be returnedjava.util.List<java.lang.String>getProjectTemplates()Indicates if projects list should be restricted to provided list of project templatesvoidsetActive(java.lang.Boolean active)indicate whether active or inactive projects are to be returned.voidsetProjectTemplates(java.util.List<java.lang.String> projectTemplates)Defines the list of project templates the list should be restricted to
-
-
-
Method Detail
-
getActive
public java.lang.Boolean getActive()
indicates if active projects are to be returned- Returns:
- true when active projects are to be returned
-
setActive
public void setActive(java.lang.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 java.util.List<java.lang.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(java.util.List<java.lang.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, ornullif it shouldn't be filtered
-
-