Package ru.slie.luna.issue
Interface IssueManager
public interface IssueManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddWatcher(Issue issue, User user) longcountWatchers(Long issueId) voidcreate(User user, MutableIssue issue) voidcreate(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) getByIds(Collection<Long> issueIds) getByKeyOrId(String keyOrId) getByKeys(Collection<String> issueKeys) getSubtasks(Long parentId) getWatchers(Long issueId) getWatchersInfo(Long issueId, User user) voidremoveWatcher(Issue issue, User user) voidsave(User user, MutableIssue issue) voidsave(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) booleantoggleWatcher(Issue issue, User user) voidvalidate(User user, MutableIssue issue, boolean changedOnly)
-
Method Details
-
newIssue
-
create
- Throws:
ValidateException
-
create
void create(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) throws ValidateException - Throws:
ValidateException
-
save
- Throws:
ValidateException
-
save
void save(User user, MutableIssue issue, Boolean fireEvent, Boolean sendNotify) throws ValidateException - Throws:
ValidateException
-
validate
- Throws:
ValidateException
-
delete
-
delete
-
getByKeyOrId
-
getById
-
getByIds
-
getByKey
-
getByKeys
-
parseKey
-
getSubtasks
-
getWatchers
-
getWatchersInfo
-
countWatchers
-
addWatcher
-
removeWatcher
-
toggleWatcher
-