|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.issue.flagging.FlagServiceImpl
@Service public class FlagServiceImpl
Constructor Summary | |
---|---|
FlagServiceImpl()
|
Method Summary | |
---|---|
ServiceOutcome<ErrorCollection> |
flag(com.atlassian.crowd.embedded.api.User user,
java.util.Collection<com.atlassian.jira.issue.Issue> issues,
boolean flag)
Flags / unflags issues according to the given parameter. |
java.lang.Boolean |
isFlagged(com.atlassian.jira.issue.Issue issue)
Get the flagged value for the gifen issue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlagServiceImpl()
Method Detail |
---|
public ServiceOutcome<ErrorCollection> flag(com.atlassian.crowd.embedded.api.User user, java.util.Collection<com.atlassian.jira.issue.Issue> issues, boolean flag)
FlagService
flag
in interface FlagService
user
- the actorissues
- the collection of issuesflag
- true
to flag, false
to unflag
ErrorCollection
if all the issues were succesfully updated,
a valid outcome with a non empty ErrorCollection
if some of the issues were not updated,
an invalid outcome if all the issues were rejectedpublic java.lang.Boolean isFlagged(com.atlassian.jira.issue.Issue issue)
FlagService
isFlagged
in interface FlagService
issue
- the target issue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |