Class ChannelSerializableRootConfig
- java.lang.Object
-
- lumis.portal.channel.serialization.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) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERIALIZATION_VERSION
-
Constructor Summary
Constructors Constructor Description ChannelSerializableRootConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelSerializableConfig
getChannel()
int
getChannelCount()
List<CssSerializableConfig>
getCsss()
List<Dependency>
getExternalDependencies()
Set<GroupSerializableConfig>
getGlobalGroups()
Returns the global groups for serializing.List<ServiceInterfaceStyleSerializableConfig>
getServiceInterfaceStyles()
String
getVersion()
boolean
isShallowSerialization()
Returns whether the serialization is recursive or not.void
setChannel(ChannelSerializableConfig channel)
void
setChannelCount(int channelCount)
void
setCsss(List<CssSerializableConfig> csss)
void
setExternalDependencies(List<Dependency> externalDependencies)
void
setServiceInterfaceStyles(List<ServiceInterfaceStyleSerializableConfig> serviceInterfaceStyles)
void
setShallowSerialization(boolean shallowSerialization)
Sets whether the serialization will serialize the structure recursively or not.void
setVersion(String version)
-
-
-
Field Detail
-
SERIALIZATION_VERSION
public static final String SERIALIZATION_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChannel
public ChannelSerializableConfig getChannel()
-
setChannel
public void setChannel(ChannelSerializableConfig channel)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getServiceInterfaceStyles
public List<ServiceInterfaceStyleSerializableConfig> getServiceInterfaceStyles()
-
setServiceInterfaceStyles
public void setServiceInterfaceStyles(List<ServiceInterfaceStyleSerializableConfig> serviceInterfaceStyles)
-
getCsss
public List<CssSerializableConfig> getCsss()
-
setCsss
public void setCsss(List<CssSerializableConfig> csss)
-
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. SeesetShallowSerialization(boolean)
for more details on recursion implications.- Returns:
- true when shallow serialization is set or false when serialization is recursive.
- Since:
- 5.0.0
-
-