Class ChannelSerializableRootConfig
- java.lang.Object
-
- lumis.portal.channel.serialization.ChannelSerializableRootConfig
-
@StableMinor(version="17.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$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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()
java.util.List<CssSerializableConfig>
getCsss()
java.util.List<Dependency>
getExternalDependencies()
java.util.Set<GroupSerializableConfig>
getGlobalGroups()
Returns the global groups for serializing.java.util.List<ServiceInterfaceStyleSerializableConfig>
getServiceInterfaceStyles()
java.lang.String
getVersion()
boolean
isShallowSerialization()
Returns whether the serialization is recursive or not.void
setChannel(ChannelSerializableConfig channel)
void
setChannelCount(int channelCount)
void
setCsss(java.util.List<CssSerializableConfig> csss)
void
setExternalDependencies(java.util.List<Dependency> externalDependencies)
void
setServiceInterfaceStyles(java.util.List<ServiceInterfaceStyleSerializableConfig> serviceInterfaceStyles)
void
setShallowSerialization(boolean shallowSerialization)
Sets whether the serialization will serialize the structure recursively or not.void
setVersion(java.lang.String version)
-
-
-
Field Detail
-
SERIALIZATION_VERSION
public static final java.lang.String SERIALIZATION_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChannel
public ChannelSerializableConfig getChannel()
-
setChannel
public void setChannel(ChannelSerializableConfig channel)
-
getVersion
public java.lang.String getVersion()
-
setVersion
public void setVersion(java.lang.String version)
-
getServiceInterfaceStyles
public java.util.List<ServiceInterfaceStyleSerializableConfig> getServiceInterfaceStyles()
-
setServiceInterfaceStyles
public void setServiceInterfaceStyles(java.util.List<ServiceInterfaceStyleSerializableConfig> serviceInterfaceStyles)
-
getCsss
public java.util.List<CssSerializableConfig> getCsss()
-
setCsss
public void setCsss(java.util.List<CssSerializableConfig> csss)
-
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. 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
-
-