public abstract class PluginAsyncTaskType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
TASK_STATUS_COMPLETED |
static long |
TASK_STATUS_FAILED |
static long |
TASK_STATUS_INIT |
static long |
TASK_STATUS_INPROGRESS |
static long |
TASK_STATUS_PAUSED |
static long |
TASK_STATUS_PENDING |
static long |
TASK_STATUS_SCHEDULED |
| Constructor and Description |
|---|
PluginAsyncTaskType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate()
Returns whether this type of asynchronous task can be created.
|
java.util.Map<java.lang.String,java.lang.String> |
getAsyncTaskContextMenuDefinitions()
Returns the appropriate IBM Content Navigator context menu definition id for each status of an asynchronous task.
|
java.util.Map<java.lang.String,java.lang.String> |
getAsyncTaskInstanceContextMenuDefinitions()
Returns the appropriate IBM Content Navigator context menu definition id for each task instance status.
|
java.lang.String |
getCategorization()
An identifier that this type of asynchronous task should be classified with.
|
abstract java.lang.String |
getClassHandlerName()
Returns the full canonical class name for this asynchronous task.
|
java.lang.String |
getIconClass()
Returns the name of the icon style class that will represent this asynchronous task type.
|
java.lang.String |
getId()
Returns an identifier that is used to describe this menu.
|
abstract java.lang.String |
getName(java.util.Locale locale)
Returns a descriptive label for this task that is displayed in the IBM Content Navigator task pane.
|
java.lang.String |
getTaskCreationDialogDijitClass()
Returns the name of a Dojo
dijit class that provides the creation dialog interface widget for this
asynchronous task. |
java.lang.String |
getTaskInformationDijitClass()
Returns the name of a Dojo
dijit class that provides the information interface widget for this
asynchronous task. |
public static long TASK_STATUS_INIT
public static long TASK_STATUS_PENDING
public static long TASK_STATUS_INPROGRESS
public static long TASK_STATUS_COMPLETED
public static long TASK_STATUS_PAUSED
public static long TASK_STATUS_FAILED
public static long TASK_STATUS_SCHEDULED
public abstract java.lang.String getClassHandlerName()
public java.lang.String getId()
Important: This identifier is used in URLs so it must contain only alphanumeric characters.
String that is used to identify the menu.public abstract java.lang.String getName(java.util.Locale locale)
public java.lang.String getTaskCreationDialogDijitClass()
dijit class that provides the creation dialog interface widget for this
asynchronous task. The widget must extend the ecm.widget.taskManager.BaseTaskCreationDialog widget.
An instance of the widget is created and displayed in the IBM Content Navigator task pane when the user selects
to create this type of asynchronous task.
Refer to the documentation on ecm.widget.taskManager.BaseTaskCreationDialog for
more information on what is required.
public java.lang.String getTaskInformationDijitClass()
dijit class that provides the information interface widget for this
asynchronous task. The widget must extend the ecm.widget.taskManager.TaskInformationPane widget. An
instance of the widget is created and displayed in the IBM Content Navigator task pane when the user selects to
view this type of asynchronous task.
Refer to the documentation on ecm.widget.taskManager.BaseTaskInformationPane for
more information on what is required.
public java.util.Map<java.lang.String,java.lang.String> getAsyncTaskContextMenuDefinitions()
public java.util.Map<java.lang.String,java.lang.String> getAsyncTaskInstanceContextMenuDefinitions()
public java.lang.String getIconClass()
public boolean canCreate()
ecm.widget.layout.TaskPane.public java.lang.String getCategorization()