public interface ITaskManager extends IApplicationExternalManager
Modifier and Type | Field and Description |
---|---|
static int |
TASK_PRIORITY_HIGH |
static int |
TASK_PRIORITY_LOW |
static int |
TASK_PRIORITY_NORMAL |
Modifier and Type | Method and Description |
---|---|
boolean |
createTask(ITaskData taskData,
boolean saveImmediately,
boolean openExternal)
Creates an task in the external application.
|
boolean |
deactivateTask(java.lang.String taskID)
Deactivate the task
|
ITaskData[] |
getAllOverdoneTasks(java.util.Date loadUntil,
boolean includingCurrents)
Should return all overdone tasks
|
ITaskData[] |
getAllTasks(long loadFromInMillis,
java.util.Date loadUntil,
boolean collectByLastModificationDate)
Should return all tasks that are created, modified or received between the loadFromInMillis till loadUntil
|
ITaskData[] |
getTodaysTasks()
This application should return all todays tasks
|
boolean |
hasTaskEditor()
Tells LLworkplace if the external application has its own task editor
|
boolean |
modifyTask(ITaskData taskData)
Modify the task by the provided task data
|
boolean |
openTask(java.lang.String taskId)
Should open the task in an external user interface
|
getApplicationIcon, getApplicationIcon60x60, getApplicationKey, getApplicationName, getApplicationVersion
canAutocreateUnconfiguredInstance, checkConnection, cleanUp, getAdditionalBuildingInfo, getExternalManager16x16Icon, getExternalManagerDescription, getInstanceName, getManagerName, getPropertyFillingDescription, getPropertyItemDescriptions, getStoresCount, getVersion, init, isCheckConnection, isCompletelyConfigured, isOnlyOneInstanceAllowed, openExternalConfigDialog, setExternalContext, useExternalConfigDialog
static final int TASK_PRIORITY_LOW
static final int TASK_PRIORITY_NORMAL
static final int TASK_PRIORITY_HIGH
boolean hasTaskEditor()
boolean createTask(ITaskData taskData, boolean saveImmediately, boolean openExternal)
taskData
- task datasaveImmediately
- if true no visual representation is necessary the task should be immediately stored and deliveredopenExternal
- defines if the task should be opened in an external user interfaceITaskData[] getAllTasks(long loadFromInMillis, java.util.Date loadUntil, boolean collectByLastModificationDate)
loadFromInMillis
- earliest time to loadloadUntil
- latest time to loadcollectByLastModificationDate
- load in repect to the modification date otherwise start and due dateITaskData[] getTodaysTasks()
ITaskData[] getAllOverdoneTasks(java.util.Date loadUntil, boolean includingCurrents)
loadUntil
- latest time to loadincludingCurrents
- also load current running tasksboolean modifyTask(ITaskData taskData)
taskData
- the task data to be modifiedboolean deactivateTask(java.lang.String taskID)
taskID
- the task identifier of the task to be deactivatedboolean openTask(java.lang.String taskId)
taskId
- The external identifier of the task