Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* 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.knowledge.base.service.persistence.impl;
import com.liferay.knowledge.base.model.KBArticle;
import com.liferay.knowledge.base.model.KBFolder;
import com.liferay.knowledge.base.service.persistence.KBArticleUtil;
import com.liferay.knowledge.base.service.persistence.KBFolderFinder;
import com.liferay.knowledge.base.service.persistence.KBFolderUtil;
import com.liferay.portal.dao.orm.custom.sql.CustomSQLUtil;
import com.liferay.portal.kernel.dao.orm.QueryDefinition;
import com.liferay.portal.kernel.dao.orm.QueryPos;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.dao.orm.SQLQuery;
import com.liferay.portal.kernel.dao.orm.Session;
import com.liferay.portal.kernel.dao.orm.Type;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.security.permission.InlineSQLHelperUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* @author Roberto Díaz
*/
public class KBFolderFinderImpl
extends KBFolderFinderBaseImpl implements KBFolderFinder {
public static final String COUNT_A_BY_G_P =
KBFolderFinder.class.getName() + ".countA_ByG_P";
public static final String COUNT_F_BY_G_P =
KBFolderFinder.class.getName() + ".countF_ByG_P";
public static final String FIND_A_BY_G_P =
KBFolderFinder.class.getName() + ".findA_ByG_P";
public static final String FIND_F_BY_G_P =
KBFolderFinder.class.getName() + ".findF_ByG_P";
@Override
public int countF_A_ByG_P(
long groupId, long parentResourcePrimKey,
QueryDefinition> queryDefinition) {
return doCountF_A_ByG_P(
groupId, parentResourcePrimKey, queryDefinition, false);
}
@Override
public int filterCountF_A_ByG_P(
long groupId, long parentResourcePrimKey,
QueryDefinition> queryDefinition) {
return doCountF_A_ByG_P(
groupId, parentResourcePrimKey, queryDefinition, true);
}
@Override
public List