lumis.portal.serviceinstance.serialization
Class ServiceInstanceDeserializationContext

Package class diagram package ServiceInstanceDeserializationContext
java.lang.Object
  extended by lumis.portal.serviceinstance.serialization.ServiceInstanceBaseSerializationContext
      extended by lumis.portal.serviceinstance.serialization.ServiceInstanceDeserializationContext

public class ServiceInstanceDeserializationContext
extends ServiceInstanceBaseSerializationContext

Context class for service instances deserialization

Since:
4.0.8

Field Summary
 
Fields inherited from class lumis.portal.serviceinstance.serialization.ServiceInstanceBaseSerializationContext
serviceInstanceId, serviceInstanceName
 
Constructor Summary
ServiceInstanceDeserializationContext(DeserializationContext deserializationContext)
           
 
Method Summary
 void applyForeignKeyFieldIdMappings(Object target, String[] fieldNames)
           
 void applyPrimaryKeyFieldIdMappings(Object target, String[] fieldNames)
           
 DependentConfigOperationCollection<ConfigPersistence> getDependentConfigPersistences()
           
 DeserializationContext getDeserializationContext()
           
 String getIdMapping(String originalId)
           
 String getMappedServiceInstanceId()
           
 SessionConfig getSessionConfig()
           
 ITransaction getTransaction()
           
 boolean isCreateNewIds()
           
 boolean isImportAsChild()
           
 boolean isMustRollBack()
           
 boolean isUpdateIfElementExists()
           
 void persistDependentConfigs(String dependencyKey)
           
 void sendProgressFinalNotification(String message, ProgressConfig.Type type)
           
 void sendProgressNotification(Document messageDoc, String styleFilename, ProgressConfig.Type type)
           
 void sendProgressNotification(String message, ProgressConfig.Type type)
           
 void setMustRollBack()
           
 
Methods inherited from class lumis.portal.serviceinstance.serialization.ServiceInstanceBaseSerializationContext
finalizeInnerProgressBar, getDataDirectory, getIncludeContent, getIncludeGlobalPrincipals, getProcessId, getSerializationSettings, getServiceInstanceId, getServiceInstanceName, getStructureDirectory, initializeInnerProgressBar, logDebug, logDebug, logDebug, setServiceInstanceId, setServiceInstanceName, updateInnerProgressBar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInstanceDeserializationContext

public ServiceInstanceDeserializationContext(DeserializationContext deserializationContext)
Method Detail

getDeserializationContext

public DeserializationContext getDeserializationContext()

getSessionConfig

public SessionConfig getSessionConfig()
Specified by:
getSessionConfig in class ServiceInstanceBaseSerializationContext

getTransaction

public ITransaction getTransaction()
Specified by:
getTransaction in class ServiceInstanceBaseSerializationContext

getIdMapping

public String getIdMapping(String originalId)

getMappedServiceInstanceId

public String getMappedServiceInstanceId()

applyForeignKeyFieldIdMappings

public void applyForeignKeyFieldIdMappings(Object target,
                                           String[] fieldNames)
                                    throws SerializationException
Throws:
SerializationException

applyPrimaryKeyFieldIdMappings

public void applyPrimaryKeyFieldIdMappings(Object target,
                                           String[] fieldNames)
                                    throws SerializationException
Throws:
SerializationException

isCreateNewIds

public boolean isCreateNewIds()

isImportAsChild

public boolean isImportAsChild()

isUpdateIfElementExists

public boolean isUpdateIfElementExists()

sendProgressNotification

public void sendProgressNotification(String message,
                                     ProgressConfig.Type type)
                              throws PortalException
Throws:
PortalException

sendProgressNotification

public void sendProgressNotification(Document messageDoc,
                                     String styleFilename,
                                     ProgressConfig.Type type)
                              throws PortalException
Throws:
PortalException

sendProgressFinalNotification

public void sendProgressFinalNotification(String message,
                                          ProgressConfig.Type type)
                                   throws PortalException
Throws:
PortalException

isMustRollBack

public boolean isMustRollBack()

setMustRollBack

public void setMustRollBack()

getDependentConfigPersistences

public DependentConfigOperationCollection<ConfigPersistence> getDependentConfigPersistences()

persistDependentConfigs

public void persistDependentConfigs(String dependencyKey)
                             throws PortalException
Throws:
PortalException


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