org.torweg.pulse.component.core.contentregistry
Class URLContentEditor
java.lang.Object
org.torweg.pulse.bundle.Controller
org.torweg.pulse.site.content.admin.AbstractBasicContentEditor
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
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLContentEditor
public URLContentEditor()
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 Bundlerequest - 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 Bundlerequest - 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 Bundlerequest - the current ServiceRequest