Package com.openkm.sdk4j.definition
Interface BaseTask
-
- All Known Implementing Classes:
TaskImpl
public interface BaseTaskBaseTask- Author:
- sochoa
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Taskcreate(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.TaskNotecreateNote(long taskId, String text)Create note.TaskProjectcreateProject(String name, boolean active, String description)Create task project task project.TaskStatuscreateStatus(String name, boolean finish)Create status.TaskTypecreateType(String name, boolean active, String description)Create type.voiddelete(long taskId)Delete task.voiddeleteNote(long noteId)Delete task note.voiddeleteProject(long projectId)Delete task project.voiddeleteStatus(long statusId)Delete status.voiddeleteType(long typeId)Delete type.TaskListgetActive(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject)Gets active tasks.TaskListgetActive(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject)Gets active tasks.longgetActiveCount(long statusId, long projectId, long typeId)Gets active tasks count.TaskListgetAssigned(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject)Gets assigned tasks.TaskListgetAssigned(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject)Gets assigned tasks.longgetAssignedCount(long statusId, long projectId, long typeId)Gets assigned tasks count.TaskListgetFinished(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject)Gets finished tasks.TaskListgetFinished(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject)Gets finished tasks.longgetFinishedCount(long statusId, long projectId, long typeId)Gets finished tasks count.List<TaskHistory>getHistory(long taskId)Gets history.List<TaskNote>getNotes(long taskId)Gets notes.TaskListgetNotified(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject)Gets notified tasks.TaskListgetNotified(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, Calendar from, Calendar to, String subject)Gets notified tasks.longgetNotifiedCount(long statusId, long projectId, long typeId)Gets notified tasks count.TaskProjectgetProject(long projectId)Gets task project.List<TaskProject>getProjects(boolean filterActive)Gets projects.TaskListgetRelatedTasks(String uuid)Gets related tasks.List<TaskStatus>getStatus()Gets status.TaskStatusgetStatus(long statusId)Gets status.TaskgetTask(long taskId)Gets task.TaskTypegetType(long typeId)Gets type.List<TaskType>getTypes(boolean filterActive)Gets types.Taskupdate(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.TaskNoteupdateNote(long noteId, String text)Update note.TaskProjectupdateProject(long projectId, boolean active, String name, String description)Update project.TaskStatusupdateStatus(long statusId, String name, boolean finish)Update status.TaskTypeupdateType(long typeId, boolean active, String name, String description)Update type.
-
-
-
Method Detail
-
create
Task create(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
Create task task.- Parameters:
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 value- Returns:
- the task
- Throws:
LockException- 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 exception
-
update
Task update(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
Update task task.- Parameters:
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 value- Returns:
- the task
- Throws:
LockException- 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 exception
-
getTask
Task getTask(long taskId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
Gets task.- Parameters:
taskId- the task id- Returns:
- the task
- Throws:
PathNotFoundException- 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 exception
-
delete
void delete(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownExceptionDelete task.- Parameters:
taskId- the task id- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getAssigned
TaskList getAssigned(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Gets assigned tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitsubject- the subject- Returns:
- the assigned tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getAssigned
TaskList getAssigned(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
Gets assigned tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitfrom- the fromto- the tosubject- the subject- Returns:
- the assigned tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getNotified
TaskList getNotified(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Gets notified tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitsubject- the subject- Returns:
- the finished tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getNotified
TaskList getNotified(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
Gets notified tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitfrom- the fromto- the tosubject- the subject- Returns:
- the notified tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getActive
TaskList getActive(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Gets active tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitsubject- the subject- Returns:
- the active tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getActive
TaskList getActive(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
Gets active tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitfrom- the fromto- the tosubject- the subject- Returns:
- the active tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getFinished
TaskList getFinished(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Gets finished tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitsubject- the subject- Returns:
- the finished tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getFinished
TaskList getFinished(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
Gets finished tasks.- Parameters:
projectId- the project idtypeId- the type idstatusId- the status idorderColumn- the order columnorderAsc- the order ascoffset- the offsetlimit- the limitfrom- the fromto- the tosubject- the subject- Returns:
- the finished tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getAssignedCount
long getAssignedCount(long statusId, long projectId, long typeId) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownExceptionGets assigned tasks count.- Parameters:
statusId- the status idprojectId- the project idtypeId- the type id- Returns:
- the assigned tasks count
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getNotifiedCount
long getNotifiedCount(long statusId, long projectId, long typeId) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownExceptionGets notified tasks count.- Parameters:
statusId- the status idprojectId- the project idtypeId- the type id- Returns:
- the finished tasks count
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getActiveCount
long getActiveCount(long statusId, long projectId, long typeId) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownExceptionGets active tasks count.- Parameters:
statusId- the status idprojectId- the project idtypeId- the type id- Returns:
- the finished tasks count
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getFinishedCount
long getFinishedCount(long statusId, long projectId, long typeId) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownExceptionGets finished tasks count.- Parameters:
statusId- the status idprojectId- the project idtypeId- the type id- Returns:
- the finished tasks count
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getRelatedTasks
TaskList getRelatedTasks(String uuid) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Gets related tasks.- Parameters:
uuid- the uuid- Returns:
- the related tasks
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getStatus
List<TaskStatus> getStatus() throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
Gets status.- Returns:
- the task status
- Throws:
WebserviceException- the webservice exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionUnknownException- the unknown exception
-
getProjects
List<TaskProject> getProjects(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
Gets projects.- Parameters:
filterActive- the filter active- Returns:
- the task projects
- Throws:
WebserviceException- the webservice exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionUnknownException- the unknown exception
-
getTypes
List<TaskType> getTypes(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
Gets types.- Parameters:
filterActive- the filter active- Returns:
- the task types
- Throws:
WebserviceException- the webservice exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionUnknownException- the unknown exception
-
getNotes
List<TaskNote> getNotes(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
Gets notes.- Parameters:
taskId- the task id- Returns:
- the task notes
- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
createProject
TaskProject createProject(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
Create task project task project.- Parameters:
name- the nameactive- the activedescription- the description- Returns:
- the task project
- Throws:
LockException- 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 exception
-
updateProject
TaskProject updateProject(long projectId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
Update project.- Parameters:
projectId- the project idactive- the activename- the namedescription- the description- Returns:
- the task project
- Throws:
LockException- 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 exception
-
deleteProject
void deleteProject(long projectId) throws AutomationException, AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceExceptionDelete task project.- Parameters:
projectId- the project id- Throws:
AutomationException- 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 exception
-
getProject
TaskProject getProject(long projectId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
Gets task project.- Parameters:
projectId- the project id- Returns:
- the task project
- Throws:
WebserviceException- the webservice exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionUnknownException- the unknown exception
-
createType
TaskType createType(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
Create type.- Parameters:
name- the nameactive- the activedescription- the description- Returns:
- the task type
- Throws:
LockException- 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 exception
-
updateType
TaskType updateType(long typeId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
Update type.- Parameters:
typeId- the type idactive- the activename- the namedescription- the description- Returns:
- the task type
- Throws:
LockException- 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 exception
-
deleteType
void deleteType(long typeId) throws AutomationException, AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceExceptionDelete type.- Parameters:
typeId- the type id- Throws:
AutomationException- 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 exception
-
getType
TaskType getType(long typeId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
Gets type.- Parameters:
typeId- the type id- Returns:
- the task type
- Throws:
WebserviceException- the webservice exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionUnknownException- the unknown exception
-
createStatus
TaskStatus createStatus(String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
Create status.- Parameters:
name- the namefinish- the finish- Returns:
- the task status
- Throws:
LockException- 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 exception
-
updateStatus
TaskStatus updateStatus(long statusId, String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
Update status.- Parameters:
statusId- the status idname- the namefinish- the finish- Returns:
- the task status
- Throws:
LockException- 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 exception
-
deleteStatus
void deleteStatus(long statusId) throws AutomationException, AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceExceptionDelete status.- Parameters:
statusId- the status id- Throws:
AutomationException- 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 exception
-
getStatus
TaskStatus getStatus(long statusId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
Gets status.- Parameters:
statusId- the status id- Returns:
- the task status
- Throws:
WebserviceException- the webservice exceptionRepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionUnknownException- the unknown exception
-
createNote
TaskNote createNote(long taskId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, TaskNotFoundException
Create note.- Parameters:
taskId- the task idtext- the text- Returns:
- the task note
- Throws:
LockException- 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 exception
-
updateNote
TaskNote updateNote(long noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
Update note.- Parameters:
noteId- the note idtext- the text- Returns:
- the task note
- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
deleteNote
void deleteNote(long noteId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownExceptionDelete task note.- Parameters:
noteId- the note id- Throws:
LockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getHistory
List<TaskHistory> getHistory(long taskId) throws AccessDeniedException, DatabaseException, WebserviceException, UnknownException
Gets history.- Parameters:
taskId- the task id- Returns:
- the history
- Throws:
AccessDeniedException- the access denied exceptionDatabaseException- the database exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
-