Liferay 6.0.5

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_R_S
           
static String FIND_BY_R_S
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, 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 countByR_S(long roleId, int[] scopes)
           
 List<ResourcePermission> findByR_S(long roleId, int[] scopes, int start, int end)
           
protected  String getScopes(int[] scopes)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, 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
 

Field Detail

COUNT_BY_R_S

public static String COUNT_BY_R_S

FIND_BY_R_S

public static String FIND_BY_R_S
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

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.0.5