com.atlassian.jira.issue.worklog.WorklogStore |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new worklog in the data store based on the values in the passed in Worklog object.
| |||||||||||
Deletes a worklog from the data store based on the passed in id.
| |||||||||||
Returns a worklog specified by it's id
| |||||||||||
Returns all child worklogs of a specified issue
| |||||||||||
Returns the count of all
Worklog 's that have a visibility restriction
of the provided group. | |||||||||||
Returns the count of all
Worklog 's that have a visibility restriction
of the provided role. | |||||||||||
Returns
WORKLOG_UPDATE_DATA_PAGE_SIZE of worklog ids and removal dates,
which were removed after (inclusive) provided time in milliseconds. | |||||||||||
Returns a set of worklogs for provided ids.
| |||||||||||
Returns of worklogs, which were updated or created after (inclusive) provided time in milliseconds.
| |||||||||||
Updates
Worklog 's such that worklogs that have a visibility
restriction of the provided groupName will be changed to have a visibility restriction of the
provided swapGroup. | |||||||||||
Updates
Worklog 's such that worklogs that have a visibility
restriction of the provided role will be changed to have a visibility restriction to the provided swapRole. | |||||||||||
Updates fields of an existing worklog in the datastore (identified by its id) with the supplied worklog.
|
Creates a new worklog in the data store based on the values in the passed in Worklog object.
worklog | specifies the values to create the worklog with. |
---|
Deletes a worklog from the data store based on the passed in id.
worklogId | specifies which worklog to delete (not null) |
---|
IllegalArgumentException | if the worklogId is null. |
---|
Returns a worklog specified by it's id
id | the specified id (not null) |
---|
Returns all child worklogs of a specified issue
issue | the specified parent issue (not null) |
---|
Returns the count of all Worklog
's that have a visibility restriction
of the provided group.
groupName | identifies the group the worklogs are restricted by, this must not be null. |
---|
Returns the count of all Worklog
's that have a visibility restriction
of the provided role.
roleId | identifies the role the worklogs are restricted by, this must not be null. |
---|
Returns WORKLOG_UPDATE_DATA_PAGE_SIZE
of worklog ids and removal dates,
which were removed after (inclusive) provided time in milliseconds.
sinceInMilliseconds | the time (measured as a difference between the timestamp and midnight, January 1, 1970 UTC) since which the modified worklogs will be returned. |
---|---|
maxResults | the maximum number of DeletedWorklog to return. |
Returns a set of worklogs for provided ids.
worklogIds | set of worklog ids. |
---|---|
maxResults | the maximu number of Worklog to return. |
Returns of worklogs, which were updated or created after (inclusive) provided time in milliseconds. Returned worklogs are ordered by the update time.
sinceInMilliseconds | the time (measured as a difference between the timestamp and midnight, January 1, 1970 UTC) since which the modified worklogs will be returned. |
---|---|
maxResults | the maximum number of worklogs to return. |
Updates Worklog
's such that worklogs that have a visibility
restriction of the provided groupName will be changed to have a visibility restriction of the
provided swapGroup.
Note: There is no validation performed by this method to determine if the provided swapGroup is a valid group with JIRA. This validation must be done by the caller.
groupName | identifies the group the worklogs are restricted by, this must not be null. |
---|---|
swapGroup | identifies the group the worklogs will be changed to be restricted by, this must not be null. |
Updates Worklog
's such that worklogs that have a visibility
restriction of the provided role will be changed to have a visibility restriction to the provided swapRole.
Note: There is no validation performed by this method to determine if the provided swapRoleId is a valid group with JIRA. This validation must be done by the caller.
roleId | identifies the role the worklogs are restricted by, this must not be null. |
---|---|
swapRoleId | identifies the role the worklogs will be changed to be restricted by, this must not be null. |
Updates fields of an existing worklog in the datastore (identified by its id) with the supplied worklog.
worklog | identifies the worklog to update and provides the updated values. |
---|