com.liferay.portal.service.persistence
Class ResourcePermissionFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<ResourcePermission>
com.liferay.portal.service.persistence.ResourcePermissionFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<ResourcePermission>, ResourcePermissionFinder
public class ResourcePermissionFinderImpl
- extends BasePersistenceImpl<ResourcePermission>
- implements ResourcePermissionFinder
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 |
Method Summary |
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)
|
List<ResourcePermission> |
findByC_P(long companyId,
String primKey)
Deprecated. |
List<ResourcePermission> |
findByR_S(long roleId,
int[] scopes,
int start,
int end)
|
List<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.BasePersistenceImpl |
appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, updateImpl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_R_S
public static final String COUNT_BY_R_S
COUNT_BY_C_N_S_P_R_A
public static final String COUNT_BY_C_N_S_P_R_A
FIND_BY_RESOURCE
public static final String FIND_BY_RESOURCE
FIND_BY_R_S
public static final String FIND_BY_R_S
ResourcePermissionFinderImpl
public ResourcePermissionFinderImpl()
countByR_S
public int countByR_S(long roleId,
int[] scopes)
throws SystemException
- Specified by:
countByR_S
in interface ResourcePermissionFinder
- Throws:
SystemException
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)
throws SystemException
- Specified by:
countByC_N_S_P_R_A
in interface ResourcePermissionFinder
- Throws:
SystemException
findByResource
public List<ResourcePermission> findByResource(long companyId,
long groupId,
String name,
String primKey)
throws SystemException
- Specified by:
findByResource
in interface ResourcePermissionFinder
- Throws:
SystemException
findByC_P
public List<ResourcePermission> findByC_P(long companyId,
String primKey)
throws SystemException
- Deprecated.
- Specified by:
findByC_P
in interface ResourcePermissionFinder
- Throws:
SystemException
findByR_S
public List<ResourcePermission> findByR_S(long roleId,
int[] scopes,
int start,
int end)
throws SystemException
- Specified by:
findByR_S
in interface ResourcePermissionFinder
- Throws:
SystemException
getScopes
protected String getScopes(int[] scopes)
- See Also:
PermissionFinderImpl#getScopes(int[])}