|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
|
+--org.infoglue.cms.applications.deliver.actions.ViewPageAction
This is the main delivery action. Gets called when the user clicks on a link that goes inside the site.
| Field Summary | |
protected IntegrationDeliveryController |
integrationDeliveryController
|
protected NodeDeliveryController |
nodeDeliveryController
|
protected TemplateController |
templateController
|
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, SUCCESS |
| Constructor Summary | |
ViewPageAction()
The constructor for this action - contains nothing right now. |
|
| Method Summary | |
java.lang.String |
doExecute()
This method is the application entry-point. |
java.lang.String |
doRenderDecoratedPage()
This method the renderer for the component editor. |
java.lang.Integer |
getContentId()
|
java.lang.Integer |
getLanguageId()
|
java.lang.String |
getReferer()
|
java.lang.String |
getRepositoryName()
|
java.lang.Integer |
getSiteNodeId()
Setters and getters for all things sent to the page in the request |
TemplateController |
getTemplateController(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
javax.servlet.http.HttpServletRequest request)
This method should be much more sophisticated later and include a check to see if there is a digital asset uploaded which is more specialized and can be used to act as serverside logic to the template. |
boolean |
handleExtranetLogic()
This method validates that the current page is accessible to the requesting user. |
void |
setContentId(java.lang.Integer contentId)
|
void |
setLanguageId(java.lang.Integer languageId)
|
void |
setReferer(java.lang.String referer)
|
void |
setRepositoryName(java.lang.String repositoryName)
|
void |
setSiteNodeId(java.lang.Integer siteNodeId)
|
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
doDefault, execute, getCurrentUrl, getError, getErrors, getHttpSession, getLocalizedString, getLogger, getRequest, getResponse, getSession, setCommand, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected NodeDeliveryController nodeDeliveryController
protected IntegrationDeliveryController integrationDeliveryController
protected TemplateController templateController
| Constructor Detail |
public ViewPageAction()
| Method Detail |
public java.lang.String doExecute()
throws java.lang.Exception
doExecute in class org.infoglue.cms.applications.common.actions.WebworkAbstractActionjava.lang.Exception
public java.lang.String doRenderDecoratedPage()
throws java.lang.Exception
java.lang.Exception
public TemplateController getTemplateController(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
javax.servlet.http.HttpServletRequest request)
throws org.infoglue.cms.exception.SystemException,
java.lang.Exception
org.infoglue.cms.exception.SystemException
java.lang.Exception
public boolean handleExtranetLogic()
throws org.infoglue.cms.exception.SystemException,
java.lang.Exception
org.infoglue.cms.exception.SystemException
java.lang.Exceptionpublic java.lang.Integer getSiteNodeId()
public void setSiteNodeId(java.lang.Integer siteNodeId)
public java.lang.Integer getContentId()
public void setContentId(java.lang.Integer contentId)
public java.lang.Integer getLanguageId()
public void setLanguageId(java.lang.Integer languageId)
public java.lang.String getRepositoryName()
public void setRepositoryName(java.lang.String repositoryName)
public java.lang.String getReferer()
public void setReferer(java.lang.String referer)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||