Class ShareContentHelper
- java.lang.Object
-
- com.atlassian.confluence.it.content.ShareContentHelper
-
public class ShareContentHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ShareContentHelper(String baseUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
share(long pageId, User user, String message, UserWithKey... usersToShareWith)
Share the specified page as the specified user with one or more users.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.
-
-
-
Constructor Detail
-
ShareContentHelper
public ShareContentHelper(String baseUrl)
-
-
Method Detail
-
share
public void share(long pageId, User user, String message, UserWithKey... usersToShareWith)
Share the specified page as the specified user with one or more users.- Parameters:
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.
-
share
public 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.- Parameters:
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.
-
-