public class ResourcePermissionFinderImpl extends ResourcePermissionFinderBaseImpl implements com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
Modifier and Type | Field and Description |
---|---|
static String |
COUNT_BY_C_N_S_P_R_A |
static String |
COUNT_BY_R_S |
static String |
FIND_BY_R_S |
static String |
FIND_BY_RESOURCE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_N_S_P_R_A |
resourcePermissionPersistence
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
ResourcePermissionFinderImpl() |
Modifier and Type | Method and Description |
---|---|
int |
countByC_N_S_P_R_A(long companyId,
String name,
int scope,
String primKey,
long[] roleIds,
long actionId) |
int |
countByR_S(long roleId,
int[] scopes) |
Map<Serializable,com.liferay.portal.kernel.model.ResourcePermission> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByR_S(long roleId,
int[] scopes,
int start,
int end) |
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByResource(long companyId,
long groupId,
String name,
String primKey) |
protected String |
getScopes(int[] scopes) |
getResourcePermissionPersistence, setResourcePermissionPersistence
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, updateImpl
public static final String COUNT_BY_R_S
public static final String COUNT_BY_C_N_S_P_R_A
public static final String FIND_BY_RESOURCE
public static final String FIND_BY_R_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N_S_P_R_A
public int countByR_S(long roleId, int[] scopes)
countByR_S
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
public int countByC_N_S_P_R_A(long companyId, String name, int scope, String primKey, long[] roleIds, long actionId)
countByC_N_S_P_R_A
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
public Map<Serializable,com.liferay.portal.kernel.model.ResourcePermission> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public List<com.liferay.portal.kernel.model.ResourcePermission> findByResource(long companyId, long groupId, String name, String primKey)
findByResource
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
public List<com.liferay.portal.kernel.model.ResourcePermission> findByR_S(long roleId, int[] scopes, int start, int end)
findByR_S
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
protected String getScopes(int[] scopes)