|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.channel.ChannelConfig
@StableMinor(version="5.5", sinceVersion="4.0") public class ChannelConfig
Channel entity class
Field Summary | |
---|---|
static int |
CHANNEL_TYPE_BASIC
|
static int |
CHANNEL_TYPE_LUMISADMIN
|
static int |
FRIENDLY_PATH_TYPE_CHANNEL_NAME
The friendly path is generated using the parent channel's path and appending this channel's name |
static int |
FRIENDLY_PATH_TYPE_INHERIT
The friendly path is the same as this channel's parent friendly path. |
static int |
FRIENDLY_PATH_TYPE_USER_DEFINED
The friendly path is user defined. |
static String |
LUMIS_ADMIN_CHANNEL_ID
|
static String |
PORTAL_CHANNEL_ID
|
Constructor Summary | |
---|---|
ChannelConfig()
|
Method Summary | |
---|---|
ChannelConfig |
clone()
|
void |
deserialize(Node channelNode)
|
boolean |
equals(Object o)
|
String |
getAccessControlListId()
|
int |
getCachePages()
|
int |
getCenterPages()
|
String |
getDescription()
|
int |
getFriendlyPathType()
|
String |
getFriendlyPathUserDefined()
|
String |
getFriendlyURLPattern()
Returns the friendly URL pattern specific for this channel (non-inheritable). |
String |
getId()
|
int |
getLayoutPagesType()
Returns the layout format for pages. |
String |
getLocalGroupPrefix()
|
String |
getName()
|
String |
getPageRuntimeDataProviderClassName()
Deprecated. Since 5.0.0 replaced by getPageWebResourceDataProviderClassName() . |
int |
getPageRuntimeDataProviderType()
Deprecated. Since 5.0.0 replaced by getPageWebResourceDataProviderType() . |
String |
getPageTemplateId()
|
String |
getPageWebResourceDataProviderClassName()
Returns the class name for the page web resource data provider. |
int |
getPageWebResourceDataProviderType()
Returns the page web resource data provider type. |
String |
getParentId()
|
String |
getParentTemplateId()
|
int |
getPosition()
|
String |
getPropertyBagId()
Returns the property bag identifier. |
int |
getProtocol()
|
String |
getTemplateLocalGroupPrefix()
Returns the template local group prefix. |
int |
getType()
|
boolean |
hasLocalGroups()
|
boolean |
isFriendlyURLPatternEnabled()
Returns if the friendly URL pattern specific for this channel (non-inheritable) is enabled. |
boolean |
isHidden()
|
boolean |
isInheritMetaTags()
|
boolean |
isInheritPageTemplate()
|
boolean |
isInheritProtocol()
Deprecated. since 4.0.11. This property is acquired via the getProtocol() method. |
boolean |
isInheritStylesheet()
|
boolean |
isTemplate()
|
void |
serialize(ChannelConfig channelConfig,
OutputStream outputStream)
|
void |
setAccessControlListId(String accessControlListId)
|
void |
setCachePages(int cachePages)
|
void |
setCenterPages(int centerPages)
|
void |
setDescription(String description)
|
void |
setFriendlyPathType(int friendlyPathType)
|
void |
setFriendlyPathUserDefined(String friendlyPathUserDefined)
|
void |
setFriendlyURLPattern(String friendlyURLPattern)
Sets the friendly URL pattern specific for this channel (non-inheritable). |
void |
setFriendlyURLPatternEnabled(boolean friendlyURLPatternEnabled)
Sets if the friendly URL pattern specific for this channel (non-inheritable) is enabled. |
void |
setHidden(boolean hidden)
|
void |
setId(String id)
|
void |
setInheritMetaTags(boolean inheritMetaTags)
|
void |
setInheritPageTemplate(boolean inheritPageTemplate)
|
void |
setInheritProtocol(boolean inheritProtocol)
Deprecated. since 4.0.11. This property is set via the #setProtocol() method. |
void |
setInheritStylesheet(boolean inheritStylesheet)
|
void |
setLayoutPagesType(int layoutPagesType)
Sets the layout format for pages. |
void |
setLocalGroupPrefix(String localGroupPrefix)
|
void |
setLocalGroups(boolean localGroups)
|
void |
setName(String name)
|
void |
setPageRuntimeDataProviderClassName(String runtimeDataProviderClassName)
Deprecated. Since 5.0.0 replaced by setPageWebResourceDataProviderClassName(String) . |
void |
setPageRuntimeDataProviderType(int runtimeDataProviderType)
Deprecated. Since 5.0.0 replaced by setPageWebResourceDataProviderType(int) . |
void |
setPageTemplateId(String pageTemplateId)
|
void |
setPageWebResourceDataProviderClassName(String providerClassName)
Sets the page web resource provider class name. |
void |
setPageWebResourceDataProviderType(int providerType)
Sets the page web resource data provider type. |
void |
setParentId(String parentId)
|
void |
setParentTemplateId(String parentTemplateId)
|
void |
setPosition(int position)
|
protected void |
setPropertyBagId(String propertyBagId)
Sets the property bag identifier. |
void |
setProtocol(int protocol)
|
void |
setTemplate(boolean isTemplate)
|
void |
setTemplateLocalGroupPrefix(String templateLocalGroupPrefix)
Sets the template local group prefix. |
void |
setType(int type)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CHANNEL_TYPE_BASIC
public static final int CHANNEL_TYPE_LUMISADMIN
public static final String PORTAL_CHANNEL_ID
public static final String LUMIS_ADMIN_CHANNEL_ID
public static final int FRIENDLY_PATH_TYPE_CHANNEL_NAME
public static final int FRIENDLY_PATH_TYPE_USER_DEFINED
public static final int FRIENDLY_PATH_TYPE_INHERIT
Constructor Detail |
---|
public ChannelConfig()
Method Detail |
---|
public String getId()
public void setId(String id)
id
- The channelId to set.public String getDescription()
public void setDescription(String description)
description
- The description to set.public String getName()
public void setName(String name)
name
- The name to set.public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- The hidden to set.public boolean isInheritStylesheet()
public boolean isInheritMetaTags()
public void setInheritStylesheet(boolean inheritStylesheet)
inheritStylesheet
- public void setInheritMetaTags(boolean inheritMetaTags)
inheritMetaTags
- @Deprecated public boolean isInheritProtocol()
getProtocol()
method.
@Deprecated public void setInheritProtocol(boolean inheritProtocol)
#setProtocol()
method.
inheritProtocol
- The inheritProtocol to set.public boolean isTemplate()
public void setTemplate(boolean isTemplate)
isTemplate
- The isTemplate to set.public String getPageTemplateId()
public void setPageTemplateId(String pageTemplateId)
pageTemplateId
- The pageTemplateId to set.public String getParentId()
public void setParentId(String parentId)
parentId
- The parentId to set.public int getPosition()
public void setPosition(int position)
position
- The position to set.public int getProtocol()
public void setProtocol(int protocol)
protocol
- The protocol to set.public int getType()
public void setType(int type)
type
- The type to set.public boolean equals(Object o)
equals
in class Object
public String getAccessControlListId()
public void setAccessControlListId(String accessControlListId)
accessControlListId
- The accessControlListId to set.public String getPropertyBagId()
protected void setPropertyBagId(String propertyBagId)
This method should be used only for non-persisted channels, because this property value may not be changed.
propertyBagId
- The propertyBagId to set.public int getCenterPages()
public void setCenterPages(int centerPages)
centerPages
- The centerPages to set.public int getLayoutPagesType()
public void setLayoutPagesType(int layoutPagesType)
layoutPagesType
- one of the valid page layout formats
The layout format to set for pages.public int getCachePages()
public void setCachePages(int cachePages)
cachePages
- The cachePages to set.public boolean hasLocalGroups()
public void setLocalGroups(boolean localGroups)
localGroups
- The localGroups to set.public String getLocalGroupPrefix()
public void setLocalGroupPrefix(String localGroupPrefix)
localGroupPrefix
- The localGroupPrefix to set.public String getTemplateLocalGroupPrefix()
public void setTemplateLocalGroupPrefix(String templateLocalGroupPrefix)
templateLocalGroupPrefix
- the value to set.getTemplateLocalGroupPrefix()
public int getFriendlyPathType()
public void setFriendlyPathType(int friendlyPathType)
public String getFriendlyPathUserDefined()
public void setFriendlyPathUserDefined(String friendlyPathUserDefined)
public ChannelConfig clone() throws CloneNotSupportedException
clone
in interface ICloneableCacheEntry
clone
in interface ICloneableConfig<ChannelConfig>
clone
in class Object
CloneNotSupportedException
public void serialize(ChannelConfig channelConfig, OutputStream outputStream) throws PortalException
PortalException
public void deserialize(Node channelNode) throws PortalException
PortalException
public String getParentTemplateId()
public void setParentTemplateId(String parentTemplateId)
public boolean isInheritPageTemplate()
public void setInheritPageTemplate(boolean inheritPageTemplate)
@Deprecated public int getPageRuntimeDataProviderType()
getPageWebResourceDataProviderType()
.
@Deprecated public void setPageRuntimeDataProviderType(int runtimeDataProviderType)
setPageWebResourceDataProviderType(int)
.
runtimeDataProviderType
- the runtime data provider type.@Deprecated public String getPageRuntimeDataProviderClassName()
getPageWebResourceDataProviderClassName()
.
@Deprecated public void setPageRuntimeDataProviderClassName(String runtimeDataProviderClassName)
setPageWebResourceDataProviderClassName(String)
.
runtimeDataProviderClassName
- the class name to be set.public String getPageWebResourceDataProviderClassName()
This value should only be used if the page web resource data provider
type is PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_CUSTOM
public void setPageWebResourceDataProviderClassName(String providerClassName)
providerClassName
- the class name to be set.public int getPageWebResourceDataProviderType()
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_INHERIT
or
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_DEFAULT
or
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_CONTENT
or
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_CUSTOM
public void setPageWebResourceDataProviderType(int providerType)
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_INHERIT
or
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_DEFAULT
or
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_CONTENT
or
PageConfig.PAGE_WEB_RESOURCE_DATA_PROVIDER_TYPE_CUSTOM
providerType
- the page web resource data provider type.public String getFriendlyURLPattern()
null
if it
is not set for this channel.public void setFriendlyURLPattern(String friendlyURLPattern)
friendlyURLPattern
- the pattern.public boolean isFriendlyURLPatternEnabled()
true
if enabled, false
if disabled.public void setFriendlyURLPatternEnabled(boolean friendlyURLPatternEnabled)
friendlyURLPatternEnabled
- true
to enable,
false
to disable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |