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.cms.admin
Class CMSContentRegistryEditor

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.site.content.admin.AbstractContentRegistryEditor
          extended by org.torweg.pulse.component.cms.admin.CMSContentRegistryEditor
All Implemented Interfaces:
DeprecatedConfigurable

public class CMSContentRegistryEditor
extends AbstractContentRegistryEditor

the CMSContentRegistryEditor of the CMS-Bundle.

This controller corresponds to the CMS-branch of the content-registry shown in the west-panel of the website-administration and provides editing functions for the CMS-branch of ContentRegistry.

Version:
$Revision: 1465 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
CMSContentRegistryEditor()
           
 
Method Summary
 RegistryEditorResult create(Bundle bundle, ServiceRequest request)
          starts create-new-(CMSContent, ContentFolder )-editor.
 void createCMSContent(Bundle bundle, ServiceRequest request)
          creates and saves a new CMSContent.
 
Methods inherited from class org.torweg.pulse.site.content.admin.AbstractContentRegistryEditor
applyContentRegistrySettingsToEditNodeMap, applyContentRegistrySettingsToSelectNodeOrFolderMap, browseContentRegistryEdit, browseContentRegistrySelect, canMoveContentOnlyToFolderCheck, createContentFolderNode, createContentGroup, deleteAbstractContentNode, deleteRegistryLocaleNode, getConfig, getContentRegistryIdPath, init, initEditor, moveRegistryLocaleNode, renameRegistryLocaleNode
 
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

CMSContentRegistryEditor

public CMSContentRegistryEditor()
Method Detail

create

@RequireToken
@Action(value="contentRegistryCreate")
@Permission(value="useContentRegistry")
@Groups(values="CMSAdministrator")
public final RegistryEditorResult create(Bundle bundle, ServiceRequest request)
starts create-new-(CMSContent, ContentFolder )-editor.

Specified by:
create in class AbstractContentRegistryEditor
Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
an AJAX-result

createCMSContent

@RequireToken
@Action(value="createCMSContent")
@Permission(value="useContentRegistry")
@Groups(values="CMSAdministrator")
public final void createCMSContent(Bundle bundle, ServiceRequest request)
creates and saves a new CMSContent.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest