public interface ResolveContentURLCmd extends TaskCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright statement.
|
static java.lang.String |
defaultCommandClassName
The default implementation class name.
|
static java.lang.String |
NAME
The full class name for this interface file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResolvedMimeSubtype()
Return the resolved MIME content sub-type.
|
java.lang.String |
getResolvedMimeType()
Return the resolved MIME content type.
|
java.lang.String |
getResolvedRenderType()
Get the resolved render type.
|
java.lang.String |
getResolvedURL()
Return the resolved content URL.
|
void |
setIncludeHostName(boolean includeHostName)
Indicates that the content URL must be a fully qualified URL that includes the scheme,
host name and port.
|
void |
setInternal(boolean internal)
Indicates that the content URL is to be resolved for an internal
call from the application server.
|
void |
setPreview(boolean preview)
Indicates that the content URL is to be resolved to the preview location of the content.
|
void |
setStoreStaticAssets(boolean storeStaticAssets)
Indicates that the content URL is to be resolved for
grabbing store static assets from Content Management System.
|
void |
setUnresolvedURL(java.lang.String unresolvedUrl)
Set the unresolved content URL.
|
void |
setUseCustomerTenantWCH(boolean useCustomerTenantWCH)
Indicates that the content URL is to be resolved will point to customer
tenant in WCH instead of default IBM tenant.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setUnresolvedURL(java.lang.String unresolvedUrl)
unresolvedUrl
- unresolved content URLvoid setStoreStaticAssets(boolean storeStaticAssets)
false
if this is not for static assets from CMSstoreStaticAssets
- store static asset optionvoid setUseCustomerTenantWCH(boolean useCustomerTenantWCH)
void setInternal(boolean internal)
false
if the URL is intended to be used externally by the browser.internal
- internal URL optionvoid setPreview(boolean preview)
false
for production URLs.preview
- preview optionvoid setIncludeHostName(boolean includeHostName)
true
to force the URLs to be
fully qualified with the content host name. For example, if the URL is intended for inclusion in an e-mail, then
if must be fully qualified.includeHostName
- includeHostName optionjava.lang.String getResolvedURL()
java.lang.String getResolvedMimeType()
java.lang.String getResolvedMimeSubtype()
java.lang.String getResolvedRenderType()