lumis.portal.channel.serialization
Class ChannelSerializableRootConfig

Package class diagram package ChannelSerializableRootConfig
java.lang.Object
  extended by lumis.portal.channel.serialization.ChannelSerializableRootConfig

@StableMinor(version="5.5",
             sinceVersion="4.0")
public class ChannelSerializableRootConfig
extends Object

Serializable value object for Channel structure root properties

Since:
4.0.7

Field Summary
static String SERIALIZATION_VERSION
           
 
Constructor Summary
ChannelSerializableRootConfig()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERIALIZATION_VERSION

public static final String SERIALIZATION_VERSION
See Also:
Constant Field Values
Constructor Detail

ChannelSerializableRootConfig

public ChannelSerializableRootConfig()
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. 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


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.