JcrDeliveryEndpoint
with embedded configuration.@Deprecated public class WorkspaceParameters extends Object
Constructor and Description |
---|
WorkspaceParameters()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getChildNodeTypes()
Deprecated.
|
int |
getDepth()
Deprecated.
Defines the depth for child-nodes to be included in the responses.
|
long |
getLimit()
Deprecated.
Defines the amount of results to return in a paginated result set.
|
List<String> |
getNodeTypes()
Deprecated.
|
List<ReferenceDefinition> |
getReferences()
Deprecated.
|
String |
getRootPath()
Deprecated.
Defines the root path used to resolve the given node path parameter, and to execute queries.
|
String |
getWorkspace()
Deprecated.
Defines the target workspace to serve content from.
|
boolean |
isBypassWorkspaceAcls()
Deprecated.
Defines whether or not workspace permissions (ACLs) should be evaluated.
|
boolean |
isIncludeSystemProperties()
Deprecated.
Defines whether jcr:—and mgnl:-prefixed properties will be included in responses.
|
void |
setBypassWorkspaceAcls(boolean bypassWorkspaceAcls)
Deprecated.
|
void |
setChildNodeTypes(List<String> childNodeTypes)
Deprecated.
|
void |
setDepth(int depth)
Deprecated.
|
void |
setIncludeSystemProperties(boolean includeSystemProperties)
Deprecated.
|
void |
setLimit(long limit)
Deprecated.
|
void |
setNodeTypes(List<String> nodeTypes)
Deprecated.
|
void |
setReferences(List<ReferenceDefinition> references)
Deprecated.
|
void |
setRootPath(String rootPath)
Deprecated.
|
void |
setWorkspace(String workspace)
Deprecated.
|
public String getWorkspace()
JcrDeliveryEndpoint
will try to use the workspace-params key
as both endpoint prefix and workspace name.public void setWorkspace(String workspace)
public String getRootPath()
public void setRootPath(String rootPath)
public int getDepth()
public void setDepth(int depth)
public boolean isIncludeSystemProperties()
public void setIncludeSystemProperties(boolean includeSystemProperties)
public long getLimit()
public void setLimit(long limit)
public boolean isBypassWorkspaceAcls()
This may be used to serve all content for the given workspace params to anonymous users;
until relevant JCR permissions for the anonymous user are set up.
Mind however that URI permissions are still evaluated.
The rest-anonymous role has a GET permission to '/.rest/delivery/*'.
public void setBypassWorkspaceAcls(boolean bypassWorkspaceAcls)
public List<ReferenceDefinition> getReferences()
public void setReferences(List<ReferenceDefinition> references)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.