Package com.adobe.cq.projects.api
Class ProjectFilter
java.lang.Object
com.adobe.cq.projects.api.ProjectFilter
used to filter projects in
ProjectManager-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionindicates if active projects are to be returnedIndicates if projects list should be restricted to provided list of project templatesvoidindicate whether active or inactive projects are to be returned.voidsetProjectTemplates(List<String> projectTemplates) Defines the list of project templates the list should be restricted to
-
Constructor Details
-
ProjectFilter
public ProjectFilter()
-
-
Method Details
-
getActive
indicates if active projects are to be returned- Returns:
- true when active projects are to be returned
-
setActive
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
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
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
-