Class UpdateSectionTask

java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.persist.UpdateSectionTask
All Implemented Interfaces:
PersistTask<Section,Entity>

public class UpdateSectionTask extends Object implements PersistTask<Section,Entity>
Task for updating the html content of a section. This task takes a Section containing the key and the html content as argument. The given key has to be the key of the "Page_content_to_section" entity (not the one of the "Section" entity). This task then retrieves the "Section" entity to update by getting the section directly or via a snippet.