com.atlassian.confluence.it.content
Class ShareContentHelper
java.lang.Object
com.atlassian.confluence.it.content.ShareContentHelper
public class ShareContentHelper
- extends Object
Method Summary |
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,
User... usersToShareWith)
Share the specified page as the specified user with one or more users. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShareContentHelper
public ShareContentHelper(String baseUrl)
share
public void share(long pageId,
User user,
String message,
User... 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.
Copyright © 2003-2012 Atlassian. All Rights Reserved.