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, UnknowException
getAssignedTasks in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic TaskList getActiveTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknowException
getActiveTasks in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic TaskList getFinishedTasks(long projectId, long typeId, long statusId, String orderColumn, boolean orderAsc, int offset, int limit, String subject) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknowException
getFinishedTasks in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic List<TaskStatus> getTaskStatus() throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknowException
getTaskStatus in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknowExceptionpublic List<TaskProject> getTaskProjects(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknowException
getTaskProjects in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknowExceptionpublic List<TaskType> getTaskTypes(boolean filterActive) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknowException
getTaskTypes in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknowExceptionpublic long getAssignedTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknowException
getAssignedTasksCount in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic long getActiveTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknowException
getActiveTasksCount in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic long getFinishedTasksCount(long statusId,
long projectId,
long typeId)
throws RepositoryException,
PathNotFoundException,
DatabaseException,
AccessDeniedException,
WebserviceException,
UnknowException
getFinishedTasksCount in interface BaseTaskRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic 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, UnknowException
createTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionpublic 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, UnknowException
updateTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionpublic void deleteTask(long taskId)
throws LockException,
PathNotFoundException,
AccessDeniedException,
RepositoryException,
DatabaseException,
WebserviceException,
UnknowException
deleteTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionpublic TaskProject createTaskProject(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
createTaskProject in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionItemExistsExceptionpublic TaskProject updateTaskProject(long projectId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
updateTaskProject in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionItemExistsExceptionpublic void deleteTaskProject(long projectId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknowException,
WebserviceException
public TaskProject getTaskProject(long projectId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknowException
getTaskProject in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknowExceptionpublic TaskType createTaskType(String name, boolean active, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
createTaskType in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionItemExistsExceptionpublic TaskType updateTaskType(long typeId, boolean active, String name, String description) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
updateTaskType in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionItemExistsExceptionpublic void deleteTaskType(long typeId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknowException,
WebserviceException
public TaskType getTaskType(long typeId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknowException
getTaskType in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknowExceptionpublic TaskStatus createTaskStatus(String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
createTaskStatus in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionItemExistsExceptionpublic TaskStatus updateTaskStatus(long statusId, String name, boolean finish) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
updateTaskStatus in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionItemExistsExceptionpublic void deleteTaskStatus(long statusId)
throws AutomationException,
AccessDeniedException,
RepositoryException,
PathNotFoundException,
LockException,
DatabaseException,
ExtensionException,
PromotedAsRecordLockException,
UnknowException,
WebserviceException
public TaskStatus getTaskStatus(long statusId) throws WebserviceException, RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, UnknowException
getTaskStatus in interface BaseTaskWebserviceExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionAccessDeniedExceptionUnknowExceptionpublic List<TaskNote> getTaskNotes(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException
getTaskNotes in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionpublic TaskNote createTaskNote(long taskId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException
createTaskNote in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionpublic TaskNote updateTaskNote(long noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException
updateTaskNote in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionpublic void deleteTaskNote(long noteId)
throws LockException,
PathNotFoundException,
AccessDeniedException,
RepositoryException,
DatabaseException,
WebserviceException,
UnknowException
deleteTaskNote in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionpublic Task getTask(long taskId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException
getTask in interface BaseTaskLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.