public interface IChannelManagerSPI extends IChannelManager
Modifier and Type | Interface and Description |
---|---|
static class |
IChannelManagerSPI.IgnoreOnExportImportResult
Ignored channel on export and import search result.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getChannelTreeIds(String rootChannelId,
boolean includeIgnoredOnImportExportChannels,
ITransaction transaction)
Returns all the ids of channels in the tree for which the root is the given channelId.
|
boolean |
isGoogleAnalyticsEnabled(ChannelConfig channelConfig)
Returns whether the Google Analytics is enable in the given channel.
|
Boolean |
isGoogleAnalyticsEnabledLocal(ChannelConfig channelConfig)
Returns whether the Google Analytics is enable in the given channel or
null if this property is inherited. |
IChannelManagerSPI.IgnoreOnExportImportResult |
isIgnoreOnExportImport(SessionConfig sessionConfig,
String channelId,
ITransaction transaction)
Returns the result of a given channel ignoring.
|
void |
setGoogleAnalyticsEnable(Boolean enabled,
ChannelConfig channelConfig)
Sets whether the Google Analytics is enable in the given channel.
|
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.
|
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
keyExists
void validateFriendlyId(SessionConfig sessionConfig, ChannelConfig channelConfig, ITransaction transaction) throws PortalException
sessionConfig
- the user's session information.channelConfig
- the channel to be validated.transaction
- the transaction to use.PortalException
IChannelManagerSPI.IgnoreOnExportImportResult isIgnoreOnExportImport(SessionConfig sessionConfig, String channelId, ITransaction transaction) throws PortalException
sessionConfig
- the user's session.channelId
- the channel identifier.transaction
- the transaction.PortalException
List<String> getChannelTreeIds(String rootChannelId, boolean includeIgnoredOnImportExportChannels, ITransaction transaction) throws ManagerException, PortalException
rootChannelId
- root channel identifier.includeIgnoredOnImportExportChannels
- indicates whether the ignored channels on export and import should be ignored.transaction
- the transaction.ManagerException
PortalException
Boolean isGoogleAnalyticsEnabledLocal(ChannelConfig channelConfig) throws PortalException
null
if this property is inherited.channelConfig
- the channel the information will be read from.null
if this property is inherited.PortalException
boolean isGoogleAnalyticsEnabled(ChannelConfig channelConfig) throws PortalException
channelConfig
- the channel the information will be read from.PortalException
void setGoogleAnalyticsEnable(Boolean enabled, ChannelConfig channelConfig) throws PortalException
enabled
- the value or null
to indicate the value should be inherited.channelConfig
- the channel the information will be set to.PortalException
void updateLocalGroupPrefixFromFriendlyId(SessionConfig sessionConfig, ChannelConfig channelConfig, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- the user's session information.channelConfig
- the channel to be updated.transaction
- the transaction.ManagerException
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.