Package ru.moysklad.remap_1_2.clients
Class TaskClient
- java.lang.Object
-
- ru.moysklad.remap_1_2.clients.EntityClientBase
-
- ru.moysklad.remap_1_2.clients.TaskClient
-
- All Implemented Interfaces:
DeleteByIdEndpoint,Endpoint,GetByIdEndpoint<Task>,GetListEndpoint<Task>,HasFilesEndpoint<Task>,MassCreateUpdateDeleteEndpoint<Task>,MassCreateUpdateEndpoint<Task>,PostEndpoint<Task>,PutByIdEndpoint<Task>
public final class TaskClient extends EntityClientBase implements GetListEndpoint<Task>, GetByIdEndpoint<Task>, MassCreateUpdateDeleteEndpoint<Task>, PostEndpoint<Task>, PutByIdEndpoint<Task>, DeleteByIdEndpoint, HasFilesEndpoint<Task>
-
-
Field Summary
-
Fields inherited from class ru.moysklad.remap_1_2.clients.EntityClientBase
api, path
-
-
Method Summary
-
Methods inherited from class ru.moysklad.remap_1_2.clients.EntityClientBase
api, metaEntityClass, path, positionEntityClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.DeleteByIdEndpoint
delete, delete
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.Endpoint
api, metaEntityClass, path, positionEntityClass
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.GetByIdEndpoint
get, get
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.GetListEndpoint
get
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.HasFilesEndpoint
addFile, addFile, deleteFile, deleteFile, deleteFile, deleteFile, deleteFiles, deleteFiles, getFiles, getFiles, updateFiles, updateFiles
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.MassCreateUpdateDeleteEndpoint
delete
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.MassCreateUpdateEndpoint
createOrUpdate
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.PostEndpoint
create
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.PutByIdEndpoint
update, update
-
-
-
-
Method Detail
-
getNotes
public ListEntity<Task.TaskNote> getNotes(String taskId, ApiParam... params) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
getNotes
public ListEntity<Task.TaskNote> getNotes(Task task, ApiParam... params) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
createNote
public Task.TaskNote createNote(String taskId, Task.TaskNote newEntity) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
createNote
public Task.TaskNote createNote(Task task, Task.TaskNote newEntity) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
getNote
public Task.TaskNote getNote(String taskId, String taskNoteId, ApiParam... params) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
getNote
public Task.TaskNote getNote(Task task, String taskNoteId, ApiParam... params) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
getNote
public Task.TaskNote getNote(Task task, Task.TaskNote taskNote, ApiParam... params) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
updateNote
public void updateNote(String taskId, String taskNoteId, Task.TaskNote updatedEntity) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
updateNote
public void updateNote(Task task, String taskNoteId, Task.TaskNote updatedEntity) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
updateNote
public void updateNote(Task task, Task.TaskNote taskNote, Task.TaskNote updatedEntity) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
updateNote
public void updateNote(Task task, Task.TaskNote taskNote) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteNote
public void deleteNote(String taskId, String taskNoteId) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteNote
public void deleteNote(Task task, String taskNoteId) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
deleteNote
public void deleteNote(Task task, Task.TaskNote taskNote) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
entityClass
public Class<? extends MetaEntity> entityClass()
- Specified by:
entityClassin interfaceEndpoint- Overrides:
entityClassin classEntityClientBase
-
-