|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.deliver.applications.actions.ViewPageAction
public class ViewPageAction
This is the main delivery action. Gets called when the user clicks on a link that goes inside the site.
| Field Summary | |
|---|---|
static long |
boundContentTime
|
static long |
closeTime
|
static long |
commitTime
|
static long |
contentAttributeTime
|
static long |
contentVersionTime
|
static long |
inheritedServiceBindingTime
|
protected IntegrationDeliveryController |
integrationDeliveryController
|
static long |
isValidTime
|
static long |
lastRequestProcessingTime
|
static org.apache.log4j.Logger |
logger
|
protected NodeDeliveryController |
nodeDeliveryController
|
static long |
qualifyersTime
|
static long |
rollbackTime
|
static long |
selectMatchingEntitiesTime
|
static long |
serviceBindingTime
|
static long |
sortQualifyersTime
|
protected TemplateController |
templateController
|
| Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
|---|
colorScheme |
| Fields inherited from interface webwork.action.Action |
|---|
ERROR, INPUT, LOGIN, NONE, 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(DatabaseWrapper dbWrapper,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
javax.servlet.http.HttpServletRequest request,
InfoGluePrincipal infoGluePrincipal,
boolean allowEditOnSightAtAll)
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(org.exolab.castor.jdo.Database db,
java.lang.Integer protectedSiteNodeVersionId,
boolean protectDeliver)
This method validates that the current page is accessible to the requesting user. |
void |
setCmsUserName(java.lang.String userName)
|
void |
setContentId(java.lang.Integer contentId)
|
void |
setLanguageId(java.lang.Integer languageId)
|
void |
setRecacheCall(boolean isRecacheCall)
|
void |
setReferer(java.lang.String referer)
|
void |
setRepositoryName(java.lang.String repositoryName)
|
void |
setShowSimple(boolean showSimple)
|
void |
setSiteNodeId(java.lang.Integer siteNodeId)
|
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
|---|
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.log4j.Logger logger
protected NodeDeliveryController nodeDeliveryController
protected IntegrationDeliveryController integrationDeliveryController
protected TemplateController templateController
public static long contentVersionTime
public static long serviceBindingTime
public static long contentAttributeTime
public static long boundContentTime
public static long inheritedServiceBindingTime
public static long selectMatchingEntitiesTime
public static long isValidTime
public static long qualifyersTime
public static long sortQualifyersTime
public static long commitTime
public static long rollbackTime
public static long closeTime
public static long lastRequestProcessingTime
| Constructor Detail |
|---|
public ViewPageAction()
| Method Detail |
|---|
public java.lang.String doExecute()
throws java.lang.Exception
doExecute in class WebworkAbstractActionjava.lang.Exception
public java.lang.String doRenderDecoratedPage()
throws java.lang.Exception
java.lang.Exception
public TemplateController getTemplateController(DatabaseWrapper dbWrapper,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
javax.servlet.http.HttpServletRequest request,
InfoGluePrincipal infoGluePrincipal,
boolean allowEditOnSightAtAll)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public boolean handleExtranetLogic(org.exolab.castor.jdo.Database db,
java.lang.Integer protectedSiteNodeVersionId,
boolean protectDeliver)
throws SystemException,
java.lang.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)
public void setShowSimple(boolean showSimple)
public void setRecacheCall(boolean isRecacheCall)
public void setCmsUserName(java.lang.String userName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||