public class ShareContentHelper extends Object
Constructor and Description |
---|
ShareContentHelper(String baseUrl) |
Modifier and Type | Method and Description |
---|---|
void |
share(long pageId,
User user,
String message,
String... emails)
Share the specified page as the specified user with one or more e-mail addressed.
|
void |
share(long pageId,
User user,
String message,
UserWithKey... usersToShareWith)
Share the specified page as the specified user with one or more users.
|
public ShareContentHelper(String baseUrl)
public void share(long pageId, User user, String message, UserWithKey... usersToShareWith)
pageId
- the id of the page to be shareduser
- the user who is sharing the page.message
- the message to send with the share notificationusersToShareWith
- the users to share with.public void share(long pageId, User user, String message, String... emails)
pageId
- the id of the page to be shareduser
- the user who is sharing the page.message
- the message to send with the share notificationemails
- the addresses of others to share with.Copyright © 2003–2020 Atlassian. All rights reserved.