Package ru.slie.luna.issue
Interface IssueManager
public interface IssueManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddWatcher(Issue issue, User user) longcountWatchers(Long issueId) createIssue(User author) voidcreateIssue(User user, MutableIssue issue) voidcreateIssue(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) deleteIssue(User user, Issue issue) deleteIssue(User user, Issue issue, Boolean fireEvent, Boolean sendNotify) getIssueById(Long issueId) getIssueByKey(String issueKey) getIssueByKeyOrId(String keyOrId) getIssuesByIds(Collection<Long> issueIds) getIssuesByKeys(Collection<String> issueKeys) getWatchers(Long issueId) getWatchersInfo(Long issueId, User user) voidremoveWatcher(Issue issue, User user) booleantoggleWatcher(Issue issue, User user) voidupdateIssue(User user, MutableIssue issue) voidupdateIssue(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) voidvalidateIssue(User user, MutableIssue issue, boolean changedOnly) voidvalidateIssue(User user, MutableIssue issue, Collection<String> fieldList)
-
Method Details
-
createIssue
-
createIssue
- Throws:
ValidateException
-
createIssue
void createIssue(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) throws ValidateException - Throws:
ValidateException
-
updateIssue
- Throws:
ValidateException
-
updateIssue
void updateIssue(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) throws ValidateException - Throws:
ValidateException
-
validateIssue
- Throws:
ValidateException
-
validateIssue
void validateIssue(User user, MutableIssue issue, Collection<String> fieldList) throws ValidateException - Throws:
ValidateException
-
deleteIssue
-
deleteIssue
-
getIssueByKeyOrId
-
getIssueById
-
getIssuesByIds
-
getIssueByKey
-
getIssuesByKeys
-
parseKey
-
getWatchers
-
getWatchersInfo
-
countWatchers
-
addWatcher
-
removeWatcher
-
toggleWatcher
-