|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.page.PageConfig
@StableMinor(version="4.1", sinceVersion="4.0") public class PageConfig
Represents a Page object
Constructor Summary | |
---|---|
PageConfig()
|
Method Summary | |
---|---|
PageConfig |
clone()
|
void |
deserialize(Node pageNode)
|
String |
getAccessControlListId()
|
int |
getCacheType()
|
int |
getCenterPage()
|
String |
getChannelId()
|
String |
getDescription()
|
String |
getId()
|
boolean |
getInheritsMetaTags()
|
boolean |
getInheritsStylesheets()
|
String |
getKeywords()
|
String |
getLayout()
|
String |
getName()
|
String |
getParentTemplateId()
|
int |
getPosition()
|
int |
getProtocol()
|
String |
getRunTimeServiceInstanceId()
|
String |
getRunTimeServiceInterfaceId()
|
int |
getServerSideIncludeType()
Returns whether the server side include directives are processed for this page. |
String |
getTitle()
|
int |
getType()
|
boolean |
hasRunTimeServiceInterfaces()
|
boolean |
isHidden()
|
boolean |
isOverrideServerSideInclude()
Indicates whether the server side include type should be calculated automatically by the framework. |
boolean |
isPopup()
|
boolean |
isTemplate()
|
void |
serialize(PageConfig pageConfig,
OutputStream outputStream)
|
void |
setAccessControlListId(String accessControlListId)
|
void |
setCacheType(int cacheType)
|
void |
setCenterPage(int centerPage)
|
void |
setChannelId(String channelId)
|
void |
setDescription(String description)
|
void |
setHidden(boolean hidden)
|
void |
setId(String id)
|
void |
setInheritsMetaTags(boolean inheritsMetaTags)
|
void |
setInheritsStylesheets(boolean inheritsStylesheets)
|
void |
setKeywords(String keywords)
|
void |
setLayout(String layout)
|
void |
setName(String name)
|
void |
setOverrideServerSideInclude(boolean overrideServerSideInclude)
Sets whether the server side include type should be calculated automatically by the framework. |
void |
setParentTemplateId(String parentTemplateId)
|
void |
setPosition(int position)
|
void |
setProtocol(int protocol)
|
void |
setRunTimeServiceInstanceId(String runTimeServiceInstanceId)
|
void |
setRunTimeServiceInterfaceId(String runTimeServiceInterfaceId)
|
void |
setServerSideIncludeType(int serverSideIncludeType)
Sets whether the server side include directives should be processed for this page. |
void |
setTemplate(boolean isTemplate)
|
void |
setTitle(String title)
|
void |
setType(int type)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PAGE_TYPE_USER
public static final int PAGE_TYPE_ADMIN
public static final String PAGE_MAIN
public static final String PAGE_ID_ADMIN_SERVICES
public static final String PAGE_ID_ADMIN_PAGES
public static final String PAGE_ID_ADMIN_ACCESS
public static final String PAGE_ID_ADMIN_SUBCHANNELS
public static final String PAGE_ID_ADMIN_PAGE_TEMPLATES
public static final String PAGE_ID_ADMIN_CHANNEL_TEMPLATES
public static final String PAGE_ID_ADMIN_GROUPS
public static final String PAGE_ID_ADMIN_USERS
public static final String PAGE_ID_ADMIN_LOCALGROUPS
public static final String PAGE_ID_ADMIN_LOCALUSERS
public static final String PAGE_ID_ADMIN_BLANK
public static final int PAGE_CACHE_TYPE_DISABLED
public static final int PAGE_CACHE_TYPE_ALL_USERS
public static final int PAGE_CACHE_TYPE_ONLY_GUEST
public static final int PAGE_CACHE_TYPE_INHERIT
public static final int PAGE_CENTER_NO
public static final int PAGE_CENTER_YES
public static final int PAGE_CENTER_INHERIT
public static final int PAGE_SERVER_SIDE_INCLUDE_NO
public static final int PAGE_SERVER_SIDE_INCLUDE_YES
public static final int PAGE_PROTOCOL_INHERIT
public static final int PAGE_PROTOCOL_HTTP
public static final int PAGE_PROTOCOL_HTTPS
public static final int PAGE_PROTOCOL_ALL
public static final String PAGE_PROTOCOL_HTTP_NAME
public static final String PAGE_PROTOCOL_HTTPS_NAME
Constructor Detail |
---|
public PageConfig()
Method Detail |
---|
public String getId()
public void setId(String id)
Id
- The pageId to set.public String getName()
public void setName(String name)
name
- The name to set.public String getDescription()
public void setDescription(String description)
description
- The description to set.public String getLayout()
public void setLayout(String layout)
layout
- The layout to set.public String getChannelId()
public void setChannelId(String channelId)
channelId
- The channelId to set.public int getCacheType()
public void setCacheType(int cacheType)
cacheType
- The type of cache to set.public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- The hidden to set.public boolean getInheritsStylesheets()
public boolean getInheritsMetaTags()
public void setInheritsStylesheets(boolean inheritsStylesheets)
inheritsStylesheets
- The inheritsStylesheets to set.public void setInheritsMetaTags(boolean inheritsMetaTags)
inheritsMetaTags
- The inheritsMetaTags to set.public int getProtocol()
public void setProtocol(int protocol)
protocol
- The protocol to set.public String getKeywords()
public void setKeywords(String keywords)
keywords
- The keywords to set.public String getTitle()
public void setTitle(String title)
title
- The title to set.public String getParentTemplateId()
public void setParentTemplateId(String parentTemplateId)
parentTemplateId
- The parentTemplateId to set.public int getPosition()
public void setPosition(int position)
position
- The position to set.public int getType()
public void setType(int type)
position
- The position to set.public boolean isTemplate()
public void setTemplate(boolean isTemplate)
isTemplate
- The isTemplate to set.public void setRunTimeServiceInterfaceId(String runTimeServiceInterfaceId)
public String getRunTimeServiceInterfaceId()
public void setRunTimeServiceInstanceId(String runTimeServiceInstanceId)
public String getRunTimeServiceInstanceId()
public boolean hasRunTimeServiceInterfaces()
public boolean isPopup()
public String getAccessControlListId()
public void setAccessControlListId(String accessControlListId)
public int getCenterPage()
public void setCenterPage(int centerPage)
public void serialize(PageConfig pageConfig, OutputStream outputStream) throws PortalException
PortalException
public void deserialize(Node pageNode) throws PortalException
PortalException
public PageConfig clone() throws CloneNotSupportedException
clone
in interface ICloneableCacheEntry
clone
in interface ICloneableConfig<PageConfig>
clone
in class Object
CloneNotSupportedException
public boolean isOverrideServerSideInclude()
By default this value is false.
getServerSideIncludeType()
public void setOverrideServerSideInclude(boolean overrideServerSideInclude)
overrideServerSideInclude
- false if server-side include type is calculated by the framework. true otherwise.getServerSideIncludeType()
public int getServerSideIncludeType()
public void setServerSideIncludeType(int serverSideIncludeType)
serverSideIncludeType
- either 0 or 1
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |