org.alfresco.repo.domain.subscriptions
Interface SubscriptionsDAO

All Known Implementing Classes:
AbstractSubscriptionsDAO, SubscriptionsDAOImpl

public interface SubscriptionsDAO


Method Summary
 int countFollowers(java.lang.String userId)
           
 int countSubscriptions(java.lang.String userId, SubscriptionItemTypeEnum type)
           
 void deleteSubscription(java.lang.String userId, org.alfresco.service.cmr.repository.NodeRef node)
           
 boolean hasSubscribed(java.lang.String userId, org.alfresco.service.cmr.repository.NodeRef node)
           
 void insertSubscription(java.lang.String userId, org.alfresco.service.cmr.repository.NodeRef node)
           
 PagingFollowingResults selectFollowers(java.lang.String userId, org.alfresco.query.PagingRequest pagingRequest)
           
 PagingFollowingResults selectFollowing(java.lang.String userId, org.alfresco.query.PagingRequest pagingRequest)
           
 PagingSubscriptionResults selectSubscriptions(java.lang.String userId, SubscriptionItemTypeEnum type, org.alfresco.query.PagingRequest pagingRequest)
           
 

Method Detail

selectSubscriptions

PagingSubscriptionResults selectSubscriptions(java.lang.String userId,
                                              SubscriptionItemTypeEnum type,
                                              org.alfresco.query.PagingRequest pagingRequest)

countSubscriptions

int countSubscriptions(java.lang.String userId,
                       SubscriptionItemTypeEnum type)

insertSubscription

void insertSubscription(java.lang.String userId,
                        org.alfresco.service.cmr.repository.NodeRef node)

deleteSubscription

void deleteSubscription(java.lang.String userId,
                        org.alfresco.service.cmr.repository.NodeRef node)

hasSubscribed

boolean hasSubscribed(java.lang.String userId,
                      org.alfresco.service.cmr.repository.NodeRef node)

selectFollowing

PagingFollowingResults selectFollowing(java.lang.String userId,
                                       org.alfresco.query.PagingRequest pagingRequest)

selectFollowers

PagingFollowingResults selectFollowers(java.lang.String userId,
                                       org.alfresco.query.PagingRequest pagingRequest)

countFollowers

int countFollowers(java.lang.String userId)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.