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.journal.service.persistence.impl;
import com.liferay.journal.model.JournalArticle;
import com.liferay.journal.model.JournalFolder;
import com.liferay.journal.model.impl.JournalArticleImpl;
import com.liferay.journal.model.impl.JournalFolderImpl;
import com.liferay.journal.service.persistence.JournalArticleUtil;
import com.liferay.journal.service.persistence.JournalFolderFinder;
import com.liferay.journal.service.persistence.JournalFolderUtil;
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 com.liferay.portal.kernel.util.StringUtil;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* @author Juan Fernández
* @author Zsolt Berentey
*/
public class JournalFolderFinderImpl
extends JournalFolderFinderBaseImpl implements JournalFolderFinder {
public static final String COUNT_A_BY_G_U_F =
JournalFolderFinder.class.getName() + ".countA_ByG_U_F";
public static final String COUNT_F_BY_G_F =
JournalFolderFinder.class.getName() + ".countF_ByG_F";
public static final String FIND_A_BY_G_U_F =
JournalFolderFinder.class.getName() + ".findA_ByG_U_F";
public static final String FIND_F_BY_NO_ASSETS =
JournalFolderFinder.class.getName() + ".findF_ByNoAssets";
public static final String FIND_F_BY_G_F =
JournalFolderFinder.class.getName() + ".findF_ByG_F";
@Override
public int countF_A_ByG_F(
long groupId, long folderId, QueryDefinition> queryDefinition) {
return doCountF_A_ByG_F(groupId, folderId, queryDefinition, false);
}
@Override
public int filterCountF_A_ByG_F(
long groupId, long folderId, QueryDefinition> queryDefinition) {
return doCountF_A_ByG_F(groupId, folderId, queryDefinition, true);
}
@Override
public List