org.infoglue.deliver.util
Class RequestAndMetaInfoCentricCachePopulator

java.lang.Object
  extended by org.infoglue.deliver.util.RequestAndMetaInfoCentricCachePopulator

public class RequestAndMetaInfoCentricCachePopulator
extends java.lang.Object


Field Summary
static org.apache.log4j.Logger logger
           
 
Constructor Summary
RequestAndMetaInfoCentricCachePopulator()
           
 
Method Summary
 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, BrowserBean browserBean, NodeDeliveryController nodeDeliveryController, IntegrationDeliveryController integrationDeliveryController)
          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 recache(DatabaseWrapper dbWrapper, java.lang.Integer siteNodeId)
          This method simulates a call to a page so all castor caches fills up before we throw the old page cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final org.apache.log4j.Logger logger
Constructor Detail

RequestAndMetaInfoCentricCachePopulator

public RequestAndMetaInfoCentricCachePopulator()
Method Detail

recache

public void recache(DatabaseWrapper dbWrapper,
                    java.lang.Integer siteNodeId)
             throws SystemException,
                    java.lang.Exception
This method simulates a call to a page so all castor caches fills up before we throw the old page cache.

Parameters:
db -
siteNodeId -
languageId -
contentId -
Throws:
SystemException
java.lang.Exception

getTemplateController

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,
                                                BrowserBean browserBean,
                                                NodeDeliveryController nodeDeliveryController,
                                                IntegrationDeliveryController integrationDeliveryController)
                                         throws SystemException,
                                                java.lang.Exception
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. The method also consideres wheter or not to invoke the preview-version with administrative functioality or the normal site-delivery version.

Throws:
SystemException
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.