pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.site.map
Class SitemapEditor

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.core.site.map.SitemapEditor
All Implemented Interfaces:
DeprecatedConfigurable

public class SitemapEditor
extends Controller
implements DeprecatedConfigurable

the editor for the Sitemap. This controller corresponds to the sitemap shown in the west-panel of the website-administration.

Version:
$Revision: 2043 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
SitemapEditor()
           
 
Method Summary
 void createNode(Bundle bundle, ServiceRequest request)
           
 void deleteNode(Bundle bundle, ServiceRequest request)
           
 java.lang.Object getChildren(Bundle bundle, ServiceRequest request)
           
 void init(ConfigBean c)
          initializes the SitemapEditor.
 SitemapEditorResult initTree(Bundle bundle, ServiceRequest request)
           
 void loadNode(Bundle bundle, ServiceRequest request)
           
 void moveNode(Bundle bundle, ServiceRequest request)
           
 void renameNode(Bundle bundle, ServiceRequest request)
          renames a SitemapNode.
 void toggleNodeVisibility(Bundle bundle, ServiceRequest request)
           
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapEditor

public SitemapEditor()
Method Detail

initTree

@RequireToken
@Action(value="sitemapTreeInit", generate=true)
@Permission(value="browseSitemap")
@Groups(values={"SitemapEditor","SitemapViewer"})
public final SitemapEditorResult initTree(Bundle bundle, ServiceRequest request)
Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
the initialization Result for the SitemapEditor
See Also:
Sitemap, SitemapNode

loadNode

@RequireToken
@Action(value="sitemapTreeLoadNode", generate=true)
@Permission(value="browseSitemap")
@Groups(values={"SitemapEditor","SitemapViewer"})
public final void loadNode(Bundle bundle, ServiceRequest request)
Parameters:
bundle - the Bundle we belong to
request - the current ServiceRequest
See Also:
SitemapNode

getChildren

@RequireToken
@Action(value="sitemapTreeGetChildren", generate=true)
@Permission(value="browseSitemap")
@Groups(values={"SitemapEditor","SitemapViewer"})
public final java.lang.Object getChildren(Bundle bundle, ServiceRequest request)
Parameters:
bundle - the Bundle we belong to
request - the current ServiceRequest *
Returns:
null
See Also:
SitemapNode

createNode

@RequireToken
@Action(value="sitemapTreeCreateNode", generate=true)
@Permission(value="editSitemap")
@Groups(values="SitemapEditor")
public final void createNode(Bundle bundle, ServiceRequest request)
Parameters:
bundle - the Bundle we belong to
request - the current ServiceRequest
See Also:
SitemapNode

renameNode

@RequireToken
@Action(value="sitemapTreeRenameNode", generate=true)
@Permission(value="editSitemap")
@Groups(values="SitemapEditor")
public final void renameNode(Bundle bundle, ServiceRequest request)
renames a SitemapNode.

Parameters:
bundle - the Bundle we belong to
request - the current ServiceRequest
See Also:
SitemapNode

moveNode

@RequireToken
@Action(value="sitemapTreeMoveNode", generate=true)
@Permission(value="editSitemap")
@Groups(values="SitemapEditor")
public final void moveNode(Bundle bundle, ServiceRequest request)
Parameters:
bundle - the Bundle we belong to
request - the current ServiceRequest
See Also:
SitemapNode

toggleNodeVisibility

@RequireToken
@Action(value="sitemapTreeToggleNode", generate=true)
@Permission(value="editSitemap")
@Groups(values="SitemapEditor")
public final void toggleNodeVisibility(Bundle bundle, ServiceRequest request)
Parameters:
bundle - the Bundle we belong to
request - the current ServiceRequest
See Also:
SitemapNode

deleteNode

@RequireToken
@Action(value="sitemapTreeDeleteNode", generate=true)
@Permission(value="editSitemap")
@Groups(values="SitemapEditor")
public final void deleteNode(Bundle bundle, ServiceRequest request)
Parameters:
bundle - the Bundle we belong to
request - the current ServiceRequest
See Also:
SitemapNode

init

public void init(ConfigBean c)
initializes the SitemapEditor.

Specified by:
init in interface DeprecatedConfigurable
Parameters:
c - the ConfigBean of this Controller