|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.serialization.BaseSerializationContext lumis.portal.serialization.SerializationContext
public class SerializationContext
Context class for portal objects serialization
Constructor Summary | |
---|---|
SerializationContext(SessionConfig sessionConfig,
ITransaction transaction,
String rootChannelId,
IDirectory directory,
boolean progressEnabled,
boolean includeContent)
|
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, String rootChannelId, IDirectory directory, boolean progressEnabled, boolean includeContent) throws PortalException
PortalException
Method Detail |
---|
public Set<String> getReferencedServiceInterfaceStyleIds()
public Set<String> getReferencedCssIds()
public Map<String,Set<String>> getReferencedServiceInterfaceIds()
public void addReferencedServiceInterface(String serviceId, String serviceInterfaceId)
public List<Dependency> getExternalDependencies()
public Map<String,Dependency> getExternalServiceInstanceDependencies()
public Set<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 |