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 URLContentEditor

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.site.content.admin.AbstractBasicContentEditor
          extended by org.torweg.pulse.component.core.contentregistry.URLContentEditor
All Implemented Interfaces:
DeprecatedConfigurable

public class URLContentEditor
extends AbstractBasicContentEditor

the editor for a URLContent within the administration.

Version:
$Revision: 1453 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Field Summary
 
Fields inherited from class org.torweg.pulse.site.content.admin.AbstractBasicContentEditor
LOGGER
 
Constructor Summary
URLContentEditor()
           
 
Method Summary
 void copyURLContent(Bundle bundle, ServiceRequest request)
          creates a copy of a URLContent specified by parameter "id" in request in a folder specified by parameter "toid" in request using the locale of the folder.
 AbstractBasicContentEditorResult initEditor(Bundle bundle, ServiceRequest request)
          returns the initialised URLContentEditor for a URLContent which is determined by a given id in the request.
 void saveEditor(Bundle bundle, ServiceRequest request)
          saves the basic properties of a content (name, suffix, keywords).
 
Methods inherited from class org.torweg.pulse.site.content.admin.AbstractBasicContentEditor
addAttachmentToContent, addToLocalizationMap, buildDocument, editAttachmentOfContent, findSitemapNodesForContent, getConfig, init, initAttachmentDescriptionEditor, initFileBrowserForAttachmentsForContent, initHibernateSearchFix, initReferenceDurationEditor, initSummaryEditor, loadAttachmentDescription, loadAttachmentsForContent, loadContentLocalizationMap, loadSummary, removeAttachmentFromContent, removeFromLocalizationMap, removeReferenceDuration, saveAttachmentDescription, saveSummary, setBasics
 
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

URLContentEditor

public URLContentEditor()
Method Detail

initEditor

@RequireToken
@Action(value="initURLContentEditor")
@Permission(value="editURLContent")
@Groups(values="CoreAdministrator")
public final AbstractBasicContentEditorResult initEditor(Bundle bundle, ServiceRequest request)
returns the initialised URLContentEditor for a URLContent which is determined by a given id in the request.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
an AJAX-result: the initialised URLContentEditor

saveEditor

@RequireToken
@Action(value="saveURLContent", generate=true)
@Permission(value="editURLContent")
@Groups(values="CoreAdministrator")
public final void saveEditor(Bundle bundle, ServiceRequest request)
saves the basic properties of a content (name, suffix, keywords).

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

copyURLContent

@RequireToken
@Action(value="copyURLContent", generate=true)
@Permission(value="editURLContent")
@Groups(values="CoreAdministrator")
public final void copyURLContent(Bundle bundle, ServiceRequest request)
creates a copy of a URLContent specified by parameter "id" in request in a folder specified by parameter "toid" in request using the locale of the folder.

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