[转]com.atlassian.greenhopper.service.issue.flagging
本文转自:https://docs.atlassian.com/jira-software/6.7.6/com/atlassian/greenhopper/service/issue/flagging/FlagService.html
com.atlassian.greenhopper.service.issue.flaggingInterface FlagService
- All Known Implementing Classes:
- FlagServiceImpl
public interface FlagService
-
- ServiceOutcome
flag(com.atlassian.jira.user.ApplicationUser user, CollectionFlags / unflags issues according to the given parameter.issues, boolean flag) BooleanisFlagged(com.atlassian.jira.issue.Issue issue)Get the flagged value for the gifen issue.
- ServiceOutcome
-
- ServiceOutcome
flag(com.atlassian.jira.user.ApplicationUser user, Collection issues, boolean flag) Flags / unflags issues according to the given parameter. - Parameters:
user- the actorissues- the collection of issuesflag-trueto flag,falseto unflag- Returns:
- a valid outcome with an empty
ErrorCollectionif all the issues were succesfully updated, a valid outcome with a non emptyErrorCollectionif some of the issues were not updated, an invalid outcome if all the issues were rejected
- Parameters:
issue- the target issue
- ServiceOutcome