Class TemplateListParameterBean
- java.lang.Object
-
- com.gentics.contentnode.rest.resource.parameter.TemplateListParameterBean
-
public class TemplateListParameterBean extends Object
Parameter bean for getting templates of a folder- Author:
- plyhun
-
-
Field Summary
Fields Modifier and Type Field Description boolean
checkPermission
true if the access permission should be checked for every templateBoolean
inherited
true to only return inherited templates in the given node, false to only get local/localized templates, null to get local and inherited templatesInteger
nodeId
node id for this folder - for use with multichannellingboolean
reduce
true if the list should be reduced to the unique template occurrences only.
-
Constructor Summary
Constructors Constructor Description TemplateListParameterBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateListParameterBean
setCheckPermission(boolean checkPermission)
TemplateListParameterBean
setInherited(Boolean inherited)
TemplateListParameterBean
setNodeId(Integer nodeId)
TemplateListParameterBean
setReduce(boolean reduce)
-
-
-
Field Detail
-
nodeId
@QueryParam("nodeId") public Integer nodeId
node id for this folder - for use with multichannelling
-
inherited
@QueryParam("inherited") public Boolean inherited
true to only return inherited templates in the given node, false to only get local/localized templates, null to get local and inherited templates
-
checkPermission
@QueryParam("checkPermission") @DefaultValue("true") public boolean checkPermission
true if the access permission should be checked for every template
-
reduce
@QueryParam("reduce") @DefaultValue("false") public boolean reduce
true if the list should be reduced to the unique template occurrences only. valid only whenInFolderParameterBean.recursive
flag is set.
-
-
Method Detail
-
setNodeId
public TemplateListParameterBean setNodeId(Integer nodeId)
-
setInherited
public TemplateListParameterBean setInherited(Boolean inherited)
-
setCheckPermission
public TemplateListParameterBean setCheckPermission(boolean checkPermission)
-
setReduce
public TemplateListParameterBean setReduce(boolean reduce)
-
-