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.shop.admin
Class ShopContentRegistryEditor

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.shop.admin.ShopContentRegistryEditor
All Implemented Interfaces:
DeprecatedConfigurable

public class ShopContentRegistryEditor
extends AbstractContentRegistryEditor

the ShopContentRegistryEditor of the Shop-Bundle.

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

Version:
$Revision: 1480 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
ShopContentRegistryEditor()
           
 
Method Summary
 RegistryEditorResult create(Bundle bundle, ServiceRequest request)
          starts create-new-(ShopContent, ContentFolder )-editor.
 void createShopContent(Bundle bundle, ServiceRequest request)
          creates and saves a new ShopContent.
 
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

ShopContentRegistryEditor

public ShopContentRegistryEditor()
Method Detail

create

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

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

createShopContent

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

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