com.liferay.portal.service.persistence
Class ResourcePermissionFinderImpl

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

public class ResourcePermissionFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
implements com.liferay.portal.service.persistence.ResourcePermissionFinder

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_R_S
           
static java.lang.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
 
Constructor Summary
ResourcePermissionFinderImpl()
           
 
Method Summary
 int countByR_S(long roleId, int[] scopes)
           
 java.util.List<com.liferay.portal.model.ResourcePermission> findByR_S(long roleId, int[] scopes, int start, int end)
           
protected  java.lang.String getScopes(int[] scopes)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, closeSession, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, setDataSource, setSessionFactory, unregisterListener, 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 java.lang.String COUNT_BY_R_S

FIND_BY_R_S

public static java.lang.String FIND_BY_R_S
Constructor Detail

ResourcePermissionFinderImpl

public ResourcePermissionFinderImpl()
Method Detail

countByR_S

public int countByR_S(long roleId,
                      int[] scopes)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
countByR_S in interface com.liferay.portal.service.persistence.ResourcePermissionFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByR_S

public java.util.List<com.liferay.portal.model.ResourcePermission> findByR_S(long roleId,
                                                                             int[] scopes,
                                                                             int start,
                                                                             int end)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByR_S in interface com.liferay.portal.service.persistence.ResourcePermissionFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

getScopes

protected java.lang.String getScopes(int[] scopes)