com.atlassian.confluence.user.notifications
Class AddWatchLink

java.lang.Object
  extended by com.atlassian.confluence.user.notifications.AddWatchLink

public class AddWatchLink
extends java.lang.Object

Represents the link needed to add a watch for a given piece of content

Since:
v4.3.3

Constructor Summary
AddWatchLink(AbstractPage page)
          Create a link to represent adding a watch on a page
AddWatchLink(Space space, ContentTypeEnum contentType)
          Create a link to represent adding a watch on a page
 
Method Summary
 java.lang.String getContentName()
           
 java.lang.String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddWatchLink

public AddWatchLink(AbstractPage page)
Create a link to represent adding a watch on a page

Parameters:
page - The page to be watched

AddWatchLink

public AddWatchLink(Space space,
                    ContentTypeEnum contentType)
Create a link to represent adding a watch on a page

Parameters:
space - The space to be watched
contentType - Used to define whether space watches are for blogs only or all content
Method Detail

getUrl

public java.lang.String getUrl()

getContentName

public java.lang.String getContentName()


Copyright © 2003-2014 Atlassian. All Rights Reserved.