Class FolderListParameterBean
java.lang.Object
com.gentics.contentnode.rest.resource.parameter.FolderListParameterBean
Parameter bean for getting subfolders of a folder.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Whether the privileges shall be added to the folders.true to only return inherited pages in the given node, false to only get local/localized pages, null to get local and inherited pages.Node ID of the channel when used in multichannelling.boolean
Whether the privileges shall be added to the folders as map.Optional list of folder ids, for which the children shall be fetched (ignored if recursive is false).boolean
Whether folders shall be returned as tree(s). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Create a clone of this parameter bean.setAddPrivileges
(boolean addPrivileges) setInherited
(Boolean inherited) setPrivilegeMap
(boolean privilegeMap) setRecursiveIds
(List<String> recursiveIds) setTree
(boolean tree)
-
Field Details
-
nodeId
Node ID of the channel when used in multichannelling. -
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. -
tree
@QueryParam("tree") @DefaultValue("false") public boolean treeWhether folders shall be returned as tree(s). Subfolders will be attached to their mothers. This only makes sense, when recursive is true. -
recursiveIds
Optional list of folder ids, for which the children shall be fetched (ignored if recursive is false). The ids might be composed as nodeId/folderId to get children for folders in specific channels only. -
addPrivileges
@QueryParam("addPrivileges") @DefaultValue("false") public boolean addPrivilegesWhether the privileges shall be added to the folders. -
privilegeMap
@QueryParam("privilegeMap") @DefaultValue("false") public boolean privilegeMapWhether the privileges shall be added to the folders as map.
-
-
Constructor Details
-
FolderListParameterBean
public FolderListParameterBean()
-
-
Method Details