public class WorkbasketQueryImpl extends Object implements WorkbasketQuery
| Constructor and Description |
|---|
WorkbasketQueryImpl(TaskanaEngine taskanaEngine) |
| Modifier and Type | Method and Description |
|---|---|
WorkbasketQuery |
access(WorkbasketAuthorization permission,
String... accessIds)
Add the access requested.
|
WorkbasketQuery |
created(Date... created)
Add your created-Dates to your query.
|
WorkbasketQuery |
descriptionLike(String description)
Add your description to your query.
|
String[] |
getAccessId() |
WorkbasketAuthorization |
getAuthorization() |
Date[] |
getCreated() |
String |
getDescription() |
Date[] |
getModified() |
String[] |
getName() |
String[] |
getOwner() |
List<Workbasket> |
list()
This method will return a list of defined
T objects. |
List<Workbasket> |
list(int offset,
int limit)
This method will return a list of defined
T objects with specified
offset and an limit. |
WorkbasketQuery |
modified(Date... modified)
Add your modified-Dates to your query.
|
WorkbasketQuery |
name(String... names)
Add your names to your query.
|
WorkbasketQuery |
owner(String... owners)
Add the owners to your query.
|
void |
setAccessId(String[] accessId) |
void |
setAuthorization(WorkbasketAuthorization authorization) |
void |
setCreated(Date[] created) |
void |
setDescription(String description) |
void |
setModified(Date[] modified) |
void |
setName(String[] name) |
void |
setOwner(String[] owner) |
Workbasket |
single()
This method will return a single object of
T. |
String |
toString() |
public WorkbasketQueryImpl(TaskanaEngine taskanaEngine)
public WorkbasketQuery name(String... names)
WorkbasketQueryname in interface WorkbasketQuerynames - the names as Stringspublic WorkbasketQuery created(Date... created)
WorkbasketQuerycreated in interface WorkbasketQuerycreated - TODOpublic WorkbasketQuery modified(Date... modified)
WorkbasketQuerymodified in interface WorkbasketQuerymodified - TODOpublic WorkbasketQuery descriptionLike(String description)
WorkbasketQuerydescriptionLike in interface WorkbasketQuerydescription - your descriptionpublic WorkbasketQuery owner(String... owners)
WorkbasketQueryowner in interface WorkbasketQueryowners - the owners as Stringpublic WorkbasketQuery access(WorkbasketAuthorization permission, String... accessIds) throws InvalidArgumentException
WorkbasketQueryaccess in interface WorkbasketQuerypermission - the permissions requestedaccessIds - the accessIds as StringInvalidArgumentException - TODOpublic List<Workbasket> list() throws NotAuthorizedException
BaseQueryT objects.list in interface BaseQuery<Workbasket>NotAuthorizedException - TODOpublic List<Workbasket> list(int offset, int limit) throws NotAuthorizedException
BaseQueryT objects with specified
offset and an limit.list in interface BaseQuery<Workbasket>offset - TODOlimit - TODONotAuthorizedException - TODOpublic Workbasket single() throws NotAuthorizedException
BaseQueryT.single in interface BaseQuery<Workbasket>NotAuthorizedException - TODOpublic String[] getAccessId()
public void setAccessId(String[] accessId)
public WorkbasketAuthorization getAuthorization()
public void setAuthorization(WorkbasketAuthorization authorization)
public String[] getName()
public void setName(String[] name)
public Date[] getCreated()
public void setCreated(Date[] created)
public Date[] getModified()
public void setModified(Date[] modified)
public String getDescription()
public void setDescription(String description)
public String[] getOwner()
public void setOwner(String[] owner)
Copyright © 2017. All rights reserved.