Class PageListParameterBean
java.lang.Object
com.gentics.contentnode.rest.resource.parameter.PageListParameterBean
Parameter bean for getting pages of folder
-
Field Summary
Modifier and TypeFieldDescriptionboolean
true if the contenttags shall be attached to all returned pages.List of markup language IDs for restricting to pages that have templates with none of the given markup languages(optional) search string for filenames (may be empty)boolean
true when the folder information should be added to the pagesList of markup language IDs for restricting to pages that have templates with one of the given markup languagestrue to only return inherited pages in the given node, false to only get local/localized pages, null to get local and inherited pages(optional)Boolean.TRUE
to restrict to pages that are currently in sync with their translation masters,Boolean.FALSE
to restrict to pages that are currently not in sync with their translation masters, and NULL to not consider the translation status information at all.boolean
true if the language fallback shall be done when getting pages in a language, false if not.code of the language in which the pages shall be fetched.boolean
true when the language variants should be added to the pagesoptional regular expression to get pages with a nice URL.node id of the channel when used in multichannellingboolean
true if the objecttags shall be attached to all returned pages.List of folder permissions which must be granted for folders in order to include their pages in the result(optional) true to restrict to planned pages, false to restrict to unplanned pagesint
priority of the page(optional) true to restrict to queued pages, false to restrict to unqueued pagesboolean
(optional) true, if also the content shall be searched, false if notboolean
true when the template information should be added to the pageslist of template idsint
(optional) difference in seconds for searching pages, that will change their status due to timemanagement within the given timespan.boolean
true if the translationstatus information shall be added for every page, false if not.boolean
(optional) true to restrict to pages owned by the user in a workflow.boolean
(optional) true to restrict to pages watched by the user in a workflow. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Create a clone of this parameter bean.setContentTags
(boolean contentTags) setExcludeMlIds
(List<Integer> excludeMlIds) setFilename
(String filename) setFolder
(boolean folder) setIncludeMlIds
(List<Integer> includeMlIds) setInherited
(Boolean inherited) setLangFallback
(boolean langFallback) setLanguage
(String language) setLanguageVariants
(boolean languageVariants) setNiceUrl
(String niceUrl) setObjectTags
(boolean objectTags) setPermission
(List<Permission> permission) setPlanned
(Boolean planned) setPriority
(int priority) setSearchContent
(boolean searchContent) setTemplate
(boolean template) setTemplateIds
(List<Integer> templateIds) setTimeDue
(int timeDue) setTranslationStatus
(boolean translationStatus) setWorkflowOwn
(boolean workflowOwn) setWorkflowWatch
(boolean workflowWatch)
-
Field Details
-
nodeId
node id of the channel when used in multichannelling -
template
@QueryParam("template") @DefaultValue("false") public boolean templatetrue when the template information should be added to the pages -
folder
@QueryParam("folder") @DefaultValue("false") public boolean foldertrue when the folder information should be added to the pages -
languageVariants
@QueryParam("langvars") @DefaultValue("false") public boolean languageVariantstrue when the language variants should be added to the pages -
language
code of the language in which the pages shall be fetched. -
langFallback
@QueryParam("langfallback") @DefaultValue("true") public boolean langFallbacktrue if the language fallback shall be done when getting pages in a language, false if not. If a page is not present in the given language and langFallback is true, the language variant with highest priority in the node is used instead, otherwise the page will not be present in the list -
contentTags
@QueryParam("contenttags") @DefaultValue("false") public boolean contentTagstrue if the contenttags shall be attached to all returned pages. Default is false -
objectTags
@QueryParam("objecttags") @DefaultValue("false") public boolean objectTagstrue if the objecttags shall be attached to all returned pages. Default is false -
searchContent
@QueryParam("searchcontent") @DefaultValue("false") public boolean searchContent(optional) true, if also the content shall be searched, false if not -
filename
(optional) search string for filenames (may be empty) -
timeDue
@QueryParam("timedue") @DefaultValue("0") public int timeDue(optional) difference in seconds for searching pages, that will change their status due to timemanagement within the given timespan. When set to 0 (default), the timemanagement will not be considered. -
workflowOwn
@QueryParam("wfown") @DefaultValue("false") public boolean workflowOwn(optional) true to restrict to pages owned by the user in a workflow. Defaults to false. -
workflowWatch
@QueryParam("wfwatch") @DefaultValue("false") public boolean workflowWatch(optional) true to restrict to pages watched by the user in a workflow. Defaults to false. -
inSync
(optional)Boolean.TRUE
to restrict to pages that are currently in sync with their translation masters,Boolean.FALSE
to restrict to pages that are currently not in sync with their translation masters, and NULL to not consider the translation status information at all. Setting this flag (to either true or false) will also add the translation status information. -
translationStatus
@QueryParam("translationstatus") @DefaultValue("false") public boolean translationStatustrue if the translationstatus information shall be added for every page, false if not. -
planned
(optional) true to restrict to planned pages, false to restrict to unplanned pages -
queued
(optional) true to restrict to queued pages, false to restrict to unqueued pages -
permission
List of folder permissions which must be granted for folders in order to include their pages in the result -
priority
@QueryParam("priority") @DefaultValue("0") public int prioritypriority of the page -
templateIds
list of template ids -
inherited
true to only return inherited pages in the given node, false to only get local/localized pages, null to get local and inherited pages -
niceUrl
optional regular expression to get pages with a nice URL. -
includeMlIds
List of markup language IDs for restricting to pages that have templates with one of the given markup languages -
excludeMlIds
List of markup language IDs for restricting to pages that have templates with none of the given markup languages
-
-
Constructor Details
-
PageListParameterBean
public PageListParameterBean()
-
-
Method Details
-
setNodeId
-
setTemplate
-
setFolder
-
setLanguageVariants
-
setLanguage
-
setLangFallback
-
setContentTags
-
setObjectTags
-
setSearchContent
-
setFilename
-
setTimeDue
-
setWorkflowOwn
-
setWorkflowWatch
-
setInSync
-
setTranslationStatus
-
setPlanned
-
setQueued
-
setPermission
-
setPriority
-
setTemplateIds
-
setInherited
-
setNiceUrl
-
setIncludeMlIds
-
setExcludeMlIds
-
clone
Create a clone of this parameter bean.
-