/**
* 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.microblogs.service.persistence;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;
/**
* @author Brian Wing Shun Chan
* @generated
*/
@ProviderType
public class MicroblogsEntryFinderUtil {
public static int countByUserId(long userId) {
return getFinder().countByUserId(userId);
}
public static int countByU_MU(long userId, long microblogsEntryUserId) {
return getFinder().countByU_MU(userId, microblogsEntryUserId);
}
public static int countByU_ATN(long userId, java.lang.String assetTagName) {
return getFinder().countByU_ATN(userId, assetTagName);
}
public static int countByCCNI_ATN(long creatorClassNameId,
java.lang.String assetTagName) {
return getFinder().countByCCNI_ATN(creatorClassNameId, assetTagName);
}
public static int countByU_T_MU(long userId, int type,
long microblogsEntryUserId) {
return getFinder().countByU_T_MU(userId, type, microblogsEntryUserId);
}
public static int countByCCNI_CCPK_ATN(long creatorClassNameId,
long creatorClassPK, java.lang.String assetTagName, boolean andOperator) {
return getFinder()
.countByCCNI_CCPK_ATN(creatorClassNameId, creatorClassPK,
assetTagName, andOperator);
}
public static java.util.List<com.liferay.microblogs.model.MicroblogsEntry> findByUserId(
long userId, int start, int end) {
return getFinder().findByUserId(userId, start, end);
}
public static java.util.List<com.liferay.microblogs.model.MicroblogsEntry> findByU_MU(
long userId, long microblogsEntryUserId, int start, int end) {
return getFinder().findByU_MU(userId, microblogsEntryUserId, start, end);
}
public static java.util.List<com.liferay.microblogs.model.MicroblogsEntry> findByU_ATN(
long userId, java.lang.String assetTagName, int start, int end) {
return getFinder().findByU_ATN(userId, assetTagName, start, end);
}
public static java.util.List<com.liferay.microblogs.model.MicroblogsEntry> findByCCNI_ATN(
long creatorClassNameId, java.lang.String assetTagName, int start,
int end) {
return getFinder()
.findByCCNI_ATN(creatorClassNameId, assetTagName, start, end);
}
public static java.util.List<com.liferay.microblogs.model.MicroblogsEntry> findByU_T_MU(
long userId, int type, long microblogsEntryUserId, int start, int end) {
return getFinder()
.findByU_T_MU(userId, type, microblogsEntryUserId, start, end);
}
public static java.util.List<com.liferay.microblogs.model.MicroblogsEntry> findByCCNI_CCPK_ATN(
long creatorClassNameId, long creatorClassPK,
java.lang.String assetTagName, boolean andOperator, int start, int end) {
return getFinder()
.findByCCNI_CCPK_ATN(creatorClassNameId, creatorClassPK,
assetTagName, andOperator, start, end);
}
public static MicroblogsEntryFinder getFinder() {
if (_finder == null) {
_finder = (MicroblogsEntryFinder)PortletBeanLocatorUtil.locate(com.liferay.microblogs.service.ClpSerializer.getServletContextName(),
MicroblogsEntryFinder.class.getName());
ReferenceRegistry.registerReference(MicroblogsEntryFinderUtil.class,
"_finder");
}
return _finder;
}
public void setFinder(MicroblogsEntryFinder finder) {
_finder = finder;
ReferenceRegistry.registerReference(MicroblogsEntryFinderUtil.class,
"_finder");
}
private static MicroblogsEntryFinder _finder;
}