lumis.portal.serialization
Class BaseSerializationContext

Package class diagram package BaseSerializationContext
java.lang.Object
  extended by lumis.portal.serialization.BaseSerializationContext
Direct Known Subclasses:
DeserializationContext, SerializationContext

public class BaseSerializationContext
extends Object

Base class for Serialization Context classes

Since:
4.0.7

Constructor Summary
BaseSerializationContext(SessionConfig sessionConfig, ITransaction transaction, String rootChannelId, IDirectory directory, boolean progressEnabled, boolean includeContent, boolean includeGlobalPrincipals)
           
 
Method Summary
 String getCurrentChannelPath()
           
 IDirectory getDirectory()
           
 boolean getIncludeContent()
           
 boolean getIncludeGlobalPrincipals()
           
 int getItemProgressMax()
           
 int getItemProgressValue()
           
 int getOverallProgressMax()
           
 int getOverallProgressValue()
           
 String getProcessId()
           
 boolean getProgressEnabled()
           
 IResource getResource()
           
 String getRootChannelId()
           
 SerializationSettings getSerializationSettings()
           
 SessionConfig getSessionConfig()
           
 long getStartTime()
           
 ITransaction getTransaction()
           
 void incrementItemProgressValue(int increment)
           
 void incrementOverallProgressValue(int increment)
           
 void logDebug(String msg)
           
 void logDebug(String msg, Object o)
           
 void logDebug(String msg, Throwable t)
           
 void sendProgressFinalNotification(String message, ProgressConfig.Type type)
           
 void sendProgressNotification(Document messageDoc, String styleFilename, ProgressConfig.Type type)
           
 void sendProgressNotification(String message, ProgressConfig.Type type, String innerProgressId)
           
 void setCurrentChannelPath(String currentChannelPath)
           
 void setDirectory(IDirectory directory)
           
 void setItemProgressMax(int itemProgressMax)
           
 void setItemProgressValue(int itemProgressValue)
           
 void setOverallProgressMax(int overallProgressMax)
           
 void setOverallProgressValue(int overallProgressValue)
           
 void setProcessId(String processId)
           
 void setRootChannelId(String rootChannelId)
           
 void setSerializationSettings(SerializationSettings serializationSettings)
           
 void setStartTime(long startTimeMillis)
           
 void setTransaction(ITransaction transaction)
           
 void updateProgressBar(int incrementOverallProgress, int incrementItemProgress, String itemName)
           
 void updateProgressBar(int incrementOverallProgress, String itemName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSerializationContext

public BaseSerializationContext(SessionConfig sessionConfig,
                                ITransaction transaction,
                                String rootChannelId,
                                IDirectory directory,
                                boolean progressEnabled,
                                boolean includeContent,
                                boolean includeGlobalPrincipals)
Method Detail

getSerializationSettings

public SerializationSettings getSerializationSettings()

setSerializationSettings

public void setSerializationSettings(SerializationSettings serializationSettings)

getRootChannelId

public String getRootChannelId()

setRootChannelId

public void setRootChannelId(String rootChannelId)

getDirectory

public IDirectory getDirectory()

setDirectory

public void setDirectory(IDirectory directory)

getSessionConfig

public SessionConfig getSessionConfig()

setTransaction

public void setTransaction(ITransaction transaction)

getTransaction

public ITransaction getTransaction()

getResource

public IResource getResource()

getProcessId

public String getProcessId()

setProcessId

public void setProcessId(String processId)

getItemProgressMax

public int getItemProgressMax()

setItemProgressMax

public void setItemProgressMax(int itemProgressMax)

getItemProgressValue

public int getItemProgressValue()

setItemProgressValue

public void setItemProgressValue(int itemProgressValue)

incrementItemProgressValue

public void incrementItemProgressValue(int increment)

getOverallProgressMax

public int getOverallProgressMax()

setOverallProgressMax

public void setOverallProgressMax(int overallProgressMax)

incrementOverallProgressValue

public void incrementOverallProgressValue(int increment)

getOverallProgressValue

public int getOverallProgressValue()

setOverallProgressValue

public void setOverallProgressValue(int overallProgressValue)

getStartTime

public long getStartTime()

setStartTime

public void setStartTime(long startTimeMillis)

getIncludeContent

public boolean getIncludeContent()

getIncludeGlobalPrincipals

public boolean getIncludeGlobalPrincipals()

getProgressEnabled

public boolean getProgressEnabled()

updateProgressBar

public void updateProgressBar(int incrementOverallProgress,
                              String itemName)
                       throws PortalException
Throws:
PortalException

updateProgressBar

public void updateProgressBar(int incrementOverallProgress,
                              int incrementItemProgress,
                              String itemName)
                       throws PortalException
Throws:
PortalException

sendProgressNotification

public void sendProgressNotification(String message,
                                     ProgressConfig.Type type,
                                     String innerProgressId)
                              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

getCurrentChannelPath

public String getCurrentChannelPath()

setCurrentChannelPath

public void setCurrentChannelPath(String currentChannelPath)

logDebug

public void logDebug(String msg)

logDebug

public void logDebug(String msg,
                     Object o)

logDebug

public void logDebug(String msg,
                     Throwable t)


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