@Deprecated public interface LikeDao
LikeManager
.
Likes will be exposed via the transfer object Like
.
Modifier and Type | Method and Description |
---|---|
void |
addLike(ContentEntityObject contentEntity)
Deprecated.
Use
LikeManager.addLike(ContentEntityObject) instead. Since v4.3. |
Like |
addLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Deprecated.
Add a like on the content entity for the given user.
|
Map<Long,List<Like>> |
getLikes(Collection<? extends ContentEntityObject> contentEntities)
Deprecated.
Gets all the likes for the specified content entities (likes are ordered such that recent likes come first).
|
List<Like> |
getLikes(ContentEntityObject contentEntity)
Deprecated.
Gets all the likes for the specified content entity (likes are ordered such that recent likes come first)
|
boolean |
hasLike(ContentEntityObject contentEntity)
Deprecated.
Use
LikeManager.hasLike(ContentEntityObject) instead. Since v4.3. |
boolean |
hasLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Deprecated.
Returns true if the given user likes this content entity.
|
void |
removeAllLikesFor(String username)
Deprecated.
Removes all likes (for any user) from the specified content entity.
|
void |
removeAllLikesOn(ContentEntityObject contentEntity)
Deprecated.
Removes all likes (for any user) from the specified content entity.
|
void |
removeLike(ContentEntityObject contentEntity)
Deprecated.
Use
LikeManager.removeLike(ContentEntityObject) instead. Since v4.3. |
void |
removeLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Deprecated.
Remove like from content entity for the given user.
|
Like addLike(ContentEntityObject contentEntity, com.atlassian.user.User user)
contentEntity
- the content entity to add a like touser
- User liking the content@Deprecated void addLike(ContentEntityObject contentEntity)
LikeManager.addLike(ContentEntityObject)
instead. Since v4.3.contentEntity
- the content entity to add a like tovoid removeLike(ContentEntityObject contentEntity, com.atlassian.user.User user)
contentEntity
- content entity to remove like fromuser
- User removing their Like@Deprecated void removeLike(ContentEntityObject contentEntity)
LikeManager.removeLike(ContentEntityObject)
instead. Since v4.3.contentEntity
- content entity to remove like fromvoid removeAllLikesOn(ContentEntityObject contentEntity)
contentEntity
- content entityvoid removeAllLikesFor(String username)
username
- the name of the user to remove all likes forboolean hasLike(ContentEntityObject contentEntity, com.atlassian.user.User user)
contentEntity
- the content entityuser
- the User the Like is being checked for@Deprecated boolean hasLike(ContentEntityObject contentEntity)
LikeManager.hasLike(ContentEntityObject)
instead. Since v4.3.contentEntity
- the content entityList<Like> getLikes(ContentEntityObject contentEntity)
contentEntity
- the content entityMap<Long,List<Like>> getLikes(Collection<? extends ContentEntityObject> contentEntities)
contentEntities
- content entitiesCopyright © 2003–2017 Atlassian. All rights reserved.