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.contentregistry
Class CoreContentRegistryEditor

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.core.contentregistry.CoreContentRegistryEditor
All Implemented Interfaces:
DeprecatedConfigurable

public class CoreContentRegistryEditor
extends AbstractContentRegistryEditor

Version:
$Revision: 2057 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
CoreContentRegistryEditor()
           
 
Method Summary
 RegistryEditorResult create(Bundle bundle, ServiceRequest request)
          starts create-new-(FilterContent,FileContent ContentFolderNode)-editor.
 void createFileContent(Bundle bundle, ServiceRequest request)
          creates and saves a new FileContent.
 void createFilterContent(Bundle bundle, ServiceRequest request)
          creates and saves a new FilterContent.
 void createURLContent(Bundle bundle, ServiceRequest request)
          creates and saves a new URLContent.
 
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

CoreContentRegistryEditor

public CoreContentRegistryEditor()
Method Detail

create

@RequireToken
@Action(value="contentRegistryCreate", generate=true)
@Permission(value="useContentRegistry")
@Groups(values="Admin-UI")
public final RegistryEditorResult create(Bundle bundle, ServiceRequest request)
starts create-new-(FilterContent,FileContent ContentFolderNode)-editor.

TODO: add a clear description!

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

createURLContent

@RequireToken
@Action(value="createURLContent", generate=true)
@Permission(value="useContentRegistry")
@Groups(values="Admin-UI")
public final void createURLContent(Bundle bundle, ServiceRequest request)
creates and saves a new URLContent.

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

createFileContent

@RequireToken
@Action(value="createFileContent", generate=true)
@Permission(value="useContentRegistry")
@Groups(values="Admin-UI")
public final void createFileContent(Bundle bundle, ServiceRequest request)
creates and saves a new FileContent.

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

createFilterContent

@RequireToken
@Action(value="createFilterContent", generate=true)
@Permission(value="useContentRegistry")
@Groups(values="Admin-UI")
public final void createFilterContent(Bundle bundle, ServiceRequest request)
creates and saves a new FilterContent.

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