com.atlassian.confluence.it.content
Class ShareContentHelper
java.lang.Object
com.atlassian.confluence.it.content.ShareContentHelper
public class ShareContentHelper
- extends java.lang.Object
Method Summary |
void |
share(long pageId,
User user,
java.lang.String message,
java.lang.String... emails)
Share the specified page as the specified user with one or more e-mail addressed. |
void |
share(long pageId,
User user,
java.lang.String message,
UserWithKey... 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(java.lang.String baseUrl)
share
public void share(long pageId,
User user,
java.lang.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,
java.lang.String message,
java.lang.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-2014 Atlassian. All Rights Reserved.