com.atlassian.confluence.it.content
Class ShareContentHelper

java.lang.Object
  extended by com.atlassian.confluence.it.content.ShareContentHelper

public class ShareContentHelper
extends java.lang.Object


Constructor Summary
ShareContentHelper(java.lang.String baseUrl)
           
 
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
 

Constructor Detail

ShareContentHelper

public ShareContentHelper(java.lang.String baseUrl)
Method Detail

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 shared
user - the user who is sharing the page.
message - the message to send with the share notification
usersToShareWith - 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 shared
user - the user who is sharing the page.
message - the message to send with the share notification
emails - the addresses of others to share with.


Copyright © 2003-2014 Atlassian. All Rights Reserved.