Class ChannelSerializableRootConfig


  • @StableMinor(version="16.0",
                 sinceVersion="4.0")
    public class ChannelSerializableRootConfig
    extends java.lang.Object
    Serializable value object for Channel structure root properties
    Since:
    4.0.7
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Field Detail

      • SERIALIZATION_VERSION

        public static final java.lang.String SERIALIZATION_VERSION
        See Also:
        Constant Field Values
    • Constructor Detail

      • ChannelSerializableRootConfig

        public ChannelSerializableRootConfig()
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
      • setVersion

        public void setVersion​(java.lang.String version)
      • getChannelCount

        public int getChannelCount()
      • setChannelCount

        public void setChannelCount​(int channelCount)
      • getExternalDependencies

        public java.util.List<Dependency> getExternalDependencies()
      • setExternalDependencies

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

        public java.util.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