public interface GetContentCmd 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 |
getContent()
Return the content text.
|
void |
setIncludeHostName(boolean includeHostName)
Indicates that URLs in the embedded content must be a fully qualified URLs that includes the scheme,
host name and port.
|
void |
setPreview(boolean preview)
Indicates that the content URL is to be retrieved for preview mode.
|
void |
setURL(java.lang.String url)
Set the content URL.
|
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 setURL(java.lang.String url)
url
- content URLvoid setPreview(boolean preview)
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
the embedded URLs must be fully qualified.includeHostName
- includeHostName optionjava.lang.String getContent()