com.liferay.portlet.blogs.action
Class TrackbackAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portlet.blogs.action.TrackbackAction
public class TrackbackAction
- extends PortletAction
| Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
|
Method Summary |
protected void |
addTrackback(ActionRequest actionRequest,
ActionResponse actionResponse)
|
protected BlogsEntry |
getBlogsEntry(ActionRequest actionRequest)
|
protected boolean |
isCheckMethodOnProcessAction()
|
protected boolean |
isCommentsEnabled(ActionRequest actionRequest)
|
void |
processAction(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
|
protected void |
sendError(ActionRequest actionRequest,
ActionResponse actionResponse,
String msg)
|
protected void |
sendResponse(ActionRequest actionRequest,
ActionResponse actionResponse,
String msg,
boolean success)
|
protected void |
sendSuccess(ActionRequest actionRequest,
ActionResponse actionResponse)
|
protected void |
validate(ActionRequest actionRequest,
String remoteIP,
String url)
|
protected void |
validate(BlogsEntry entry)
|
| Methods inherited from class com.liferay.portal.struts.PortletAction |
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, getStrictPortletSetup, getStrictPortletSetup, hideDefaultErrorMessage, hideDefaultSuccessMessage, hideDefaultSuccessMessage, isDisplaySuccessMessage, processEvent, redirectToLogin, render, sendRedirect, sendRedirect, sendRedirect, serveResource, setForward, strutsExecute, writeJSON, writeJSON |
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackbackAction
public TrackbackAction()
TrackbackAction
protected TrackbackAction(Trackback trackback)
processAction
public void processAction(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Overrides:
processAction in class PortletAction
- Throws:
Exception
addTrackback
protected void addTrackback(ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Throws:
Exception
getBlogsEntry
protected BlogsEntry getBlogsEntry(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
isCheckMethodOnProcessAction
protected boolean isCheckMethodOnProcessAction()
- Overrides:
isCheckMethodOnProcessAction in class PortletAction
isCommentsEnabled
protected boolean isCommentsEnabled(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
sendError
protected void sendError(ActionRequest actionRequest,
ActionResponse actionResponse,
String msg)
throws Exception
- Throws:
Exception
sendResponse
protected void sendResponse(ActionRequest actionRequest,
ActionResponse actionResponse,
String msg,
boolean success)
throws Exception
- Throws:
Exception
sendSuccess
protected void sendSuccess(ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Throws:
Exception
validate
protected void validate(ActionRequest actionRequest,
String remoteIP,
String url)
throws Exception
- Throws:
Exception
validate
protected void validate(BlogsEntry entry)
throws TrackbackValidationException
- Throws:
TrackbackValidationException