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
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. |
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