org.torweg.pulse.component.core.site
Class SitemapManipulator
java.lang.Object
org.torweg.pulse.bundle.Controller
org.torweg.pulse.component.core.site.SitemapManipulator
public class SitemapManipulator
- extends Controller
Performs tasks to manipulate the Sitemap.
- Version:
- $Revision: 1454 $
- Author:
- Daniel Dietz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SitemapManipulator
public SitemapManipulator()
manipulateRolesOfSitemapNodes
@Action(value="manipulateRolesOfSitemapNodes")
@Permission(value="manipulateRolesOfSitemapNodes")
@Groups(values="CoreAdministrator")
public final java.lang.Object manipulateRolesOfSitemapNodes(ServiceRequest request)
- Adds/removes a
Role specified by given request-parameter
rid to the View/s of the
SitemapNode/s according to the given request-parameters.
The request-parameter rid which specifies the
Role to be added/removed is mandatory.
If request-parameter remove is given, the
Role specified by given request-parameter rid will
be removed from the View/s of the SitemapNode/s
according to the given request-parameters.
The following request-parameters are being evaluated in the order below
which means the first matching case will be executed:
- snid: the
Role will be
added/removed to the SitemapNodes starting at the
SitemapNode specified by snid recursing through the
children
- locale: the
Role will be
added/removed to the SitemapNodes with the specified
locale only
- no further parameter given: the
Role
will be added/removed to all existing SitemapNodes
- Parameters:
request - the ServiceRequest
- Returns:
null
changeVisiblityOfSitemapNodes
@Action(value="changeVisiblityOfSitemapNodes")
@Permission(value="changeVisiblityOfSitemapNodes")
@Groups(values="CoreAdministrator")
public final java.lang.Object changeVisiblityOfSitemapNodes(ServiceRequest request)
- Changes the visibility for
SitemapNodes according to the
given request-parameters.
Visibility: if request-parameter visible is
given the visibility will be set true, otherwise the
visibility will be set false.
The following request-parameters are being evaluated in the order below
which means the first matching case will be executed:
- snid: the visibility will be set for the
SitemapNodes starting at the SitemapNode
specified by snid recursing through the children
- locale: the visibility will be set for the
SitemapNodes with the specified locale only
- no further parameter given: the visibility will set
for all existing
SitemapNodes
- Parameters:
request - the ServiceRequest
- Returns:
null