Package lumis.portal.channel.template
Interface IChannelTemplateManager
-
- All Known Implementing Classes:
ChannelTemplateManager
@StableMinor(version="17.0", sinceVersion="4.0") public interface IChannelTemplateManager
Definition of the channel template information management interface.- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
addChannelLink(SessionConfig sessionConfig, ChannelTemplateLinkConfig channelTemplateLinkConfig, ITransaction transaction)
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.void
deleteChannelLink(SessionConfig sessionConfig, java.lang.String channelLinkId, ITransaction transaction)
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.void
deleteChannelLinks(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction)
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.java.lang.String
deserializeChannelTemplateLink(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, org.w3c.dom.Node linkNode, ITransaction transaction)
Deserializes the channel template link in the given node.void
disconnectFromTemplate(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction)
This method disconnects the specific channel from the channel's template.ChannelTemplateLinkConfig
getChannelLinkBySourceId(SessionConfig sessionConfig, java.lang.String channelId, java.lang.String sourceId, boolean getLinkedElementsOnly, ITransaction transaction)
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.java.util.List<ChannelTemplateLinkConfig>
getChannelLinks(SessionConfig sessionConfig, java.lang.String channelId, boolean getLinkedElementsOnly, ITransaction transaction)
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.void
serializeChannelTemplateLinks(SessionConfig sessionConfig, java.lang.String channelId, java.io.OutputStream outputStream, ITransaction transaction)
Serializes the channel template links of a single channel.void
updateChannelStructureFromTemplate(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction)
This method updates the channel's structure from the channel template.
-
-
-
Method Detail
-
updateChannelStructureFromTemplate
void updateChannelStructureFromTemplate(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction) throws ManagerException, PortalException
This method updates the channel's structure from the channel template.- Parameters:
sessionConfig
-channelId
-transaction
-- Throws:
ManagerException
PortalException
-
disconnectFromTemplate
void disconnectFromTemplate(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction) throws ManagerException, PortalException
This method disconnects the specific channel from the channel's template.- Parameters:
sessionConfig
-channelId
-transaction
-- Throws:
ManagerException
PortalException
-
getChannelLinks
@Deprecated java.util.List<ChannelTemplateLinkConfig> getChannelLinks(SessionConfig sessionConfig, java.lang.String channelId, boolean getLinkedElementsOnly, ITransaction transaction) throws ManagerException, PortalException
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.This method return channel's links by pass the channelId parameter. If the parameter getLinkedElementsOnly is true the method returns only the links is enable. If the parameter is false it returns all links.- Parameters:
sessionConfig
-channelId
-getLinkedElementsOnly
-transaction
-- Returns:
- Returns the channel's links.
- Throws:
ManagerException
PortalException
-
getChannelLinkBySourceId
@Deprecated ChannelTemplateLinkConfig getChannelLinkBySourceId(SessionConfig sessionConfig, java.lang.String channelId, java.lang.String sourceId, boolean getLinkedElementsOnly, ITransaction transaction) throws ManagerException, PortalException
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.This method return the channel's link by pass the channelId and the sourceId parameters. If the parameter getLinkedElementsOnly is true the method returns only the links is enable. If the parameter is false it returns all links.- Parameters:
sessionConfig
-channelId
-sourceId
-getLinkedElementsOnly
-transaction
-- Returns:
- Returns the channel link.
- Throws:
ManagerException
PortalException
-
addChannelLink
@Deprecated java.lang.String addChannelLink(SessionConfig sessionConfig, ChannelTemplateLinkConfig channelTemplateLinkConfig, ITransaction transaction) throws ManagerException, PortalException
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.Add a channel's link.- Parameters:
sessionConfig
-channelTemplateLinkConfig
-transaction
-- Returns:
- Returns the Id of the channelTemplateLinkConfig.
- Throws:
ManagerException
PortalException
-
deleteChannelLink
@Deprecated void deleteChannelLink(SessionConfig sessionConfig, java.lang.String channelLinkId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.Delete a specific channel's link by pass channelLinkId.- Parameters:
sessionConfig
-channelLinkId
-transaction
-- Throws:
ManagerException
PortalException
-
deleteChannelLinks
@Deprecated void deleteChannelLinks(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.since 6.0.0,ChannelTemplateLinkConfig
is for internal use only.Delete all channel's links by pass channelId.- Parameters:
sessionConfig
-channelId
-transaction
-- Throws:
ManagerException
PortalException
-
serializeChannelTemplateLinks
void serializeChannelTemplateLinks(SessionConfig sessionConfig, java.lang.String channelId, java.io.OutputStream outputStream, ITransaction transaction) throws ManagerException, PortalException
Serializes the channel template links of a single channel.- Parameters:
sessionConfig
- the user session information.channelId
- the channel id.outputStream
- the outputstream to serialize the data to.transaction
- the transaction for persistence access.- Throws:
ManagerException
PortalException
- Since:
- 4.0.6
-
deserializeChannelTemplateLink
java.lang.String deserializeChannelTemplateLink(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, org.w3c.dom.Node linkNode, ITransaction transaction) throws ManagerException, PortalException
Deserializes the channel template link in the given node.- Parameters:
sessionConfig
- the user session information.deserializationConfig
- deserialization configuration.linkNode
- the node containing the channel template link information.transaction
- the transaction for persistence access.- Returns:
- the deserialized channel template link id.
- Throws:
ManagerException
PortalException
- Since:
- 4.0.6
-
-