Class SearchParameterBean
java.lang.Object
com.gentics.contentnode.rest.resource.parameter.SearchParameterBean
Parameter bean for search requests
-
Field Summary
Modifier and TypeFieldDescriptionboolean
true to add privilege information to foldersboolean
true to add content tags to pagesboolean
true to add the folder to search hitsoptional folderId to restrict search to specific folder(s)optional list of language codes to restrict searchboolean
true to add language variants to pagesint
optional nodeId to restrict search to a specific nodeboolean
true to add object tags to search hitsboolean
true to add privilege maps to foldersboolean
flag for restricting search to given folderIds and their subfoldersoptional name for a Content Staging package to check upon the object inclusion statusboolean
true to add the template to pagesboolean
true to add the translation status to pagesexclude (default) to exclude deleted objects, include to include deleted objects, only to return only deleted objects -
Constructor Summary
-
Method Summary
-
Field Details
-
template
@QueryParam("template") @DefaultValue("false") public boolean templatetrue to add the template to pages -
folder
@QueryParam("folder") @DefaultValue("false") public boolean foldertrue to add the folder to search hits -
languageVariants
@QueryParam("langvars") @DefaultValue("false") public boolean languageVariantstrue to add language variants to pages -
translationStatus
@QueryParam("translationstatus") @DefaultValue("false") public boolean translationStatustrue to add the translation status to pages -
contentTags
@QueryParam("contenttags") @DefaultValue("false") public boolean contentTagstrue to add content tags to pages -
objectTags
@QueryParam("objecttags") @DefaultValue("false") public boolean objectTagstrue to add object tags to search hits -
addPrivileges
@QueryParam("privileges") @DefaultValue("false") public boolean addPrivilegestrue to add privilege information to folders -
privilegeMap
@QueryParam("privilegeMap") @DefaultValue("false") public boolean privilegeMaptrue to add privilege maps to folders -
nodeId
@QueryParam("nodeId") @DefaultValue("0") public int nodeIdoptional nodeId to restrict search to a specific node -
folderId
optional folderId to restrict search to specific folder(s) -
recursive
@QueryParam("recursive") @DefaultValue("false") public boolean recursiveflag for restricting search to given folderIds and their subfolders -
languages
optional list of language codes to restrict search -
wastebinSearch
exclude (default) to exclude deleted objects, include to include deleted objects, only to return only deleted objects -
stagingPackageName
optional name for a Content Staging package to check upon the object inclusion status
-
-
Constructor Details
-
SearchParameterBean
public SearchParameterBean()
-