com.ibm.portal.spa.service
Interface StaticPageServiceHome

All Known Subinterfaces:
PortalStaticPageServiceHome, PortletStaticPageServiceHome

public interface StaticPageServiceHome

Home interface to the request independent artifacts of the static page API. Instantiate actually one of the subclasses to access these methods, e.g. PortalStaticPageServiceHome.

Since:
6.1.0

Method Summary
 StaticPageContentHandler createStaticPageContentHandler(LayoutModelController<LayoutNode,ModifiableLayoutNode> aController)
          Deprecated. use createStaticPageContentHandler(LayoutModelController, Context) instead
 StaticPageContentHandler createStaticPageContentHandler(LayoutModelController<LayoutNode,ModifiableLayoutNode> aController, Context aContext)
          Creates a StaticPageContentHandler that will synchronize the LayoutModelController with the static page events
 StaticPageContentHandler createStaticPageContentHandler(LayoutModelController<LayoutNode,ModifiableLayoutNode> aController, Context aContext, boolean forceDelete)
          Creates a StaticPageContentHandler that will synchronize the LayoutModelController with the static page events
 StaticPageZipParser createStaticPageZipParser()
          Creates a parser that parses specific markup files inside a ZIP file and that generates a merged event stream.
 FilenameParserFactory getFilenameParserFactory()
          Returns the factory that produces FilenameParser instances
 javax.activation.FileTypeMap getFileTypeMap()
          Returns the FileTypeMap that manages the suffixes of filenames to mime types
 StaticPageParserFactory getStaticPageParserFactory()
          Returns the factory that produces StaticPageParser instances.
 

Method Detail

createStaticPageContentHandler

@Deprecated
StaticPageContentHandler createStaticPageContentHandler(LayoutModelController<LayoutNode,ModifiableLayoutNode> aController)
                                                        throws ModelException
Deprecated. use createStaticPageContentHandler(LayoutModelController, Context) instead

Creates a StaticPageContentHandler that will synchronize the LayoutModelController with the static page events

Parameters:
aController - controller that contains the LayoutModel to modify
Returns:
the handler that actually performs the modifications
Throws:
ModelException

createStaticPageContentHandler

StaticPageContentHandler createStaticPageContentHandler(LayoutModelController<LayoutNode,ModifiableLayoutNode> aController,
                                                        Context aContext)
                                                        throws ModelException
Creates a StaticPageContentHandler that will synchronize the LayoutModelController with the static page events

Parameters:
aController - controller that contains the LayoutModel to modify
aContext - the COR context
Returns:
the handler that actually performs the modifications
Throws:
ModelException

createStaticPageContentHandler

StaticPageContentHandler createStaticPageContentHandler(LayoutModelController<LayoutNode,ModifiableLayoutNode> aController,
                                                        Context aContext,
                                                        boolean forceDelete)
                                                        throws ModelException
Creates a StaticPageContentHandler that will synchronize the LayoutModelController with the static page events

Parameters:
aController - controller that contains the LayoutModel to modify
aContext - the COR context
forceDelete - indicator if the handler fully cleanup the old content or if the old content would be merged with the new content cleanup the old content preserve old content
Returns:
the handler that actually performs the modifications
Throws:
ModelException

createStaticPageZipParser

StaticPageZipParser createStaticPageZipParser()
Creates a parser that parses specific markup files inside a ZIP file and that generates a merged event stream.

Returns:
the parser

getFilenameParserFactory

FilenameParserFactory getFilenameParserFactory()
Returns the factory that produces FilenameParser instances

Returns:
the factory

getFileTypeMap

javax.activation.FileTypeMap getFileTypeMap()
Returns the FileTypeMap that manages the suffixes of filenames to mime types

Returns:
the map for static pages

getStaticPageParserFactory

StaticPageParserFactory getStaticPageParserFactory()
Returns the factory that produces StaticPageParser instances.

Returns:
the parser factory