Liferay 6.2-ce-ga5

com.liferay.portal.service.persistence
Class ResourcePermissionFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<ResourcePermission>
      extended by com.liferay.portal.service.persistence.ResourcePermissionFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<ResourcePermission>, ResourcePermissionFinder

public class ResourcePermissionFinderImpl
extends BasePersistenceImpl<ResourcePermission>
implements ResourcePermissionFinder


Field Summary
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 FinderPath FINDER_PATH_COUNT_BY_C_N_S_P_R_A
           
 
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
 
Constructor Summary
ResourcePermissionFinderImpl()
           
 
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> 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, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

FINDER_PATH_COUNT_BY_C_N_S_P_R_A

public static final FinderPath FINDER_PATH_COUNT_BY_C_N_S_P_R_A
Constructor Detail

ResourcePermissionFinderImpl

public ResourcePermissionFinderImpl()
Method Detail

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

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)

Liferay 6.2-ce-ga5