Package com.atlassian.jira.plugins.share
Interface ShareService
- All Known Implementing Classes:
ShareServiceImpl
public interface ShareService
Shares entities such as issues, saved searches or unsaved searches via e-mail.
- Since:
- v5.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidGiven a valid ValidateShareIssueResult this method will send an e-mail to the users and fire aShareIssueEventvoidGiven a valid ValidateShareIssueResult this method will send an e-mail to the users and fire aShareJqlEventorShareSearchRequestEventdepending on if a saved filter was passed to the validate method.validateShareIssue(ApplicationUser remoteUser, ShareBean shareBean, Issue issue) Confirms that the shareBean param contains either usernames or e-mails and also validates that the user performing this operation has the permission to view other users in this JIRA instance.validateShareSearchRequest(ApplicationUser remoteUser, ShareBean shareBean, SearchRequest searchRequest) Confirms that the shareRequest param contains either usernames or e-mails and also validates that the user performing this operation has the permission to view other users in this JIRA instance.
-
Method Details