|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fatwire.gst.foundation.controller.BaseRenderPage
public class BaseRenderPage
The BaseRenderPage class in the implementation that renders an asset. It's intended use is to be called from a Controller (outer wrapper).
For the passing of arguments it makes heavy use of page criteria on the calling Template
| Field Summary | |
|---|---|
protected AliasCoreFieldDao |
aliasCoreFieldDao
|
static List<String> |
CALLTEMPLATE_EXCLUDE_VARS
|
protected COM.FutureTense.Interfaces.ICS |
ics
|
protected static org.apache.commons.logging.Log |
LOG
|
static String |
PACKEDARGS
|
protected WraPathTranslationService |
pathTranslationService
|
static String |
URL_PATH
|
static String |
VIRTUAL_WEBROOT
|
protected WraCoreFieldDao |
wraCoreFieldDao
|
| Constructor Summary | |
|---|---|
BaseRenderPage()
|
|
| Method Summary | |
|---|---|
protected void |
callPage(AssetIdWithSite id,
String pagename,
String packedArgs)
|
protected void |
callTemplate(AssetIdWithSite id,
String tname)
|
protected void |
findAndSetP(AssetIdWithSite id,
Map<String,String> arguments)
Add p to the input parameters, if it is known or knowable. |
protected void |
getCallTemplateArguments(AssetIdWithSite id,
Map<String,String> arguments)
This method collects additional arguments for the CallTemplate call. |
protected CallTemplate.Style |
getCallTemplateCallStyle(String target)
|
protected VanityAsset |
getWraAndResolveAlias(AssetIdWithSite id)
Load the WRA, or the alias, and return it for use by the controller. |
protected void |
imposeCallTemplateStyle(CallTemplate ct,
String targetPagename)
This method allows developers to override the automatically-selected CallTemplate call style. |
protected String |
massagePackedArgs(String packedargs)
|
protected void |
recordCompositionalDependencies()
Record compositional dependencies that are required for the controller |
protected void |
renderPage()
This method is the entry of the class, it does the rendering of the page. |
protected AssetIdWithSite |
resolveAssetId()
In this method the AssetId and the site are resolved. |
protected String |
unpackPackedArgs()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String URL_PATH
public static final String VIRTUAL_WEBROOT
public static final String PACKEDARGS
protected static final org.apache.commons.logging.Log LOG
protected WraPathTranslationService pathTranslationService
protected WraCoreFieldDao wraCoreFieldDao
protected AliasCoreFieldDao aliasCoreFieldDao
protected COM.FutureTense.Interfaces.ICS ics
public static final List<String> CALLTEMPLATE_EXCLUDE_VARS
| Constructor Detail |
|---|
public BaseRenderPage()
| Method Detail |
|---|
protected void callPage(AssetIdWithSite id,
String pagename,
String packedArgs)
protected void callTemplate(AssetIdWithSite id,
String tname)
protected final void findAndSetP(AssetIdWithSite id,
Map<String,String> arguments)
id - asset id with sitearguments - calltemplate arguments
protected void getCallTemplateArguments(AssetIdWithSite id,
Map<String,String> arguments)
id - AssetIdWithSite objectarguments - Mapprotected CallTemplate.Style getCallTemplateCallStyle(String target)
protected VanityAsset getWraAndResolveAlias(AssetIdWithSite id)
id - asset id
protected void imposeCallTemplateStyle(CallTemplate ct,
String targetPagename)
ct - CallTemplate tagtargetPagename - target pagename#setStyle(CallTemplate.Style)protected String massagePackedArgs(String packedargs)
protected void recordCompositionalDependencies()
protected void renderPage()
protected AssetIdWithSite resolveAssetId()
protected String unpackPackedArgs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||