Class ServiceInstanceSerializationContext
- java.lang.Object
-
- lumis.portal.serviceinstance.serialization.ServiceInstanceBaseSerializationContext
-
- lumis.portal.serviceinstance.serialization.ServiceInstanceSerializationContext
-
public class ServiceInstanceSerializationContext extends ServiceInstanceBaseSerializationContext
Context class for service instances serialization- Since:
- 4.0.8
- Version:
- $Revision: 9947 $ $Date: 2008-12-04 13:35:12 -0200 (Thu, 04 Dec 2008) $
-
-
Field Summary
-
Fields inherited from class lumis.portal.serviceinstance.serialization.ServiceInstanceBaseSerializationContext
serviceInstanceId, serviceInstanceName
-
-
Constructor Summary
Constructors Constructor Description ServiceInstanceSerializationContext(SerializationContext serializationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDependency(String key, Dependency dependency)
SerializationContext
getSerializationContext()
SessionConfig
getSessionConfig()
ITransaction
getTransaction()
boolean
hasDependency(String key)
void
sendProgressFinalNotification(String message, ProgressConfig.Type type)
void
sendProgressNotification(String message, ProgressConfig.Type type)
void
sendProgressNotification(Document messageDoc, String styleFilename, ProgressConfig.Type type)
-
Methods inherited from class lumis.portal.serviceinstance.serialization.ServiceInstanceBaseSerializationContext
finalizeInnerProgressBar, getDataDirectory, getIncludeContent, getProcessId, getSerializationSettings, getServiceInstanceId, getServiceInstanceName, getStructureDirectory, initializeInnerProgressBar, logDebug, logDebug, logDebug, setServiceInstanceId, setServiceInstanceName, updateInnerProgressBar
-
-
-
-
Constructor Detail
-
ServiceInstanceSerializationContext
public ServiceInstanceSerializationContext(SerializationContext serializationContext)
-
-
Method Detail
-
getSerializationContext
public SerializationContext getSerializationContext()
-
getSessionConfig
public SessionConfig getSessionConfig()
- Specified by:
getSessionConfig
in classServiceInstanceBaseSerializationContext
-
getTransaction
public ITransaction getTransaction()
- Specified by:
getTransaction
in classServiceInstanceBaseSerializationContext
-
addDependency
public void addDependency(String key, Dependency dependency)
-
hasDependency
public boolean hasDependency(String key)
-
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
-
-