public class DefaultFragmentRendererContext extends java.lang.Object implements FragmentRendererContext
Constructor and Description |
---|
DefaultFragmentRendererContext(FragmentEntryLink fragmentEntryLink) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Object> |
getDisplayObjectOptional() |
java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> |
getFieldValuesOptional() |
FragmentEntryLink |
getFragmentEntryLink() |
java.util.Locale |
getLocale() |
java.lang.String |
getMode() |
long |
getPreviewClassNameId() |
long |
getPreviewClassPK() |
int |
getPreviewType() |
java.lang.String |
getPreviewVersion() |
long[] |
getSegmentsExperienceIds() |
boolean |
isUseCachedContent() |
void |
setDisplayObject(java.lang.Object object) |
void |
setFieldValues(java.util.Map<java.lang.String,java.lang.Object> fieldValues) |
void |
setLocale(java.util.Locale locale) |
void |
setMode(java.lang.String mode) |
void |
setPreviewClassNameId(long previewClassNameId) |
void |
setPreviewClassPK(long previewClassPK) |
void |
setPreviewType(int previewType) |
void |
setPreviewVersion(java.lang.String previewVersion) |
void |
setSegmentsExperienceIds(long[] segmentsExperienceIds) |
void |
setUseCachedContent(boolean useCachedContent) |
public DefaultFragmentRendererContext(FragmentEntryLink fragmentEntryLink)
public java.util.Optional<java.lang.Object> getDisplayObjectOptional()
getDisplayObjectOptional
in interface FragmentRendererContext
public java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> getFieldValuesOptional()
getFieldValuesOptional
in interface FragmentRendererContext
public FragmentEntryLink getFragmentEntryLink()
getFragmentEntryLink
in interface FragmentRendererContext
public java.util.Locale getLocale()
getLocale
in interface FragmentRendererContext
public java.lang.String getMode()
getMode
in interface FragmentRendererContext
public long getPreviewClassNameId()
getPreviewClassNameId
in interface FragmentRendererContext
public long getPreviewClassPK()
getPreviewClassPK
in interface FragmentRendererContext
public int getPreviewType()
getPreviewType
in interface FragmentRendererContext
public java.lang.String getPreviewVersion()
getPreviewVersion
in interface FragmentRendererContext
public long[] getSegmentsExperienceIds()
getSegmentsExperienceIds
in interface FragmentRendererContext
public boolean isUseCachedContent()
isUseCachedContent
in interface FragmentRendererContext
public void setDisplayObject(java.lang.Object object)
public void setFieldValues(java.util.Map<java.lang.String,java.lang.Object> fieldValues)
public void setLocale(java.util.Locale locale)
public void setMode(java.lang.String mode)
public void setPreviewClassNameId(long previewClassNameId)
public void setPreviewClassPK(long previewClassPK)
public void setPreviewType(int previewType)
public void setPreviewVersion(java.lang.String previewVersion)
public void setSegmentsExperienceIds(long[] segmentsExperienceIds)
public void setUseCachedContent(boolean useCachedContent)