public class LikeEntity extends Object
Like
.Constructor and Description |
---|
LikeEntity()
For hibernate.
|
LikeEntity(ContentEntityObject content,
ConfluenceUser user,
Date creationDate) |
LikeEntity(ContentEntityObject content,
String username,
Date creationDate)
Deprecated.
|
LikeEntity(long contentId,
String username,
Date creationDate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Use business key of username and contentId pair (username and contentId is unique and is enforced by database unique constraint).
|
ContentEntityObject |
getContent() |
long |
getContentId()
Deprecated.
since 4.3.4 use getContent
|
Date |
getCreationDate() |
long |
getId() |
ConfluenceUser |
getUser() |
String |
getUsername()
Deprecated.
since 5.2. Use
getUser() instead. |
int |
hashCode() |
void |
setContent(ContentEntityObject content) |
void |
setContentId(long contentId)
Deprecated.
since 4.3.4 use setContent
|
void |
setCreationDate(Date creationDate) |
void |
setId(long id) |
void |
setUser(ConfluenceUser user) |
void |
setUsername(String username)
Deprecated.
since 5.2. Use
setUser(com.atlassian.confluence.user.ConfluenceUser) instead. |
public LikeEntity()
@Deprecated public LikeEntity(long contentId, String username, Date creationDate)
@Deprecated public LikeEntity(ContentEntityObject content, String username, Date creationDate)
public LikeEntity(ContentEntityObject content, ConfluenceUser user, Date creationDate)
public ContentEntityObject getContent()
public ConfluenceUser getUser()
@Deprecated public String getUsername()
getUser()
instead.public Date getCreationDate()
public long getId()
public void setContent(ContentEntityObject content)
@Deprecated public void setContentId(long contentId)
@Deprecated public long getContentId()
public void setUser(ConfluenceUser user)
@Deprecated public void setUsername(String username)
setUser(com.atlassian.confluence.user.ConfluenceUser)
instead.public void setCreationDate(Date creationDate)
public void setId(long id)
public boolean equals(Object obj)
Copyright © 2003–2015 Atlassian. All rights reserved.