public class ResourceTypePermissionFinderImpl extends ResourceTypePermissionFinderBaseImpl implements com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder
Modifier and Type | Field and Description |
---|---|
static String |
FIND_BY_EITHER_SCOPE_C_G_N |
static String |
FIND_BY_GROUP_SCOPE_C_N_R |
resourceTypePermissionPersistence
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
---|
ResourceTypePermissionFinderImpl() |
Modifier and Type | Method and Description |
---|---|
List<com.liferay.portal.kernel.model.ResourceTypePermission> |
findByEitherScopeC_G_N(long companyId,
long groupId,
String name)
Returns all the resource type permissions with either scope that apply to
resources of the type within the group.
|
List<com.liferay.portal.kernel.model.ResourceTypePermission> |
findByGroupScopeC_N_R(long companyId,
String name,
long roleId)
Returns all of the role's group scope resource type permissions that
apply to resources of the type.
|
getResourceTypePermissionPersistence, setResourceTypePermissionPersistence
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, updateImpl
public static final String FIND_BY_EITHER_SCOPE_C_G_N
public static final String FIND_BY_GROUP_SCOPE_C_N_R
public List<com.liferay.portal.kernel.model.ResourceTypePermission> findByEitherScopeC_G_N(long companyId, long groupId, String name)
findByEitherScopeC_G_N
in interface com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder
companyId
- the primary key of the companygroupId
- the primary key of the groupname
- the fully qualified class name of the resource typepublic List<com.liferay.portal.kernel.model.ResourceTypePermission> findByGroupScopeC_N_R(long companyId, String name, long roleId)
findByGroupScopeC_N_R
in interface com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder
companyId
- the primary key of the companyname
- the fully qualified class name of the resource typeroleId
- the primary key of the role