|
||||||||||
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="4.1", 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 |
getId()
|
String |
getLocalGroupPrefix()
|
String |
getName()
|
String |
getPageTemplateId()
|
String |
getParentId()
|
String |
getParentTemplateId()
|
int |
getPosition()
|
int |
getProtocol()
|
String |
getTemplateLocalGroupPrefix()
Returns the template local group prefix. |
int |
getType()
|
boolean |
hasLocalGroups()
|
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 |
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 |
setLocalGroupPrefix(String localGroupPrefix)
|
void |
setLocalGroups(boolean localGroups)
|
void |
setName(String name)
|
void |
setPageTemplateId(String pageTemplateId)
|
void |
setParentId(String parentId)
|
void |
setParentTemplateId(String parentTemplateId)
|
void |
setPosition(int position)
|
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 int getCenterPages()
public void setCenterPages(int centerPages)
centerPages
- The centerPages to set.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |