Class ResourcePermissionFinderImpl
Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
com.liferay.portal.service.persistence.impl.ResourcePermissionFinderBaseImpl
com.liferay.portal.service.persistence.impl.ResourcePermissionFinderImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
,com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
public class ResourcePermissionFinderImpl
extends ResourcePermissionFinderBaseImpl
implements com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
- Author:
- Brian Wing Shun Chan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final com.liferay.portal.kernel.dao.orm.FinderPath
Fields inherited from class com.liferay.portal.service.persistence.impl.ResourcePermissionFinderBaseImpl
resourcePermissionPersistence
Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
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) Deprecated.As of Cavanaugh (7.4.x), with no direct replacementList<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) Methods inherited from class com.liferay.portal.service.persistence.impl.ResourcePermissionFinderBaseImpl
getResourcePermissionPersistence, setResourcePermissionPersistence
Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getEntityCache, getFinderCache, getListeners, getModelClass, getPKDBName, getSelectSQL, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeByFunction, removeConjunction, removeImpl, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update, updateImpl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, dslQueryCount
-
Field Details
-
COUNT_BY_R_S
-
COUNT_BY_C_N_S_P_R_A
-
FIND_BY_RESOURCE
-
FIND_BY_R_S
-
FINDER_PATH_COUNT_BY_C_N_S_P_R_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N_S_P_R_A
-
-
Constructor Details
-
ResourcePermissionFinderImpl
public ResourcePermissionFinderImpl()
-
-
Method Details
-
countByR_S
public int countByR_S(long roleId, int[] scopes) - Specified by:
countByR_S
in interfacecom.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
-
countByC_N_S_P_R_A
public int countByC_N_S_P_R_A(long companyId, String name, int scope, String primKey, long[] roleIds, long actionId) - Specified by:
countByC_N_S_P_R_A
in interfacecom.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
-
fetchByPrimaryKeys
@Deprecated public Map<Serializable,com.liferay.portal.kernel.model.ResourcePermission> fetchByPrimaryKeys(Set<Serializable> primaryKeys) Deprecated.As of Cavanaugh (7.4.x), with no direct replacement- Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
- Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
-
findByResource
public List<com.liferay.portal.kernel.model.ResourcePermission> findByResource(long companyId, long groupId, String name, String primKey) - Specified by:
findByResource
in interfacecom.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
-
findByR_S
public List<com.liferay.portal.kernel.model.ResourcePermission> findByR_S(long roleId, int[] scopes, int start, int end) - Specified by:
findByR_S
in interfacecom.liferay.portal.kernel.service.persistence.ResourcePermissionFinder
-
getScopes
-