|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.channel.template.ChannelTemplateManager
public class ChannelTemplateManager
Implements the management of channel template information.
Constructor Summary | |
---|---|
ChannelTemplateManager()
|
Method Summary | |
---|---|
String |
addChannelLink(SessionConfig sessionConfig,
ChannelTemplateLinkConfig channelTemplateLinkConfig,
ITransaction transaction)
Add a channel's link. |
void |
deleteChannelLink(SessionConfig sessionConfig,
String channelLinkId,
ITransaction transaction)
Delete a specific channel's link by pass channelLinkId. |
void |
deleteChannelLinks(SessionConfig sessionConfig,
String channelId,
ITransaction transaction)
Delete all channel's links by pass channelId. |
String |
deserializeChannelTemplateLink(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Node linkNode,
ITransaction transaction)
Deserializes the channel template link in the given node. |
void |
disconnectFromTemplate(SessionConfig sessionConfig,
String channelId,
ITransaction transaction)
This method disconnects the specific channel from the channel's template. |
ChannelTemplateLinkConfig |
getChannelLinkBySourceId(SessionConfig sessionConfig,
String channelId,
String sourceId,
boolean getLinkedElementsOnly,
ITransaction transaction)
This method return the channel's link by pass the channelId and the sourceId parameters. |
List<ChannelTemplateLinkConfig> |
getChannelLinks(SessionConfig sessionConfig,
String channelId,
boolean getLinkedElementsOnly,
ITransaction transaction)
This method return channel's links by pass the channelId parameter. |
void |
serializeChannelTemplateLinks(SessionConfig sessionConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
Serializes the channel template links of a single channel. |
void |
updateChannelStructureFromTemplate(SessionConfig sessionConfig,
String channelId,
ITransaction transaction)
This method updates the channel's structure from the channel template. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelTemplateManager()
Method Detail |
---|
public void updateChannelStructureFromTemplate(SessionConfig sessionConfig, String channelId, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
updateChannelStructureFromTemplate
in interface IChannelTemplateManager
ManagerException
PortalException
public void disconnectFromTemplate(SessionConfig sessionConfig, String channelId, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
disconnectFromTemplate
in interface IChannelTemplateManager
ManagerException
PortalException
public List<ChannelTemplateLinkConfig> getChannelLinks(SessionConfig sessionConfig, String channelId, boolean getLinkedElementsOnly, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
getChannelLinks
in interface IChannelTemplateManager
ManagerException
PortalException
public ChannelTemplateLinkConfig getChannelLinkBySourceId(SessionConfig sessionConfig, String channelId, String sourceId, boolean getLinkedElementsOnly, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
getChannelLinkBySourceId
in interface IChannelTemplateManager
ManagerException
PortalException
public String addChannelLink(SessionConfig sessionConfig, ChannelTemplateLinkConfig channelTemplateLinkConfig, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
addChannelLink
in interface IChannelTemplateManager
ManagerException
PortalException
public void deleteChannelLink(SessionConfig sessionConfig, String channelLinkId, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
deleteChannelLink
in interface IChannelTemplateManager
ManagerException
PortalException
public void deleteChannelLinks(SessionConfig sessionConfig, String channelId, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
deleteChannelLinks
in interface IChannelTemplateManager
ManagerException
PortalException
public void serializeChannelTemplateLinks(SessionConfig sessionConfig, String channelId, OutputStream outputStream, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
serializeChannelTemplateLinks
in interface IChannelTemplateManager
sessionConfig
- the user session information.channelId
- the channel id.outputStream
- the outputstream to serialize the data to.transaction
- the transaction for persistence access.
ManagerException
PortalException
public String deserializeChannelTemplateLink(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, Node linkNode, ITransaction transaction) throws ManagerException, PortalException
IChannelTemplateManager
deserializeChannelTemplateLink
in interface IChannelTemplateManager
sessionConfig
- the user session information.deserializationConfig
- deserialization configuration.linkNode
- the node containing the channel template link information.transaction
- the transaction for persistence access.
ManagerException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |