public interface BaseTask
Modifier and Type | Method and Description |
---|---|
Task |
createTask(String subject,
String start,
String end,
String description,
String statusId,
String projectId,
String typeId,
String user,
List<String> notificationUsers,
List<String> externalUsers,
List<String> relatedDocuments,
List<String> relatedFolders,
List<String> relatedRecords,
List<String> relatedMails,
String repeatExpression,
String repeatUntil,
String formatDate,
int repeatTimes,
String reminderStartUnit,
int reminderStartValue,
String reminderEndUnit,
int reminderEndValue)
Create task task.
|
TaskNote |
createTaskNote(long taskId,
String text)
Create task note task note.
|
TaskProject |
createTaskProject(String name,
boolean active,
String description)
Create task project task project.
|
TaskStatus |
createTaskStatus(String name,
boolean finish)
Create task status task status.
|
TaskType |
createTaskType(String name,
boolean active,
String description)
Create task type task type.
|
void |
deleteTask(long taskId)
Delete task.
|
void |
deleteTaskNote(long noteId)
Delete task note.
|
void |
deleteTaskProject(long projectId)
Delete task project.
|
void |
deleteTaskStatus(long statusId)
Delete task status.
|
void |
deleteTaskType(long typeId)
Delete task type.
|
TaskList |
getActiveTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
String subject)
Gets active tasks.
|
long |
getActiveTasksCount(long statusId,
long projectId,
long typeId)
Gets active tasks count.
|
TaskList |
getAssignedTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
String subject)
Gets assigned tasks.
|
long |
getAssignedTasksCount(long statusId,
long projectId,
long typeId)
Gets assigned tasks count.
|
TaskList |
getFinishedTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
String subject)
Gets finished tasks.
|
long |
getFinishedTasksCount(long statusId,
long projectId,
long typeId)
Gets finished tasks count.
|
Task |
getTask(long taskId)
Gets task.
|
List<TaskNote> |
getTaskNotes(long taskId)
Gets task notes.
|
TaskProject |
getTaskProject(long projectId)
Gets task project.
|
List<TaskProject> |
getTaskProjects(boolean filterActive)
Gets task projects.
|
List<TaskStatus> |
getTaskStatus()
Gets task status.
|
TaskStatus |
getTaskStatus(long statusId)
Gets task status.
|
TaskType |
getTaskType(long typeId)
Gets task type.
|
List<TaskType> |
getTaskTypes(boolean filterActive)
Gets task types.
|
Task |
updateTask(String taskId,
String subject,
String start,
String end,
String description,
String statusId,
String projectId,
String typeId,
String user,
List<String> notificationUsers,
List<String> externalUsers,
List<String> relatedDocuments,
List<String> relatedFolders,
List<String> relatedRecords,
List<String> relatedMails,
String owner,
String repeatExpression,
String repeatUntil,
String formatDate,
int repeatTimes,
int progress,
String reminderStartUnit,
int reminderStartValue,
String reminderEndUnit,
int reminderEndValue)
Update task task.
|
TaskNote |
updateTaskNote(long noteId,
String text)
Update task note task note.
|
TaskProject |
updateTaskProject(long projectId,
boolean active,
String name,
String description)
Update task project task project.
|
TaskStatus |
updateTaskStatus(long statusId,
String name,
boolean finish)
Update task status task status.
|
TaskType |
updateTaskType(long typeId,
boolean active,
String name,
String description)
Update task type task type.
|
TaskList getAssignedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
projectId
- the project idtypeId
- the type idstatusId
- the status idorderColumn
- the order columnorderAsc
- the order ascoffset
- the offsetlimit
- the limitsubject
- the subjectRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskList getActiveTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
projectId
- the project idtypeId
- the type idstatusId
- the status idorderColumn
- the order columnorderAsc
- the order ascoffset
- the offsetlimit
- the limitsubject
- the subjectRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskList getFinishedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
projectId
- the project idtypeId
- the type idstatusId
- the status idorderColumn
- the order columnorderAsc
- the order ascoffset
- the offsetlimit
- the limitsubject
- the subjectRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionList<TaskStatus> getTaskStatus() throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
WebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionList<TaskProject> getTaskProjects(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
filterActive
- the filter activeWebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionList<TaskType> getTaskTypes(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
filterActive
- the filter activeWebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionlong getAssignedTasksCount(long statusId, long projectId, long typeId) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
statusId
- the status idprojectId
- the project idtypeId
- the type idRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionlong getActiveTasksCount(long statusId, long projectId, long typeId) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
statusId
- the status idprojectId
- the project idtypeId
- the type idRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionlong getFinishedTasksCount(long statusId, long projectId, long typeId) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
statusId
- the status idprojectId
- the project idtypeId
- the type idRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTask createTask(String subject, String start, String end, String description, String statusId, String projectId, String typeId, String user, List<String> notificationUsers, List<String> externalUsers, List<String> relatedDocuments, List<String> relatedFolders, List<String> relatedRecords, List<String> relatedMails, String repeatExpression, String repeatUntil, String formatDate, int repeatTimes, String reminderStartUnit, int reminderStartValue, String reminderEndUnit, int reminderEndValue) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
subject
- the subjectstart
- the startend
- the enddescription
- the descriptionstatusId
- the status idprojectId
- the project idtypeId
- the type iduser
- the usernotificationUsers
- the notification usersexternalUsers
- the external usersrelatedDocuments
- the related documentsrelatedFolders
- the related foldersrelatedRecords
- the related recordsrelatedMails
- the related mailsrepeatExpression
- the repeat expressionrepeatUntil
- the repeat untilformatDate
- the format daterepeatTimes
- the repeat timesreminderStartUnit
- the reminder start unitreminderStartValue
- the reminder start valuereminderEndUnit
- the reminder end unitreminderEndValue
- the reminder end valueLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskNotFoundException
- the task not found exceptionTask updateTask(String taskId, String subject, String start, String end, String description, String statusId, String projectId, String typeId, String user, List<String> notificationUsers, List<String> externalUsers, List<String> relatedDocuments, List<String> relatedFolders, List<String> relatedRecords, List<String> relatedMails, String owner, String repeatExpression, String repeatUntil, String formatDate, int repeatTimes, int progress, String reminderStartUnit, int reminderStartValue, String reminderEndUnit, int reminderEndValue) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
taskId
- the task idsubject
- the subjectstart
- the startend
- the enddescription
- the descriptionstatusId
- the status idprojectId
- the project idtypeId
- the type iduser
- the usernotificationUsers
- the notification usersexternalUsers
- the external usersrelatedDocuments
- the related documentsrelatedFolders
- the related foldersrelatedRecords
- the related recordsrelatedMails
- the related mailsowner
- the ownerrepeatExpression
- the repeat expressionrepeatUntil
- the repeat untilformatDate
- the format daterepeatTimes
- the repeat timesprogress
- the progressreminderStartUnit
- the reminder start unitreminderStartValue
- the reminder start valuereminderEndUnit
- the reminder end unitreminderEndValue
- the reminder end valueLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskNotFoundException
- the task not found exceptionTask getTask(long taskId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
taskId
- the task idPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskNotFoundException
- the task not found exceptionvoid deleteTask(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
taskId
- the task idLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskProject createTaskProject(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
name
- the nameactive
- the activedescription
- the descriptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionItemExistsException
- the item exists exceptionTaskProject updateTaskProject(long projectId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
projectId
- the project idactive
- the activename
- the namedescription
- the descriptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionItemExistsException
- the item exists exceptionvoid deleteTaskProject(long projectId) throws AutomationException, AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceException
projectId
- the project idAutomationException
- the automation exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionLockException
- the lock exceptionDatabaseException
- the database exceptionExtensionException
- the extension exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionTaskProject getTaskProject(long projectId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
projectId
- the project idWebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionTaskType createTaskType(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
name
- the nameactive
- the activedescription
- the descriptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionItemExistsException
- the item exists exceptionTaskType updateTaskType(long typeId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
typeId
- the type idactive
- the activename
- the namedescription
- the descriptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionItemExistsException
- the item exists exceptionvoid deleteTaskType(long typeId) throws AutomationException, AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceException
typeId
- the type idAutomationException
- the automation exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionLockException
- the lock exceptionDatabaseException
- the database exceptionExtensionException
- the extension exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionTaskType getTaskType(long typeId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
typeId
- the type idWebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionTaskStatus createTaskStatus(String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
name
- the namefinish
- the finishLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionItemExistsException
- the item exists exceptionTaskStatus updateTaskStatus(long statusId, String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
statusId
- the status idname
- the namefinish
- the finishLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionItemExistsException
- the item exists exceptionvoid deleteTaskStatus(long statusId) throws AutomationException, AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceException
statusId
- the status idAutomationException
- the automation exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionLockException
- the lock exceptionDatabaseException
- the database exceptionExtensionException
- the extension exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionTaskStatus getTaskStatus(long statusId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
statusId
- the status idWebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionList<TaskNote> getTaskNotes(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
taskId
- the task idLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskNote createTaskNote(long taskId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
taskId
- the task idtext
- the textLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionTaskNotFoundException
- the task not found exceptionTaskNote updateTaskNote(long noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
noteId
- the note idtext
- the textLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionvoid deleteTaskNote(long noteId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
noteId
- the note idLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.