public class SaveCommand extends Object implements HttpCommand
| Modifier and Type | Field and Description |
|---|---|
protected uk.ac.cam.caret.sakai.rwiki.service.api.RWikiObjectService |
objectService |
| Constructor and Description |
|---|
SaveCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doUpdate(String name,
String realm,
Date versionDate,
String content) |
void |
execute(Dispatcher dispatcher,
HttpServletRequest request,
HttpServletResponse response) |
String |
getCancelPath() |
String |
getContentChangedPath() |
String |
getNoUpdatePath() |
String |
getPreviewPath() |
String |
getSuccessfulPath() |
void |
init() |
void |
setCancelPath(String cancelPath) |
void |
setContentChangedPath(String contentChangedPath) |
void |
setNoUpdatePath(String noUpdatePath) |
void |
setPreviewPath(String previewPath) |
void |
setSuccessfulPath(String successfulPath) |
protected void |
successfulUpdateDispatch(Dispatcher dispatcher,
HttpServletRequest request,
HttpServletResponse response) |
protected uk.ac.cam.caret.sakai.rwiki.service.api.RWikiObjectService objectService
public void init()
public void execute(Dispatcher dispatcher, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
execute in interface HttpCommandServletExceptionIOExceptionprotected void successfulUpdateDispatch(Dispatcher dispatcher, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServletExceptionIOExceptionpublic String getSuccessfulPath()
public void setSuccessfulPath(String successfulPath)
public String getContentChangedPath()
public void setContentChangedPath(String contentChangedPath)
public String getNoUpdatePath()
public void setNoUpdatePath(String noUpdatePath)
public String getPreviewPath()
public void setPreviewPath(String previewPath)
public String getCancelPath()
public void setCancelPath(String cancelPath)
Copyright © 2003-2014 Sakai Project. All Rights Reserved.