|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
com.xpn.xwiki.web.XWikiAction
com.xpn.xwiki.web.sx.AbstractSxAction
public abstract class AbstractSxAction
Abstract Skin Extension action. Contains the logic to generate the response based on a extension source and a type of extension that implementing classes must provide.
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
AbstractSxAction()
|
|
| Method Summary | |
|---|---|
abstract Extension |
getExtensionType()
Get the type of extension, depends on the type of action. |
protected abstract org.slf4j.Logger |
getLogger()
|
String |
render(com.xpn.xwiki.XWikiContext context)
|
void |
renderExtension(SxSource sxSource,
Extension sxType,
com.xpn.xwiki.XWikiContext context)
This method must be called by render(XWikiContext). |
| Methods inherited from class com.xpn.xwiki.web.XWikiAction |
|---|
action, cleanupComponents, csrfTokenCheck, execute, execute, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, sendGlobalRedirect, sendRedirect |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, 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 |
| Constructor Detail |
|---|
public AbstractSxAction()
| Method Detail |
|---|
protected abstract org.slf4j.Logger getLogger()
public void renderExtension(SxSource sxSource,
Extension sxType,
com.xpn.xwiki.XWikiContext context)
throws com.xpn.xwiki.XWikiException
sxSource - the source of the extension.sxType - the type of extensioncontext - the XWiki context when rendering the skin extension.
com.xpn.xwiki.XWikiException - when an error occurs when building the response.
public String render(com.xpn.xwiki.XWikiContext context)
throws com.xpn.xwiki.XWikiException
render in class com.xpn.xwiki.web.XWikiActioncom.xpn.xwiki.XWikiExceptionpublic abstract Extension getExtensionType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||