public class TaskImpl extends ClientImpl implements BaseTask, Serializable
| Modifier and Type | Method and Description |
|---|---|
Task |
createTask(String subject,
String start,
String end,
String description,
String statusId,
String projectId,
String typeId,
List<String> users,
List<String> roles,
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) |
TaskNote |
createTaskNote(long taskId,
String text) |
TaskProject |
createTaskProject(String name,
boolean active,
String description) |
TaskStatus |
createTaskStatus(String name,
boolean finish) |
TaskType |
createTaskType(String name,
boolean active,
String description) |
void |
deleteTask(long taskId) |
void |
deleteTaskNote(long noteId) |
void |
deleteTaskProject(long projectId) |
void |
deleteTaskStatus(long statusId) |
void |
deleteTaskType(long typeId) |
TaskList |
getActiveTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
String subject) |
long |
getActiveTasksCount(long statusId,
long projectId,
long typeId) |
TaskList |
getAssignedTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
String subject) |
long |
getAssignedTasksCount(long statusId,
long projectId,
long typeId) |
TaskList |
getFinishedTasks(long projectId,
long typeId,
long statusId,
String orderColumn,
boolean orderAsc,
int offset,
int limit,
String subject) |
long |
getFinishedTasksCount(long statusId,
long projectId,
long typeId) |
Task |
getTask(long taskId) |
List<TaskNote> |
getTaskNotes(long taskId) |
TaskProject |
getTaskProject(long projectId) |
List<TaskProject> |
getTaskProjects(boolean filterActive) |
List<TaskStatus> |
getTaskStatus() |
TaskStatus |
getTaskStatus(long statusId) |
TaskType |
getTaskType(long typeId) |
List<TaskType> |
getTaskTypes(boolean filterActive) |
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
Task |
updateTask(String taskId,
String subject,
String start,
String end,
String description,
String statusId,
String projectId,
String typeId,
List<String> users,
List<String> roles,
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) |
TaskNote |
updateTaskNote(long noteId,
String text) |
TaskProject |
updateTaskProject(long projectId,
boolean active,
String name,
String description) |
TaskStatus |
updateTaskStatus(long statusId,
String name,
boolean finish) |
TaskType |
updateTaskType(long typeId,
boolean active,
String name,
String description) |
getClient, getClient, 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
getAssignedTasks in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknownExceptionpublic 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
getActiveTasks in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknownExceptionpublic 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
getFinishedTasks in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknownExceptionpublic List<TaskStatus> getTaskStatus() throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
getTaskStatus in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknownExceptionpublic List<TaskProject> getTaskProjects(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
getTaskProjects in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknownExceptionpublic List<TaskType> getTaskTypes(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
getTaskTypes in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknownExceptionpublic long getAssignedTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknownException
getAssignedTasksCount in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknownExceptionpublic long getActiveTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknownException
getActiveTasksCount in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknownExceptionpublic long getFinishedTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknownException
getFinishedTasksCount in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknownExceptionpublic Task createTask(String subject, String start, String end, String description, String statusId, String projectId, String typeId, List<String> users, List<String> roles, 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
createTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic Task updateTask(String taskId, String subject, String start, String end, String description, String statusId, String projectId, String typeId, List<String> users, List<String> roles, 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
updateTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic void deleteTask(long taskId)
throws LockException,
PathNotFoundException,
AccessDeniedException,
RepositoryException,
DatabaseException,
WebserviceException,
UnknownException
deleteTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic TaskProject createTaskProject(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
createTaskProject in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionItemExistsExceptionpublic TaskProject updateTaskProject(long projectId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
updateTaskProject in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionItemExistsExceptionpublic void deleteTaskProject(long projectId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknownException,
WebserviceException
public TaskProject getTaskProject(long projectId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
getTaskProject in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknownExceptionpublic TaskType createTaskType(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
createTaskType in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionItemExistsExceptionpublic TaskType updateTaskType(long typeId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
updateTaskType in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionItemExistsExceptionpublic void deleteTaskType(long typeId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknownException,
WebserviceException
public TaskType getTaskType(long typeId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
getTaskType in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknownExceptionpublic TaskStatus createTaskStatus(String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
createTaskStatus in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionItemExistsExceptionpublic TaskStatus updateTaskStatus(long statusId, String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, ItemExistsException
updateTaskStatus in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionItemExistsExceptionpublic void deleteTaskStatus(long statusId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknownException,
WebserviceException
public TaskStatus getTaskStatus(long statusId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknownException
getTaskStatus in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknownExceptionpublic List<TaskNote> getTaskNotes(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
getTaskNotes in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic TaskNote createTaskNote(long taskId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
createTaskNote in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic TaskNote updateTaskNote(long noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
updateTaskNote in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic void deleteTaskNote(long noteId)
throws LockException,
PathNotFoundException,
AccessDeniedException,
RepositoryException,
DatabaseException,
WebserviceException,
UnknownException
deleteTaskNote in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic Task getTask(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
getTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.