lumis.portal.serialization
Class SerializationManager
java.lang.Object
lumis.portal.serialization.SerializationManager
- All Implemented Interfaces:
- ISerializationManager
public class SerializationManager
- extends Object
- implements ISerializationManager
Implements the serialization and deseralization of a
channel tree.
- Since:
- 4.0.0
Method Summary |
String |
deserialize(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeAccessControlLists(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
boolean onlyAddSimpleAcls,
ITransaction transaction)
|
protected String |
deserializeChannels(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeChannelsSecondPass(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeCss(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeLocalGroups(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializePages(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializePageServiceInterfaceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializePageTemplates(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
boolean firstDeserialization,
ITransaction transaction)
|
protected void |
deserializePageTemplateServiceInterfaceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeServiceInstanceDependencies(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeServiceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeServiceInterfaceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
boolean isTemplate,
ITransaction transaction)
|
protected void |
deserializeStyles(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
deserializeTemplateChannelLinks(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
|
protected void |
loadChannelCssIdsRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
HashMap<String,String> cssIdMap,
ITransaction transaction)
|
protected void |
loadPageCssIdsRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
HashMap<String,String> cssIdMap,
ITransaction transaction)
|
OutputStream |
serialize(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeAccessControlLists(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelLocalGroupAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelLocalGroupsRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelPageAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelPagesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannels(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelServiceInstanceAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelServiceInstancesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelServiceInterfaceInstancesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelTemplateLinks(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeChannelTemplateLinksRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeCss(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeLocalGroups(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializePage(SessionConfig sessionConfig,
String pageId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializePages(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializePageServiceInterfaceInstances(SessionConfig sessionConfig,
String pageId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeServiceInstance(SessionConfig sessionConfig,
String serviceInstanceId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeServiceInstanceDependencies(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeServiceInstanceDependenciesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeServiceInstances(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeServiceInterfaceInstance(SessionConfig sessionConfig,
String serviceInterfaceInstanceId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeServiceInterfaceInstanceCustomProperties(SessionConfig sessionConfig,
String serviceInterfaceInstanceId,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeServiceInterfaceInstances(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
protected void |
serializeStyles(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializationManager
public SerializationManager()
deserialize
public String deserialize(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws ManagerException,
PortalException
- Specified by:
deserialize
in interface ISerializationManager
- Returns:
-
- Throws:
ManagerException
PortalException
serialize
public OutputStream serialize(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Specified by:
serialize
in interface ISerializationManager
- Returns:
-
- Throws:
ManagerException
PortalException
serializeChannels
protected void serializeChannels(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelTemplateLinks
protected void serializeChannelTemplateLinks(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeAccessControlLists
protected void serializeAccessControlLists(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelAccessControlListRecursively
protected void serializeChannelAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelServiceInstanceAccessControlListRecursively
protected void serializeChannelServiceInstanceAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelLocalGroupAccessControlListRecursively
protected void serializeChannelLocalGroupAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelPageAccessControlListRecursively
protected void serializeChannelPageAccessControlListRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeChannels
protected String deserializeChannels(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeChannelsSecondPass
protected void deserializeChannelsSecondPass(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeTemplateChannelLinks
protected void deserializeTemplateChannelLinks(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeAccessControlLists
protected void deserializeAccessControlLists(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
boolean onlyAddSimpleAcls,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializePages
protected void deserializePages(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializePageTemplateServiceInterfaceInstances
protected void deserializePageTemplateServiceInterfaceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializePageServiceInterfaceInstances
protected void deserializePageServiceInterfaceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeServiceInterfaceInstances
protected void deserializeServiceInterfaceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
boolean isTemplate,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializePageTemplates
protected void deserializePageTemplates(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
boolean firstDeserialization,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeServiceInstances
protected void deserializeServiceInstances(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeLocalGroups
protected void deserializeLocalGroups(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelRecursively
protected void serializeChannelRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelTemplateLinksRecursively
protected void serializeChannelTemplateLinksRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializePages
protected void serializePages(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelPagesRecursively
protected void serializeChannelPagesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializePage
protected void serializePage(SessionConfig sessionConfig,
String pageId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelServiceInterfaceInstancesRecursively
protected void serializeChannelServiceInterfaceInstancesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeServiceInterfaceInstances
protected void serializeServiceInterfaceInstances(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializePageServiceInterfaceInstances
protected void serializePageServiceInterfaceInstances(SessionConfig sessionConfig,
String pageId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeServiceInterfaceInstance
protected void serializeServiceInterfaceInstance(SessionConfig sessionConfig,
String serviceInterfaceInstanceId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeServiceInterfaceInstanceCustomProperties
protected void serializeServiceInterfaceInstanceCustomProperties(SessionConfig sessionConfig,
String serviceInterfaceInstanceId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeLocalGroups
protected void serializeLocalGroups(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelLocalGroupsRecursively
protected void serializeChannelLocalGroupsRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeServiceInstances
protected void serializeServiceInstances(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeChannelServiceInstancesRecursively
protected void serializeChannelServiceInstancesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeServiceInstance
protected void serializeServiceInstance(SessionConfig sessionConfig,
String serviceInstanceId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeCss
protected void deserializeCss(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeCss
protected void serializeCss(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
loadChannelCssIdsRecursively
protected void loadChannelCssIdsRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
HashMap<String,String> cssIdMap,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
loadPageCssIdsRecursively
protected void loadPageCssIdsRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
HashMap<String,String> cssIdMap,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeServiceInstanceDependencies
protected void serializeServiceInstanceDependencies(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeServiceInstanceDependenciesRecursively
protected void serializeServiceInstanceDependenciesRecursively(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
String channelId,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeServiceInstanceDependencies
protected void deserializeServiceInstanceDependencies(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
serializeStyles
protected void serializeStyles(SessionConfig sessionConfig,
SerializationConfig serializationConfig,
OutputStream outputStream,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
deserializeStyles
protected void deserializeStyles(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Document importDocument,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.