com.liferay.portal.service.persistence.impl
Class ResourcePermissionFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<ResourcePermission>
com.liferay.portal.service.persistence.impl.ResourcePermissionFinderBaseImpl
com.liferay.portal.service.persistence.impl.ResourcePermissionFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<ResourcePermission>, ResourcePermissionFinder
public class ResourcePermissionFinderImpl
- extends ResourcePermissionFinderBaseImpl
- implements ResourcePermissionFinder
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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)
|
Map<Serializable,ResourcePermission> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
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, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, 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 |
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
ResourcePermissionFinderImpl
public ResourcePermissionFinderImpl()
countByR_S
public int countByR_S(long roleId,
int[] scopes)
- Specified by:
countByR_S in interface 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 interface ResourcePermissionFinder
findByResource
public List<ResourcePermission> findByResource(long companyId,
long groupId,
String name,
String primKey)
- Specified by:
findByResource in interface ResourcePermissionFinder
fetchByPrimaryKeys
public Map<Serializable,ResourcePermission> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
- Specified by:
fetchByPrimaryKeys in interface BasePersistence<ResourcePermission>- Specified by:
fetchByPrimaryKeys in interface ResourcePermissionFinder- Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<ResourcePermission>
findByR_S
public List<ResourcePermission> findByR_S(long roleId,
int[] scopes,
int start,
int end)
- Specified by:
findByR_S in interface ResourcePermissionFinder
getScopes
protected String getScopes(int[] scopes)