|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.cms.admin.CMSPageEditor
public class CMSPageEditor
the editor for a CMS Page.
Page| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
CMSPageEditor()
|
|
| Method Summary | |
|---|---|
void |
deletePage(Bundle bundle, ServiceRequest request)
deletes a given page from the current content. |
void |
init(ConfigBean c)
initializes the CMSContentEditor. |
FCKEditorResult |
initEditor(Bundle bundle, ServiceRequest request)
starts the FCKEditor for the page determined by the request. |
CMSPageEditorResult |
loadPage(Bundle bundle, ServiceRequest request)
loads/returns the contents of a specific page. |
void |
savePage(Bundle bundle, ServiceRequest request)
saves either existing or creates a new page for the current content. |
| 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 |
|---|
public CMSPageEditor()
| Method Detail |
|---|
@RequireToken @Action(value="initPageEditor", generate=true) @Permission(value="viewPages") @Groups(values="CMSAdministrator") public final FCKEditorResult initEditor(Bundle bundle, ServiceRequest request)
If the request doesn't contain a parameter named 'id' the FCKEditor will opoen with an empty (new) page.
bundle - the current Bundlerequest - the current ServiceRequest
CMSContentEditor@RequireToken @Action(value="savePage", generate=true) @Permission(value="editPages") @Groups(values="CMSAdministrator") public final void savePage(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="deletePage", generate=true) @Permission(value="editPages") @Groups(values="CMSAdministrator") public final void deletePage(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="loadPage", generate=true) @Permission(value="viewPages") @Groups(values="CMSAdministrator") public final CMSPageEditorResult loadPage(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest
CMSContentEditorpublic void init(ConfigBean c)
CMSContentEditor.
Does nothing.
init in interface DeprecatedConfigurablec - the ConfigBean of this Controller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||