public class ResourcePermissionPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
implements com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, 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 |
---|
ResourcePermissionPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the resource permission persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.ResourcePermission> resourcePermissions)
Caches the resource permissions in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
Caches the resource permission in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(ResourcePermissionModelImpl resourcePermissionModelImpl) |
void |
clearCache()
Clears the cache for all resource permissions.
|
void |
clearCache(List<com.liferay.portal.kernel.model.ResourcePermission> resourcePermissions) |
void |
clearCache(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
Clears the cache for the resource permission.
|
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of resource permissions.
|
int |
countByC_LikeP(long companyId,
String primKey)
Returns the number of resource permissions where companyId = ? and primKey LIKE ?.
|
int |
countByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long[] roleIds,
boolean viewActionId)
Returns the number of resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = any ? and viewActionId = ?.
|
int |
countByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId)
Returns the number of resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
int |
countByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long roleId)
Returns the number of resource permissions where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = ?.
|
int |
countByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long[] roleIds)
Returns the number of resource permissions where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = any ?.
|
int |
countByC_N_S_P(long companyId,
String name,
int scope,
String primKey)
Returns the number of resource permissions where companyId = ? and name = ? and scope = ? and primKey = ?.
|
int |
countByC_N_S_R(long companyId,
String name,
int scope,
long roleId)
Returns the number of resource permissions where companyId = ? and name = ? and scope = ? and roleId = ?.
|
int |
countByC_S_P(long companyId,
int scope,
String primKey)
Returns the number of resource permissions where companyId = ? and scope = ? and primKey = ?.
|
int |
countByName(String name)
Returns the number of resource permissions where name = ?.
|
int |
countByRoleId(long roleId)
Returns the number of resource permissions where roleId = ?.
|
int |
countByScope(int scope)
Returns the number of resource permissions where scope = ?.
|
int |
countByScope(int[] scopes)
Returns the number of resource permissions where scope = any ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
create(long resourcePermissionId)
Creates a new resource permission with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_LikeP_First(long companyId,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and primKey LIKE ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_LikeP_Last(long companyId,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and primKey LIKE ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_P_First(long companyId,
String name,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_P_Last(long companyId,
String name,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_P_R_V_First(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_P_R_V_Last(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long roleId)
Returns the resource permission where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long roleId,
boolean useFinderCache)
Returns the resource permission where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_R_First(long companyId,
String name,
int scope,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and name = ? and scope = ? and roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_N_S_R_Last(long companyId,
String name,
int scope,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and name = ? and scope = ? and roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_S_P_First(long companyId,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByC_S_P_Last(long companyId,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByName_First(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where name = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByName_Last(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where name = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByPrimaryKey(long resourcePermissionId)
Returns the resource permission with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.ResourcePermission |
fetchByPrimaryKey(Serializable primaryKey)
Returns the resource permission with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.portal.kernel.model.ResourcePermission> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.portal.kernel.model.ResourcePermission |
fetchByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByScope_First(int scope,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where scope = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
fetchByScope_Last(int scope,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where scope = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findAll()
Returns all the resource permissions.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findAll(int start,
int end)
Returns a range of all the resource permissions.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_LikeP_First(long companyId,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and primKey LIKE ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_LikeP_Last(long companyId,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and primKey LIKE ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByC_LikeP_PrevAndNext(long resourcePermissionId,
long companyId,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where companyId = ? and primKey LIKE ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_LikeP(long companyId,
String primKey)
Returns all the resource permissions where companyId = ? and primKey LIKE ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_LikeP(long companyId,
String primKey,
int start,
int end)
Returns a range of all the resource permissions where companyId = ? and primKey LIKE ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_LikeP(long companyId,
String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where companyId = ? and primKey LIKE ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_LikeP(long companyId,
String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where companyId = ? and primKey LIKE ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_N_S_P_First(long companyId,
String name,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_N_S_P_Last(long companyId,
String name,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByC_N_S_P_PrevAndNext(long resourcePermissionId,
long companyId,
String name,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_N_S_P_R_V_First(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_N_S_P_R_V_Last(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByC_N_S_P_R_V_PrevAndNext(long resourcePermissionId,
long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long[] roleIds,
boolean viewActionId)
Returns all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = any ? and viewActionId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long[] roleIds,
boolean viewActionId,
int start,
int end)
Returns a range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = any ? and viewActionId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long[] roleIds,
boolean viewActionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = any ? and viewActionId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long[] roleIds,
boolean viewActionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?, optionally using the finder cache.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId)
Returns all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
int start,
int end)
Returns a range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long roleId)
Returns the resource permission where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = ? or throws a
NoSuchResourcePermissionException if it could not be found. |
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long[] roleIds)
Returns all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = any ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long[] roleIds,
int start,
int end)
Returns a range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = any ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long[] roleIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = any ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long[] roleIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = ?, optionally using the finder cache.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P(long companyId,
String name,
int scope,
String primKey)
Returns all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P(long companyId,
String name,
int scope,
String primKey,
int start,
int end)
Returns a range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P(long companyId,
String name,
int scope,
String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_P(long companyId,
String name,
int scope,
String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_N_S_R_First(long companyId,
String name,
int scope,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and name = ? and scope = ? and roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_N_S_R_Last(long companyId,
String name,
int scope,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and name = ? and scope = ? and roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByC_N_S_R_PrevAndNext(long resourcePermissionId,
long companyId,
String name,
int scope,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where companyId = ? and name = ? and scope = ? and roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_R(long companyId,
String name,
int scope,
long roleId)
Returns all the resource permissions where companyId = ? and name = ? and scope = ? and roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_R(long companyId,
String name,
int scope,
long roleId,
int start,
int end)
Returns a range of all the resource permissions where companyId = ? and name = ? and scope = ? and roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_R(long companyId,
String name,
int scope,
long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_N_S_R(long companyId,
String name,
int scope,
long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where companyId = ? and name = ? and scope = ? and roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_S_P_First(long companyId,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where companyId = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByC_S_P_Last(long companyId,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where companyId = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByC_S_P_PrevAndNext(long resourcePermissionId,
long companyId,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where companyId = ? and scope = ? and primKey = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_S_P(long companyId,
int scope,
String primKey)
Returns all the resource permissions where companyId = ? and scope = ? and primKey = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_S_P(long companyId,
int scope,
String primKey,
int start,
int end)
Returns a range of all the resource permissions where companyId = ? and scope = ? and primKey = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_S_P(long companyId,
int scope,
String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where companyId = ? and scope = ? and primKey = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByC_S_P(long companyId,
int scope,
String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where companyId = ? and scope = ? and primKey = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByName_First(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where name = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByName_Last(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where name = ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByName_PrevAndNext(long resourcePermissionId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where name = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByName(String name)
Returns all the resource permissions where name = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByName(String name,
int start,
int end)
Returns a range of all the resource permissions where name = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByName(String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where name = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByName(String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where name = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByPrimaryKey(long resourcePermissionId)
Returns the resource permission with the primary key or throws a
NoSuchResourcePermissionException if it could not be found. |
com.liferay.portal.kernel.model.ResourcePermission |
findByPrimaryKey(Serializable primaryKey)
Returns the resource permission with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.ResourcePermission |
findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByRoleId_PrevAndNext(long resourcePermissionId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByRoleId(long roleId)
Returns all the resource permissions where roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByRoleId(long roleId,
int start,
int end)
Returns a range of all the resource permissions where roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where roleId = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where roleId = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByScope_First(int scope,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the first resource permission in the ordered set where scope = ?.
|
com.liferay.portal.kernel.model.ResourcePermission |
findByScope_Last(int scope,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the last resource permission in the ordered set where scope = ?.
|
com.liferay.portal.kernel.model.ResourcePermission[] |
findByScope_PrevAndNext(long resourcePermissionId,
int scope,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns the resource permissions before and after the current resource permission in the ordered set where scope = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int scope)
Returns all the resource permissions where scope = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int[] scopes)
Returns all the resource permissions where scope = any ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int[] scopes,
int start,
int end)
Returns a range of all the resource permissions where scope = any ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int[] scopes,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where scope = any ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int[] scopes,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where scope = ?, optionally using the finder cache.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int scope,
int start,
int end)
Returns a range of all the resource permissions where scope = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Returns an ordered range of all the resource permissions where scope = ?.
|
List<com.liferay.portal.kernel.model.ResourcePermission> |
findByScope(int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the resource permissions where scope = ?.
|
protected com.liferay.portal.kernel.model.ResourcePermission |
getByC_LikeP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
long companyId,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.ResourcePermission |
getByC_N_S_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
long companyId,
String name,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.ResourcePermission |
getByC_N_S_P_R_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.ResourcePermission |
getByC_N_S_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
long companyId,
String name,
int scope,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.ResourcePermission |
getByC_S_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
long companyId,
int scope,
String primKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.ResourcePermission |
getByName_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.ResourcePermission |
getByRoleId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.ResourcePermission |
getByScope_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.ResourcePermission resourcePermission,
int scope,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator,
boolean previous) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
com.liferay.portal.kernel.model.ResourcePermission |
remove(long resourcePermissionId)
Removes the resource permission with the primary key from the database.
|
com.liferay.portal.kernel.model.ResourcePermission |
remove(Serializable primaryKey)
Removes the resource permission with the primary key from the database.
|
void |
removeAll()
Removes all the resource permissions from the database.
|
void |
removeByC_LikeP(long companyId,
String primKey)
Removes all the resource permissions where companyId = ? and primKey LIKE ? from the database.
|
void |
removeByC_N_S_P_R_V(long companyId,
String name,
int scope,
long primKeyId,
long roleId,
boolean viewActionId)
Removes all the resource permissions where companyId = ? and name = ? and scope = ? and primKeyId = ? and roleId = ? and viewActionId = ? from the database.
|
com.liferay.portal.kernel.model.ResourcePermission |
removeByC_N_S_P_R(long companyId,
String name,
int scope,
String primKey,
long roleId)
Removes the resource permission where companyId = ? and name = ? and scope = ? and primKey = ? and roleId = ? from the database.
|
void |
removeByC_N_S_P(long companyId,
String name,
int scope,
String primKey)
Removes all the resource permissions where companyId = ? and name = ? and scope = ? and primKey = ? from the database.
|
void |
removeByC_N_S_R(long companyId,
String name,
int scope,
long roleId)
Removes all the resource permissions where companyId = ? and name = ? and scope = ? and roleId = ? from the database.
|
void |
removeByC_S_P(long companyId,
int scope,
String primKey)
Removes all the resource permissions where companyId = ? and scope = ? and primKey = ? from the database.
|
void |
removeByName(String name)
Removes all the resource permissions where name = ? from the database.
|
void |
removeByRoleId(long roleId)
Removes all the resource permissions where roleId = ? from the database.
|
void |
removeByScope(int scope)
Removes all the resource permissions where scope = ? from the database.
|
protected com.liferay.portal.kernel.model.ResourcePermission |
removeImpl(com.liferay.portal.kernel.model.ResourcePermission resourcePermission) |
com.liferay.portal.kernel.model.ResourcePermission |
updateImpl(com.liferay.portal.kernel.model.ResourcePermission resourcePermission) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.portal.kernel.model.ResourcePermission> findByName(String name)
findByName
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the namepublic List<com.liferay.portal.kernel.model.ResourcePermission> findByName(String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByName
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the namestart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByName(String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByName
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the namestart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByName(String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByName
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the namestart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByName_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByName_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByName_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByName_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByName_PrevAndNext(long resourcePermissionId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByName_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissionname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByName_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public void removeByName(String name)
removeByName
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the namepublic int countByName(String name)
countByName
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
name
- the namepublic List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int scope)
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopepublic List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int scope, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopestart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopestart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopestart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByScope_First(int scope, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByScope_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByScope_First(int scope, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByScope_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByScope_Last(int scope, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByScope_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByScope_Last(int scope, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByScope_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByScope_PrevAndNext(long resourcePermissionId, int scope, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByScope_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissionscope
- the scopeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByScope_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, int scope, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int[] scopes)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scopes
- the scopespublic List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int[] scopes, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scopes
- the scopesstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int[] scopes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scopes
- the scopesstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByScope(int[] scopes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scopes
- the scopesstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeByScope(int scope)
removeByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopepublic int countByScope(int scope)
countByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scope
- the scopepublic int countByScope(int[] scopes)
countByScope
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
scopes
- the scopespublic List<com.liferay.portal.kernel.model.ResourcePermission> findByRoleId(long roleId)
findByRoleId
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDpublic List<com.liferay.portal.kernel.model.ResourcePermission> findByRoleId(long roleId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByRoleId
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByRoleId(long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByRoleId
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByRoleId(long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByRoleId
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByRoleId_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByRoleId_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByRoleId_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByRoleId_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByRoleId_PrevAndNext(long resourcePermissionId, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByRoleId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissionroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByRoleId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public void removeByRoleId(long roleId)
removeByRoleId
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDpublic int countByRoleId(long roleId)
countByRoleId
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
roleId
- the role IDpublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_LikeP(long companyId, String primKey)
findByC_LikeP
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keypublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_LikeP(long companyId, String primKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_LikeP
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_LikeP(long companyId, String primKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_LikeP
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_LikeP(long companyId, String primKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_LikeP
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByC_LikeP_First(long companyId, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_LikeP_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_LikeP_First(long companyId, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_LikeP_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByC_LikeP_Last(long companyId, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_LikeP_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_LikeP_Last(long companyId, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_LikeP_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByC_LikeP_PrevAndNext(long resourcePermissionId, long companyId, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_LikeP_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissioncompanyId
- the company IDprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByC_LikeP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, long companyId, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public void removeByC_LikeP(long companyId, String primKey)
removeByC_LikeP
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keypublic int countByC_LikeP(long companyId, String primKey)
countByC_LikeP
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDprimKey
- the prim keypublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_S_P(long companyId, int scope, String primKey)
findByC_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keypublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_S_P(long companyId, int scope, String primKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_S_P(long companyId, int scope, String primKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_S_P(long companyId, int scope, String primKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByC_S_P_First(long companyId, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_S_P_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_S_P_First(long companyId, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_S_P_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByC_S_P_Last(long companyId, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_S_P_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_S_P_Last(long companyId, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_S_P_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByC_S_P_PrevAndNext(long resourcePermissionId, long companyId, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_S_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissioncompanyId
- the company IDscope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByC_S_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, long companyId, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public void removeByC_S_P(long companyId, int scope, String primKey)
removeByC_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keypublic int countByC_S_P(long companyId, int scope, String primKey)
countByC_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDscope
- the scopeprimKey
- the prim keypublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P(long companyId, String name, int scope, String primKey)
findByC_N_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keypublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P(long companyId, String name, int scope, String primKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P(long companyId, String name, int scope, String primKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P(long companyId, String name, int scope, String primKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keystart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByC_N_S_P_First(long companyId, String name, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_P_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_P_First(long companyId, String name, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_N_S_P_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByC_N_S_P_Last(long companyId, String name, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_P_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_P_Last(long companyId, String name, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_N_S_P_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByC_N_S_P_PrevAndNext(long resourcePermissionId, long companyId, String name, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissioncompanyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByC_N_S_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, long companyId, String name, int scope, String primKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public void removeByC_N_S_P(long companyId, String name, int scope, String primKey)
removeByC_N_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keypublic int countByC_N_S_P(long companyId, String name, int scope, String primKey)
countByC_N_S_P
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keypublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_R(long companyId, String name, int scope, long roleId)
findByC_N_S_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDpublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_R(long companyId, String name, int scope, long roleId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_R(long companyId, String name, int scope, long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_R(long companyId, String name, int scope, long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByC_N_S_R_First(long companyId, String name, int scope, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_R_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_R_First(long companyId, String name, int scope, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_N_S_R_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByC_N_S_R_Last(long companyId, String name, int scope, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_R_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_R_Last(long companyId, String name, int scope, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_N_S_R_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByC_N_S_R_PrevAndNext(long resourcePermissionId, long companyId, String name, int scope, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_R_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissioncompanyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByC_N_S_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, long companyId, String name, int scope, long roleId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public void removeByC_N_S_R(long companyId, String name, int scope, long roleId)
removeByC_N_S_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDpublic int countByC_N_S_R(long companyId, String name, int scope, long roleId)
countByC_N_S_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scoperoleId
- the role IDpublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R(long companyId, String name, int scope, String primKey, long[] roleIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleIds
- the role IDspublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R(long companyId, String name, int scope, String primKey, long[] roleIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleIds
- the role IDsstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R(long companyId, String name, int scope, String primKey, long[] roleIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleIds
- the role IDsstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R(long companyId, String name, int scope, String primKey, long[] roleIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleIds
- the role IDsstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByC_N_S_P_R(long companyId, String name, int scope, String primKey, long roleId) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
NoSuchResourcePermissionException
if it could not be found.findByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleId
- the role IDcom.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_P_R(long companyId, String name, int scope, String primKey, long roleId)
null
if it could not be found. Uses the finder cache.fetchByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleId
- the role IDnull
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_P_R(long companyId, String name, int scope, String primKey, long roleId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fetchByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleId
- the role IDuseFinderCache
- whether to use the finder cachenull
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission removeByC_N_S_P_R(long companyId, String name, int scope, String primKey, long roleId) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
removeByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleId
- the role IDcom.liferay.portal.kernel.exception.NoSuchResourcePermissionException
public int countByC_N_S_P_R(long companyId, String name, int scope, String primKey, long roleId)
countByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleId
- the role IDpublic int countByC_N_S_P_R(long companyId, String name, int scope, String primKey, long[] roleIds)
countByC_N_S_P_R
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKey
- the prim keyroleIds
- the role IDspublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId)
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDpublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.ResourcePermission findByC_N_S_P_R_V_First(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_P_R_V_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_P_R_V_First(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_N_S_P_R_V_First
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByC_N_S_P_R_V_Last(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_P_R_V_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByC_N_S_P_R_V_Last(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
fetchByC_N_S_P_R_V_Last
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching resource permission could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission[] findByC_N_S_P_R_V_PrevAndNext(long resourcePermissionId, long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
findByC_N_S_P_R_V_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the current resource permissioncompanyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission getByC_N_S_P_R_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.ResourcePermission resourcePermission, long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long[] roleIds, boolean viewActionId)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleIds
- the role IDsviewActionId
- the view action IDpublic List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long[] roleIds, boolean viewActionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleIds
- the role IDsviewActionId
- the view action IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long[] roleIds, boolean viewActionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleIds
- the role IDsviewActionId
- the view action IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long[] roleIds, boolean viewActionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleIds
- the role IDsviewActionId
- the view action IDstart
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId)
removeByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDpublic int countByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long roleId, boolean viewActionId)
countByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleId
- the role IDviewActionId
- the view action IDpublic int countByC_N_S_P_R_V(long companyId, String name, int scope, long primKeyId, long[] roleIds, boolean viewActionId)
countByC_N_S_P_R_V
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
companyId
- the company IDname
- the namescope
- the scopeprimKeyId
- the prim key IDroleIds
- the role IDsviewActionId
- the view action IDpublic void cacheResult(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
resourcePermission
- the resource permissionpublic void cacheResult(List<com.liferay.portal.kernel.model.ResourcePermission> resourcePermissions)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissions
- the resource permissionspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public void clearCache(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public void clearCache(List<com.liferay.portal.kernel.model.ResourcePermission> resourcePermissions)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
protected void cacheUniqueFindersCache(ResourcePermissionModelImpl resourcePermissionModelImpl)
public com.liferay.portal.kernel.model.ResourcePermission create(long resourcePermissionId)
create
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key for the new resource permissionpublic com.liferay.portal.kernel.model.ResourcePermission remove(long resourcePermissionId) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
remove
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the resource permissioncom.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
primaryKey
- the primary key of the resource permissioncom.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundprotected com.liferay.portal.kernel.model.ResourcePermission removeImpl(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public com.liferay.portal.kernel.model.ResourcePermission updateImpl(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public com.liferay.portal.kernel.model.ResourcePermission findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
primaryKey
- the primary key of the resource permissioncom.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission findByPrimaryKey(long resourcePermissionId) throws com.liferay.portal.kernel.exception.NoSuchResourcePermissionException
NoSuchResourcePermissionException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the resource permissioncom.liferay.portal.kernel.exception.NoSuchResourcePermissionException
- if a resource permission with the primary key could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
primaryKey
- the primary key of the resource permissionnull
if a resource permission with the primary key could not be foundpublic com.liferay.portal.kernel.model.ResourcePermission fetchByPrimaryKey(long resourcePermissionId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
resourcePermissionId
- the primary key of the resource permissionnull
if a resource permission with the primary key could not be foundpublic Map<Serializable,com.liferay.portal.kernel.model.ResourcePermission> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourcePermission>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public List<com.liferay.portal.kernel.model.ResourcePermission> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
public List<com.liferay.portal.kernel.model.ResourcePermission> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
start
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)public List<com.liferay.portal.kernel.model.ResourcePermission> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
start
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.ResourcePermission> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.ResourcePermission> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ResourcePermissionModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
start
- the lower bound of the range of resource permissionsend
- the upper bound of the range of resource permissions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
getCTColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.ResourcePermission>
public List<String> getMappingTableNames()
getMappingTableNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.ResourcePermission>
public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.ResourcePermission>
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>
public String getTableName()
getTableName
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.ResourcePermission>
public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.ResourcePermission>
public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.ResourcePermission>