com.fatwire.gst.foundation.include
Class DefaultIncludeService

java.lang.Object
  extended by com.fatwire.gst.foundation.include.DefaultIncludeService
All Implemented Interfaces:
IncludeService

public class DefaultIncludeService
extends Object
implements IncludeService

Since:
Apr 13, 2011
Author:
Dolf Dijkstra

Constructor Summary
DefaultIncludeService(COM.FutureTense.Interfaces.ICS ics)
           
 
Method Summary
 IncludeElement element(String name, String elementname)
          Creates a IncludeElement and registers this under the name for retrieval in the View layer by that name.
 Include find(String name)
           
 IncludePage page(String name, String pagename, CallTemplate.Style style)
          Creates a IncludePage and registers this under the name for retrieval in the View layer by that name.
 IncludeTemplate template(String name, com.fatwire.assetapi.data.AssetId asset, String tname)
          Creates a IncludeTemplate and registers this under the name for retrieval in the View layer by that name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIncludeService

public DefaultIncludeService(COM.FutureTense.Interfaces.ICS ics)
Method Detail

element

public IncludeElement element(String name,
                              String elementname)
Description copied from interface: IncludeService
Creates a IncludeElement and registers this under the name for retrieval in the View layer by that name.

Specified by:
element in interface IncludeService
Parameters:
name - the name of the Include for reference in the View layer.
elementname - the name of the element to call.
Returns:
the created IncludeElement

page

public IncludePage page(String name,
                        String pagename,
                        CallTemplate.Style style)
Description copied from interface: IncludeService
Creates a IncludePage and registers this under the name for retrieval in the View layer by that name.

Specified by:
page in interface IncludeService
Parameters:
name - the name of the Include for reference in the View layer.
pagename - the name of the SiteCatalog entry to call.
Returns:
the created IncludePage

template

public IncludeTemplate template(String name,
                                com.fatwire.assetapi.data.AssetId asset,
                                String tname)
Description copied from interface: IncludeService
Creates a IncludeTemplate and registers this under the name for retrieval in the View layer by that name.

Specified by:
template in interface IncludeService
Parameters:
name - the name of the Include for reference in the View layer
asset - the asset to render.
tname - the template name.
Returns:
the created IncludeTemplate

find

public Include find(String name)


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.