PreviewUrlAgent.getContentProducerBuilder()
or PreviewUrlAgent.getMediaBuilder()
to create preview urls.The builder can be used to create preview urls for elements of type Page
, PageRef
or DocumentGroup
.@Deprecated public interface Previewable extends IDProvider
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_REVISION
Deprecated.
|
static int |
PREVIEWMODE_DEFAULT
Deprecated.
|
static int |
PREVIEWMODE_DEFAULT_REFRESH
Deprecated.
|
static int |
PREVIEWMODE_FORCE_REFRESH
Deprecated.
|
static int |
PREVIEWMODE_FULL_QUALIFIED
Deprecated.
|
static int |
PREVIEWMODE_NONE
Deprecated.
|
static int |
PREVIEWMODE_SSO
Deprecated.
|
static int |
PREVIEWMODE_WEBEDIT
Deprecated.
|
static int |
PREVIEWMODE_WEBEDIT_FULL_QUALIFIED
Deprecated.
|
static int |
PREVIEWMODE_WITHOUT_CONTEXTNAME
Deprecated.
|
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
Modifier and Type | Method and Description |
---|---|
String |
getPreviewUrl(Language language,
TemplateSet templateSet,
boolean release,
int mode,
Map<?,?> params)
Deprecated.
since 5.2.190105, please use
PreviewUrlAgent.ContentProducerPreviewUrlBuilder#getUrl(ContentProducer) |
PreviewUrl |
getPreviewUrlObject(Language language,
TemplateSet templateSet,
boolean release,
int mode,
Map<?,?> params)
Deprecated.
since 5.2.190105, please use
PreviewUrlAgent.ContentProducerPreviewUrlBuilder#getUrlObject(ContentProducer) |
contrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleased, isReleaseSupported, moveChild, moveChild, release, release, revert, setDisplayName, setMeta, setMetaFormData, setUid
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getPreviousSibling, getProject, getReferenceName, getReferences, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasPermissions, importStoreElement, importStoreElements, inheritWorkflowPermission, isDeleted, isExportSupported, isFolder, isImportSupported, isLocked, isLockedOnServer, isLockSupported, isPermissionSupported, isWorkflowAllowed, isWorkflowSupported, refresh, removeAllWorkflowPermissions, removeChild, removePermission, removePermission, removePermission, removeWorkflowPermission, replaceChild, save, save, save, setInheritWorkflowPermission, setLock, setLock, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml
getColor, getTask, hasTask, removeTask, setColor, setTask
compareTo
asRevisionProvider, getHistory, getHistory
static final int PREVIEWMODE_NONE
static final int PREVIEWMODE_FORCE_REFRESH
static final int PREVIEWMODE_SSO
static final int PREVIEWMODE_FULL_QUALIFIED
static final int PREVIEWMODE_WEBEDIT
static final int PREVIEWMODE_WITHOUT_CONTEXTNAME
static final int PREVIEWMODE_DEFAULT
static final int PREVIEWMODE_DEFAULT_REFRESH
static final int PREVIEWMODE_WEBEDIT_FULL_QUALIFIED
static final String PARAM_REVISION
@Deprecated String getPreviewUrl(Language language, TemplateSet templateSet, boolean release, int mode, Map<?,?> params)
PreviewUrlAgent.ContentProducerPreviewUrlBuilder#getUrl(ContentProducer)
language
- the requested preview language (may be null
templateSet
- the requested preview template set (may be null
release
- released or current version of previewmode
- combination of PREVIEWMODE_FORCE_REFRESH
, PREVIEWMODE_SSO
, PREVIEWMODE_FULL_QUALIFIED
, and PREVIEWMODE_WEBEDIT
params
- additional preview params, may be null
- for valid params see overriding methodsnull
if the url cannot be determined@Deprecated PreviewUrl getPreviewUrlObject(@Nullable Language language, TemplateSet templateSet, boolean release, int mode, Map<?,?> params)
PreviewUrlAgent.ContentProducerPreviewUrlBuilder#getUrlObject(ContentProducer)
language
- the requested preview language (may be null
templateSet
- the requested preview template set (may be null
release
- released or current version of previewmode
- combination of PREVIEWMODE_FORCE_REFRESH
, PREVIEWMODE_SSO
, PREVIEWMODE_FULL_QUALIFIED
, and PREVIEWMODE_WEBEDIT
params
- additional preview params, may be null
- for valid params see overriding methodsCopyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210