|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBaseModule
com.openedit.modules.edit.BaseEditorModule
com.openedit.modules.edit.EditModule
public class EditModule
This module provides the page editing functionality, and several actions to support it.
| Constructor Summary | |
|---|---|
EditModule()
|
|
| Method Summary | |
|---|---|
void |
claimEditLock(WebPageRequest inReq)
This command claims the edit lock for a path, which should be given via the editPath request parameter, unless the doNotCheckLock request
parameter is set to true, in which case nothing will be done. |
void |
forciblyClaimEditLock(WebPageRequest inReq)
|
EditLockRegistry |
getEditLockRegistry()
Returns the edit lock registry used when claiming and releasing locks. |
java.lang.String |
getEditLockWarningPath()
|
void |
releaseEditLock(WebPageRequest inReq)
|
void |
setEditLockWarningPath(java.lang.String editLockWarningPath)
|
| Methods inherited from class com.openedit.modules.edit.BaseEditorModule |
|---|
check404, checkExist, forceDownload, redirectToOriginal, writeContent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditModule()
| Method Detail |
|---|
public EditLockRegistry getEditLockRegistry()
public void claimEditLock(WebPageRequest inReq)
throws OpenEditException,
javax.servlet.ServletException
editPath request parameter, unless the doNotCheckLock request
parameter is set to true, in which case nothing will be done. If the edit lock is
already claimed, the user will be redirected to a warning page.
javax.servlet.ServletException
OpenEditExceptionpublic java.lang.String getEditLockWarningPath()
public void setEditLockWarningPath(java.lang.String editLockWarningPath)
public void releaseEditLock(WebPageRequest inReq)
throws OpenEditException
OpenEditException
public void forciblyClaimEditLock(WebPageRequest inReq)
throws OpenEditException
OpenEditException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2008 OpenEdit Inc. All rights reserved. last modified: Jan 06 2009
