com.liferay.portal.service.persistence.RoleFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-service Show documentation
Show all versions of portal-service Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-2013 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.portal.service.persistence;
import aQute.bnd.annotation.ProviderType;
/**
* @author Brian Wing Shun Chan
*/
@ProviderType
public interface RoleFinder {
public int countByR_U(long roleId, long userId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByU_G_R(long userId, long groupId, long roleId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByC_N_D_T(long companyId, java.lang.String name,
java.lang.String description, java.lang.Integer[] types,
java.util.LinkedHashMap params,
boolean andOperator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByC_N_D_T(long companyId, java.lang.String[] names,
java.lang.String[] descriptions, java.lang.Integer[] types,
java.util.LinkedHashMap params,
boolean andOperator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByKeywords(long companyId, java.lang.String keywords,
java.lang.Integer[] types)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByKeywords(long companyId, java.lang.String keywords,
java.lang.Integer[] types,
java.util.LinkedHashMap params)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findBySystem(
long companyId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByUserGroupGroupRole(
long userId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByUserGroupRole(
long userId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public com.liferay.portal.model.Role findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.NoSuchRoleException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByU_G(
long userId, java.util.List groups)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByU_G(
long userId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByU_G(
long userId, long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByR_N_A(
long resourceBlockId, java.lang.String className,
java.lang.String actionId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByC_N_D_T(
long companyId, java.lang.String name, java.lang.String description,
java.lang.Integer[] types,
java.util.LinkedHashMap params,
boolean andOperator, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByC_N_D_T(
long companyId, java.lang.String[] names,
java.lang.String[] descriptions, java.lang.Integer[] types,
java.util.LinkedHashMap params,
boolean andOperator, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.Map> findByC_N_S_P(
long companyId, java.lang.String name, int scope,
java.lang.String primKey)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByC_N_S_P_A(
long companyId, java.lang.String name, int scope,
java.lang.String primKey, java.lang.String actionId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByKeywords(
long companyId, java.lang.String keywords, java.lang.Integer[] types,
int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List findByKeywords(
long companyId, java.lang.String keywords, java.lang.Integer[] types,
java.util.LinkedHashMap params,
int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException;
}