/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.social.kernel.service.persistence; import aQute.bnd.annotation.ProviderType; /** * @author Brian Wing Shun Chan * @generated */ @ProviderType public interface SocialActivityFinder { public int countByGroupId(long groupId); public int countByGroupUsers(long groupId); public int countByOrganizationId(long organizationId); public int countByOrganizationUsers(long organizationId); public int countByRelation(long userId); public int countByRelationType(long userId, int type); public int countByUserGroups(long userId); public int countByUserGroupsAndOrganizations(long userId); public int countByUserOrganizations(long userId); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByGroupId( long groupId, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByGroupUsers( long groupId, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByOrganizationId( long organizationId, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByOrganizationUsers( long organizationId, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByRelation( long userId, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByRelationType( long userId, int type, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByUserGroups( long userId, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByUserGroupsAndOrganizations( long userId, int start, int end); public java.util.List<com.liferay.social.kernel.model.SocialActivity> findByUserOrganizations( long userId, int start, int end); }