public class SerializationContext extends BaseSerializationContext
Constructor and Description |
---|
SerializationContext(SessionConfig sessionConfig,
ITransaction transaction,
String rootChannelId,
IDirectory directory,
boolean progressEnabled,
boolean includeContent) |
SerializationContext(SessionConfig sessionConfig,
ITransaction transaction,
String rootChannelId,
IDirectory directory,
boolean progressEnabled,
boolean includeContent,
boolean forExport) |
Modifier and Type | Method and Description |
---|---|
void |
addReferencedServiceInterface(String serviceId,
String serviceInterfaceId) |
Set<String> |
getChannelIds() |
List<Dependency> |
getExternalDependencies() |
Map<String,Dependency> |
getExternalServiceInstanceDependencies() |
boolean |
getIncludeUserMembership()
Indicates if information about users being member of a group being
exported is to be included.
|
Set<String> |
getReferencedCssIds() |
Map<String,Set<String>> |
getReferencedServiceInterfaceIds() |
Set<String> |
getReferencedServiceInterfaceStyleIds() |
ServiceInstanceSerializationContext |
getServiceInstanceSerializationContext() |
boolean |
getShowExternalDependencyWarnings() |
boolean |
isForExport() |
void |
setIncludeUserMembership(boolean include)
Sets if information about users being member of a group being
exported is to be included.
|
void |
setShallowSerialization(boolean shallowSerialization)
Sets whether the serialization will serialize the structure recursively or not.
|
void |
setShowExternalDependencyWarnings(boolean showExternalDependencyWarnings) |
void |
setTransaction(ITransaction transaction) |
getCurrentChannelPath, getDefaultSerializer, getDirectory, getGlobalGroups, getIncludeContent, getItemProgressMax, getItemProgressValue, getOverallProgressMax, getOverallProgressValue, getProcessId, getProgressEnabled, getResource, getRootChannelId, getSerializationSettings, getSessionConfig, getStartTime, getTransaction, incrementItemProgressValue, incrementOverallProgressValue, isShallowSerialization, logDebug, logDebug, logDebug, sendProgressFinalNotification, sendProgressNotification, sendProgressNotification, setCurrentChannelPath, setDefaultSerializer, setDirectory, setItemProgressMax, setItemProgressValue, setOverallProgressMax, setOverallProgressValue, setProcessId, setRootChannelId, setSerializationSettings, setStartTime, updateProgressBar, updateProgressBar
public SerializationContext(SessionConfig sessionConfig, ITransaction transaction, String rootChannelId, IDirectory directory, boolean progressEnabled, boolean includeContent) throws PortalException
PortalException
public SerializationContext(SessionConfig sessionConfig, ITransaction transaction, String rootChannelId, IDirectory directory, boolean progressEnabled, boolean includeContent, boolean forExport) throws PortalException
PortalException
public void addReferencedServiceInterface(String serviceId, String serviceInterfaceId)
public List<Dependency> getExternalDependencies()
public Map<String,Dependency> getExternalServiceInstanceDependencies()
public ServiceInstanceSerializationContext getServiceInstanceSerializationContext()
public boolean getShowExternalDependencyWarnings()
public void setShowExternalDependencyWarnings(boolean showExternalDependencyWarnings)
public void setTransaction(ITransaction transaction)
setTransaction
in class BaseSerializationContext
public void setShallowSerialization(boolean shallowSerialization)
BaseSerializationContext.isShallowSerialization()
for more details on recursion implications.setShallowSerialization
in class BaseSerializationContext
shallowSerialization
- the shallow serialization value.public boolean getIncludeUserMembership()
Note that this refers only to members that are users, this does not affect members that are groups.
public void setIncludeUserMembership(boolean include)
Note that this refers only to members that are users, this does not affect members that are groups.
include
- true to be included, false otherwise.public boolean isForExport()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.