public class HibMutedSubscriptionDaoImpl extends com.jamasoftware.contour.data.util.hibernate4.HibernateDaoSupport implements MutedSubscriptionDao
Constructor and Description |
---|
HibMutedSubscriptionDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteMutedSubscription(MutedSubscription mutedSub) |
List<Integer> |
getMutedSubscriptionIdsForUser(Integer userId) |
List<Integer> |
getMutedSubscriptionIdsForUser(User subscriberUser) |
List<MutedSubscription> |
getMutedSubscriptions(Integer subId,
Integer userId) |
List<Integer> |
getMuteIdsForSubscriptions(List<Integer> subIds) |
boolean |
mutedSubscriptionExistsForUser(Integer subId,
Integer userId) |
boolean |
mutedSubscriptionWithScopeAndRefExistsForUser(Integer scopeId,
Integer refId,
Integer userId) |
MutedSubscription |
saveMutedSubscription(MutedSubscription mutedSub) |
public MutedSubscription saveMutedSubscription(MutedSubscription mutedSub)
saveMutedSubscription
in interface MutedSubscriptionDao
public void deleteMutedSubscription(MutedSubscription mutedSub)
deleteMutedSubscription
in interface MutedSubscriptionDao
public List<MutedSubscription> getMutedSubscriptions(Integer subId, Integer userId)
getMutedSubscriptions
in interface MutedSubscriptionDao
public List<Integer> getMuteIdsForSubscriptions(List<Integer> subIds)
getMuteIdsForSubscriptions
in interface MutedSubscriptionDao
public boolean mutedSubscriptionExistsForUser(Integer subId, Integer userId)
mutedSubscriptionExistsForUser
in interface MutedSubscriptionDao
public boolean mutedSubscriptionWithScopeAndRefExistsForUser(Integer scopeId, Integer refId, Integer userId)
mutedSubscriptionWithScopeAndRefExistsForUser
in interface MutedSubscriptionDao
public List<Integer> getMutedSubscriptionIdsForUser(User subscriberUser)
getMutedSubscriptionIdsForUser
in interface MutedSubscriptionDao
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.