Class ChannelSerializableRootConfig


  • @StableMinor(version="14.0",
                 sinceVersion="4.0")
    public class ChannelSerializableRootConfig
    extends Object
    Serializable value object for Channel structure root properties
    Since:
    4.0.7
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • Constructor Detail

      • ChannelSerializableRootConfig

        public ChannelSerializableRootConfig()
    • Method Detail

      • getVersion

        public String getVersion()
      • setVersion

        public void setVersion​(String version)
      • getChannelCount

        public int getChannelCount()
      • setChannelCount

        public void setChannelCount​(int channelCount)
      • getExternalDependencies

        public List<Dependency> getExternalDependencies()
      • setExternalDependencies

        public void setExternalDependencies​(List<Dependency> externalDependencies)
      • getGlobalGroups

        public Set<GroupSerializableConfig> getGlobalGroups()
        Returns the global groups for serializing. These global groups will be added to the destination when imported.
        Returns:
        the global groups to be serialized.
        Since:
        4.2.1
      • setShallowSerialization

        public void setShallowSerialization​(boolean shallowSerialization)
        Sets whether the serialization will serialize the structure recursively or not. When set to false all sub-channels are recursively serialized. If true only the root channel and its pages, service instances, local groups, page templates, acls, and all the globally referenced css files, interface instance xsl files and global groups are exported.
        Parameters:
        shallowSerialization - the shallow serialization value.
        Since:
        5.0.0
      • isShallowSerialization

        public boolean isShallowSerialization()
        Returns whether the serialization is recursive or not. See setShallowSerialization(boolean) for more details on recursion implications.
        Returns:
        true when shallow serialization is set or false when serialization is recursive.
        Since:
        5.0.0