com.atlassian.confluence.follow
Class Connection

java.lang.Object
  extended by com.atlassian.confluence.follow.Connection

public class Connection
extends java.lang.Object

Represents a connection between a follower and a followee.


Constructor Summary
Connection()
          For hibernate
Connection(ConfluenceUser follower, ConfluenceUser followee)
           
Connection(java.lang.String follower, java.lang.String followee)
          Deprecated. since 5.2
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getFollowee()
          Deprecated. since 5.2
 ConfluenceUser getFolloweeUser()
           
 java.lang.String getFollower()
          Deprecated. Since 5.2
 ConfluenceUser getFollowerUser()
           
 long getId()
           
 int hashCode()
           
 void setFollowee(java.lang.String followee)
          Deprecated. since 5.2
 void setFollower(java.lang.String follower)
          Deprecated. since 5.2
 void setId(long id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connection

public Connection()
For hibernate


Connection

@Deprecated
public Connection(java.lang.String follower,
                             java.lang.String followee)
Deprecated. since 5.2

Parameters:
follower -
followee -

Connection

public Connection(ConfluenceUser follower,
                  ConfluenceUser followee)
Method Detail

getId

public long getId()

setId

public void setId(long id)

getFollowerUser

public ConfluenceUser getFollowerUser()
Since:
5.2

getFolloweeUser

public ConfluenceUser getFolloweeUser()
Since:
5.2

getFollower

@Deprecated
public java.lang.String getFollower()
Deprecated. Since 5.2

Returns:

setFollower

@Deprecated
public void setFollower(java.lang.String follower)
Deprecated. since 5.2

Parameters:
follower -

getFollowee

@Deprecated
public java.lang.String getFollowee()
Deprecated. since 5.2

Returns:

setFollowee

@Deprecated
public void setFollowee(java.lang.String followee)
Deprecated. since 5.2

Parameters:
followee -

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2003-2013 Atlassian. All Rights Reserved.