All Classes Namespaces Files Functions Variables Groups
kerio::jsonapi::webmail::tasks::Tasks Interface Reference

import "Tasks.idl";

Public Member Functions

void get (out TaskList list, out long totalItems, in kerio::web::KIdList folderIds, in kerio::web::SearchQuery query)
void getById (out kerio::web::ErrorList errors, out TaskList result, in kerio::web::KIdList ids)
void remove (out kerio::web::ErrorList errors, in kerio::web::KIdList ids)
void copy (out kerio::web::ErrorList errors, out CreateResultList result, in kerio::web::KIdList ids, in kerio::web::KId folder)
void create (out kerio::web::ErrorList errors, out CreateResultList result, in TaskList tasks)
void set (out kerio::web::ErrorList errors, out SetResultList result, in TaskList tasks)
void move (out kerio::web::ErrorList errors, out CreateResultList result, in kerio::web::KIdList ids, in kerio::web::KId folder)

Detailed Description

Tasks management.

Member Function Documentation

void kerio::jsonapi::webmail::tasks::Tasks::copy ( out kerio::web::ErrorList  errors,
out CreateResultList  result,
in kerio::web::KIdList  ids,
in kerio::web::KId  folder 
)

Copy existing tasks to folder

Parameters
errors- error message list
ids- list of global identifiers of tasks to be copied
folder- target folder
void kerio::jsonapi::webmail::tasks::Tasks::create ( out kerio::web::ErrorList  errors,
out CreateResultList  result,
in TaskList  tasks 
)

Create tasks.

Parameters
errors- list of tasks that failed on creation
result- particular results for all items
events- list of tasks to be created
void kerio::jsonapi::webmail::tasks::Tasks::get ( out TaskList  list,
out long  totalItems,
in kerio::web::KIdList  folderIds,
in kerio::web::SearchQuery  query 
)

Get a list of tasks.

Parameters
list- all found tasks
totalItems- number of tasks found if there is no limit
folderIds- list of global identifiers of folders to be listed.
query- query attributes and limits
void kerio::jsonapi::webmail::tasks::Tasks::getById ( out kerio::web::ErrorList  errors,
out TaskList  result,
in kerio::web::KIdList  ids 
)

Get an tasks.

Parameters
errors- list of tasks that failed to obtain
result- found tasks
ids- global identifiers of requested tasks
void kerio::jsonapi::webmail::tasks::Tasks::move ( out kerio::web::ErrorList  errors,
out CreateResultList  result,
in kerio::web::KIdList  ids,
in kerio::web::KId  folder 
)

Move existing tasks to folder

Parameters
errors- error message list
ids- list of global identifiers of tasks to be moved
folder- target folder
void kerio::jsonapi::webmail::tasks::Tasks::remove ( out kerio::web::ErrorList  errors,
in kerio::web::KIdList  ids 
)

Remove a list of tasks.

Parameters
errors- list of tasks that failed to remove
ids- list of global identifiers of tasks to be removed
void kerio::jsonapi::webmail::tasks::Tasks::set ( out kerio::web::ErrorList  errors,
out SetResultList  result,
in TaskList  tasks 
)

Set tasks.

Parameters
errors- error message list
events- modifications of tasks.

The documentation for this interface was generated from the following file: