public class TaskImpl extends ClientImpl implements BaseTask, Serializable
| Modifier and Type | Method and Description |
|---|---|
Task |
createTask(String subject,
String start,
String end,
String description,
long statusId,
long projectId,
long 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,
Calendar from,
Calendar to,
String subject)
Gets active tasks.
|
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,
Calendar from,
Calendar to,
String subject)
Gets assigned tasks.
|
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,
Calendar from,
Calendar to,
String subject)
Gets finished tasks.
|
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.
|
TaskList |
getNotifiedTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
Calendar from,
Calendar to,
String subject)
Gets notified tasks.
|
TaskList |
getNotifiedTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
String subject)
Gets notified tasks.
|
long |
getNotifiedTasksCount(long statusId,
long projectId,
long typeId)
Gets notified 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.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
Task |
updateTask(long taskId,
String subject,
String start,
String end,
String description,
long statusId,
long projectId,
long 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.
|
getClient, resource, resource, resourcepublic TaskImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public 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
BaseTaskgetAssignedTasks in interface BaseTaskprojectId - 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 exceptionpublic TaskList getAssignedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
BaseTaskgetAssignedTasks in interface BaseTaskprojectId - the project idtypeId - the type idstatusId - the status idorderColumn - the order columnorderAsc - the order ascoffset - the offsetlimit - the limitfrom - the fromto - the tosubject - the subjectRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionpublic TaskList getActiveTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
BaseTaskgetActiveTasks in interface BaseTaskprojectId - 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 exceptionpublic TaskList getActiveTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
BaseTaskgetActiveTasks in interface BaseTaskprojectId - the project idtypeId - the type idstatusId - the status idorderColumn - the order columnorderAsc - the order ascoffset - the offsetlimit - the limitfrom - the fromto - the tosubject - the subjectRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionpublic TaskList getFinishedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
BaseTaskgetFinishedTasks in interface BaseTaskprojectId - 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 exceptionpublic TaskList getFinishedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
BaseTaskgetFinishedTasks in interface BaseTaskprojectId - the project idtypeId - the type idstatusId - the status idorderColumn - the order columnorderAsc - the order ascoffset - the offsetlimit - the limitfrom - the fromto - the tosubject - the subjectRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionpublic TaskList getNotifiedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
BaseTaskgetNotifiedTasks in interface BaseTaskprojectId - 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 exceptionpublic TaskList getNotifiedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
BaseTaskgetNotifiedTasks in interface BaseTaskprojectId - the project idtypeId - the type idstatusId - the status idorderColumn - the order columnorderAsc - the order ascoffset - the offsetlimit - the limitfrom - the fromto - the tosubject - the subjectRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionpublic List<TaskStatus> getTaskStatus() throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
BaseTaskgetTaskStatus in interface BaseTaskWebserviceException - the webservice exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionUnknownException - the unknown exceptionpublic List<TaskProject> getTaskProjects(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
BaseTaskgetTaskProjects in interface BaseTaskfilterActive - the filter activeWebserviceException - the webservice exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionUnknownException - the unknown exceptionpublic List<TaskType> getTaskTypes(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
BaseTaskgetTaskTypes in interface BaseTaskfilterActive - the filter activeWebserviceException - the webservice exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionUnknownException - the unknown exceptionpublic long getAssignedTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknownException
BaseTaskgetAssignedTasksCount in interface BaseTaskstatusId - 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 exceptionpublic long getActiveTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknownException
BaseTaskgetActiveTasksCount in interface BaseTaskstatusId - 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 exceptionpublic long getFinishedTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknownException
BaseTaskgetFinishedTasksCount in interface BaseTaskstatusId - 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 exceptionpublic long getNotifiedTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknownException
BaseTaskgetNotifiedTasksCount in interface BaseTaskstatusId - 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 exceptionpublic Task createTask(String subject, String start, String end, String description, long statusId, long projectId, long 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
BaseTaskcreateTask in interface BaseTasksubject - 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 exceptionpublic Task updateTask(long taskId, String subject, String start, String end, String description, long statusId, long projectId, long 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
BaseTaskupdateTask in interface BaseTasktaskId - 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 exceptionpublic void deleteTask(long taskId)
throws LockException,
PathNotFoundException,
AccessDeniedException,
RepositoryException,
DatabaseException,
WebserviceException,
UnknownException
BaseTaskdeleteTask in interface BaseTasktaskId - 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 exceptionpublic TaskProject createTaskProject(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
BaseTaskcreateTaskProject in interface BaseTaskname - 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 exceptionpublic TaskProject updateTaskProject(long projectId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
BaseTaskupdateTaskProject in interface BaseTaskprojectId - 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 exceptionpublic void deleteTaskProject(long projectId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknownException,
WebserviceException
BaseTaskdeleteTaskProject in interface BaseTaskprojectId - 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 exceptionpublic TaskProject getTaskProject(long projectId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
BaseTaskgetTaskProject in interface BaseTaskprojectId - the project idWebserviceException - the webservice exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionUnknownException - the unknown exceptionpublic TaskType createTaskType(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
BaseTaskcreateTaskType in interface BaseTaskname - 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 exceptionpublic TaskType updateTaskType(long typeId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
BaseTaskupdateTaskType in interface BaseTasktypeId - 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 exceptionpublic void deleteTaskType(long typeId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknownException,
WebserviceException
BaseTaskdeleteTaskType in interface BaseTasktypeId - 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 exceptionpublic TaskType getTaskType(long typeId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
BaseTaskgetTaskType in interface BaseTasktypeId - the type idWebserviceException - the webservice exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionUnknownException - the unknown exceptionpublic TaskStatus createTaskStatus(String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
BaseTaskcreateTaskStatus in interface BaseTaskname - 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 exceptionpublic TaskStatus updateTaskStatus(long statusId, String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
BaseTaskupdateTaskStatus in interface BaseTaskstatusId - 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 exceptionpublic void deleteTaskStatus(long statusId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknownException,
WebserviceException
BaseTaskdeleteTaskStatus in interface BaseTaskstatusId - 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 exceptionpublic TaskStatus getTaskStatus(long statusId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
BaseTaskgetTaskStatus in interface BaseTaskstatusId - the status idWebserviceException - the webservice exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionUnknownException - the unknown exceptionpublic List<TaskNote> getTaskNotes(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
BaseTaskgetTaskNotes in interface BaseTasktaskId - 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 exceptionpublic TaskNote createTaskNote(long taskId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
BaseTaskcreateTaskNote in interface BaseTasktaskId - 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 exceptionpublic TaskNote updateTaskNote(long noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
BaseTaskupdateTaskNote in interface BaseTasknoteId - 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 exceptionpublic void deleteTaskNote(long noteId)
throws LockException,
PathNotFoundException,
AccessDeniedException,
RepositoryException,
DatabaseException,
WebserviceException,
UnknownException
BaseTaskdeleteTaskNote in interface BaseTasknoteId - 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 exceptionpublic Task getTask(long taskId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
BaseTaskgetTask in interface BaseTasktaskId - 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 exceptionCopyright © 2023 Open Knowledge Management System S.L.. All Rights Reserved.