com.ibm.portal.content
Interface StaticContentPage

All Superinterfaces:
ActiveFlag, ContentNode, ContentPage, DeviceClassCapable, DisplayOptions, Identifiable, Localized, MarkupCapable, ThemeProvider
All Known Subinterfaces:
ModifiableStaticContentPage

public interface StaticContentPage
extends ContentPage, DisplayOptions

An interface for a content node representing an page with static layout.

Since:
6.1.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ibm.portal.content.DisplayOptions
DisplayOptions.DisplayOption
 
Method Summary
 java.lang.String getFileName(Markup markup)
          Returns the file name in the content zip file for the supported markup.
 java.lang.String getFileName(java.lang.String markup)
          Returns the file name in the content zip file for the supported markup.
 byte[] getStaticContent(Markup aMarkup)
          Gets the content of this Page for an existing markup.
 byte[] getStaticContent(java.lang.String aMarkup)
          Gets the content of this Page for an existing markup.
 java.util.zip.ZipInputStream getZipInputStream(Markup aMarkup)
          Gets the ZipInputStream of this Page for an existing markup.
 java.util.zip.ZipInputStream getZipInputStream(java.lang.String aMarkup)
          Gets the ZipInputStream of this Page for an existing markup.
 
Methods inherited from interface com.ibm.portal.content.ContentNode
getContentNodeType
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 
Methods inherited from interface com.ibm.portal.admin.MarkupCapable
getMarkups, supportsMarkup, supportsMarkup
 
Methods inherited from interface com.ibm.portal.ActiveFlag
isActive
 
Methods inherited from interface com.ibm.portal.devicesupport.DeviceClassCapable
getDeviceClasses, supportsDeviceClass
 
Methods inherited from interface com.ibm.portal.content.ThemeProvider
getTheme
 
Methods inherited from interface com.ibm.portal.content.DisplayOptions
getDisplayOption, getDisplayOption
 

Method Detail

getFileName

java.lang.String getFileName(Markup markup)
                             throws ModelException
Returns the file name in the content zip file for the supported markup.

Parameters:
markup - - The markup name
Returns:
String - The file name. The file name may be null.
Throws:
ModelException

getFileName

java.lang.String getFileName(java.lang.String markup)
Returns the file name in the content zip file for the supported markup.

Parameters:
markup - - The markup name
Returns:
String - The file name. The file name may be null.

getStaticContent

byte[] getStaticContent(Markup aMarkup)
                        throws java.io.IOException,
                               ModelException
Gets the content of this Page for an existing markup.

Parameters:
aMarkup - The markup name.
Returns:
The byte[] that represents the zipped content of this page, may be null
Throws:
java.io.IOException
ModelException

getStaticContent

byte[] getStaticContent(java.lang.String aMarkup)
                        throws java.io.IOException
Gets the content of this Page for an existing markup.

Parameters:
aMarkup - The markup name.
Returns:
The byte[] that represents the zipped content of this page, may be null
Throws:
java.io.IOException

getZipInputStream

java.util.zip.ZipInputStream getZipInputStream(Markup aMarkup)
                                               throws java.io.IOException,
                                                      ModelException
Gets the ZipInputStream of this Page for an existing markup.

Parameters:
aMarkup - The markup name.
Returns:
The ZipInputStream that is associated with this page and the specified markup. The ZipInputStream may be null.
Throws:
java.io.IOException
ModelException

getZipInputStream

java.util.zip.ZipInputStream getZipInputStream(java.lang.String aMarkup)
                                               throws java.io.IOException
Gets the ZipInputStream of this Page for an existing markup.

Parameters:
aMarkup - The markup name.
Returns:
The ZipInputStream that is associated with this page and the specified markup. The ZipInputStream may be null.
Throws:
java.io.IOException