|
|||||||||||
| 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 |
| 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.Integer |
getContentId()
|
java.lang.Integer |
getLanguageId()
|
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. |
void |
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 |
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, getSession, setCommand, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 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 void 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)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||