Package lumis.portal.channel
Interface IChannelManagerSPI
-
- All Superinterfaces:
IChannelManager
,IConfigKeyChecker
- All Known Implementing Classes:
ChannelManager
public interface IChannelManagerSPI extends IChannelManager
Manager responsible for channel-related internal operations.- Since:
- 6.0.0
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IChannelManagerSPI.IgnoreOnExportImportResult
Ignored channel on export and import search result.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getChannelTreeIds(java.lang.String rootChannelId, boolean includeIgnoredOnImportExportChannels, ITransaction transaction)
Returns all the ids of channels in the tree for which the root is the given channelId.IChannelManagerSPI.IgnoreOnExportImportResult
isIgnoreOnExportImport(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction)
Returns the result of a given channel ignoring.void
updateLocalGroupPrefixFromFriendlyId(SessionConfig sessionConfig, ChannelConfig channelConfig, ITransaction transaction)
Updates the local group prefix of the given channel with its friendly identifier.void
validateFriendlyId(SessionConfig sessionConfig, ChannelConfig channelConfig, ITransaction transaction)
Validates the channel's friendly identifier.-
Methods inherited from interface lumis.portal.channel.IChannelManager
add, addCssLink, addOrUpdate, clearCache, copy, delete, deleteCssLink, deserialize, deserializeCss, deserializeSecondPass, get, getCachePages, getCenterPages, getChannelTreeCount, getChannelTreeIds, getCssIds, getCssIdsRecursively, getFriendlyPath, getIdsByPageTemplateId, getIdsByParentChannelId, getIdsByParentTemplateId, getLayoutPagesType, getMetaTagIdsRecursively, getPageTemplateIdRecursively, getPageWebResourceDataProviderClassName, getPath, getPath, getPathIds, getPathNames, getProtocolType, getRuntimeDataProviderClassName, isInsideChannelTemplate, serialize, serializeCss, update
-
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker
keyExists
-
-
-
-
Method Detail
-
validateFriendlyId
void validateFriendlyId(SessionConfig sessionConfig, ChannelConfig channelConfig, ITransaction transaction) throws PortalException
Validates the channel's friendly identifier. If the validation is not successful, an exception is thrown.- Parameters:
sessionConfig
- the user's session information.channelConfig
- the channel to be validated.transaction
- the transaction to use.- Throws:
PortalException
- Since:
- 6.0.0
-
isIgnoreOnExportImport
IChannelManagerSPI.IgnoreOnExportImportResult isIgnoreOnExportImport(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction) throws PortalException
Returns the result of a given channel ignoring.- Parameters:
sessionConfig
- the user's session.channelId
- the channel identifier.transaction
- the transaction.- Returns:
- the result of a given channel ignoring.
- Throws:
PortalException
- Since:
- 8.0.0
-
getChannelTreeIds
java.util.List<java.lang.String> getChannelTreeIds(java.lang.String rootChannelId, boolean includeIgnoredOnImportExportChannels, ITransaction transaction) throws ManagerException, PortalException
Returns all the ids of channels in the tree for which the root is the given channelId.- Parameters:
rootChannelId
- root channel identifier.includeIgnoredOnImportExportChannels
- indicates whether the ignored channels on export and import should be ignored.transaction
- the transaction.- Returns:
- all the ids of channels in the tree for which the root is the given channelId.
- Throws:
ManagerException
PortalException
- Since:
- 8.0.0
-
updateLocalGroupPrefixFromFriendlyId
void updateLocalGroupPrefixFromFriendlyId(SessionConfig sessionConfig, ChannelConfig channelConfig, ITransaction transaction) throws ManagerException, PortalException
Updates the local group prefix of the given channel with its friendly identifier. If other channel already uses that local group prefix, a numeric suffix will be appended to the friendly identifier to generate a unique local group prefix.
This method is atomic. Thus, it will use its own transaction.- Parameters:
sessionConfig
- the user's session information.channelConfig
- the channel to be updated.transaction
- the transaction.- Throws:
ManagerException
PortalException
- Since:
- 11.1.0
-
-