|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.serialization.BaseSerializationContext
lumis.portal.serialization.SerializationContext
public class SerializationContext
Context class for portal objects serialization
Constructor Summary | |
---|---|
SerializationContext(SessionConfig sessionConfig,
ITransaction transaction,
java.lang.String rootChannelId,
IDirectory directory,
boolean progressEnabled,
boolean includeContent)
|
Method Summary | |
---|---|
void |
addReferencedServiceInterface(java.lang.String serviceId,
java.lang.String serviceInterfaceId)
|
java.util.Set<java.lang.String> |
getChannelIds()
|
java.util.List<Dependency> |
getExternalDependencies()
|
java.util.Map<java.lang.String,Dependency> |
getExternalServiceInstanceDependencies()
|
boolean |
getIncludeUserMembership()
Indicates if information about users being member of a group being exported is to be included. |
java.util.Set<java.lang.String> |
getReferencedCssIds()
|
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getReferencedServiceInterfaceIds()
|
java.util.Set<java.lang.String> |
getReferencedServiceInterfaceStyleIds()
|
ServiceInstanceSerializationContext |
getServiceInstanceSerializationContext()
|
boolean |
getShowExternalDependencyWarnings()
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializationContext(SessionConfig sessionConfig, ITransaction transaction, java.lang.String rootChannelId, IDirectory directory, boolean progressEnabled, boolean includeContent) throws PortalException
PortalException
Method Detail |
---|
public java.util.Set<java.lang.String> getReferencedServiceInterfaceStyleIds()
public java.util.Set<java.lang.String> getReferencedCssIds()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getReferencedServiceInterfaceIds()
public void addReferencedServiceInterface(java.lang.String serviceId, java.lang.String serviceInterfaceId)
public java.util.List<Dependency> getExternalDependencies()
public java.util.Map<java.lang.String,Dependency> getExternalServiceInstanceDependencies()
public java.util.Set<java.lang.String> getChannelIds()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |