com.liferay.portal.service.persistence
Class ResourcePermissionPersistenceImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
com.liferay.portal.service.persistence.ResourcePermissionPersistenceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>, com.liferay.portal.service.persistence.ResourcePermissionPersistence
public class ResourcePermissionPersistenceImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- implements com.liferay.portal.service.persistence.ResourcePermissionPersistence
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
ResourcePermissionPersistence
,
ResourcePermissionUtil
- Generated:
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT |
Method Summary |
void |
afterPropertiesSet()
|
void |
cacheResult(java.util.List<com.liferay.portal.model.ResourcePermission> resourcePermissions)
|
void |
cacheResult(com.liferay.portal.model.ResourcePermission resourcePermission)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
|
int |
countByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
int |
countByC_N_S(long companyId,
java.lang.String name,
int scope)
|
int |
countByR_S(long roleId,
int scope)
|
int |
countByRoleId(long roleId)
|
com.liferay.portal.model.ResourcePermission |
create(long resourcePermissionId)
|
com.liferay.portal.model.ResourcePermission |
fetchByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
|
com.liferay.portal.model.ResourcePermission |
fetchByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId,
boolean retrieveFromCache)
|
com.liferay.portal.model.ResourcePermission |
fetchByPrimaryKey(long resourcePermissionId)
|
com.liferay.portal.model.ResourcePermission |
fetchByPrimaryKey(java.io.Serializable primaryKey)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findAll()
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findAll(int start,
int end)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByC_N_S_First(long companyId,
java.lang.String name,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByC_N_S_Last(long companyId,
java.lang.String name,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByC_N_S_P_First(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByC_N_S_P_Last(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission[] |
findByC_N_S_P_PrevAndNext(long resourcePermissionId,
long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
int start,
int end)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission[] |
findByC_N_S_PrevAndNext(long resourcePermissionId,
long companyId,
java.lang.String name,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByC_N_S(long companyId,
java.lang.String name,
int scope)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByC_N_S(long companyId,
java.lang.String name,
int scope,
int start,
int end)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByC_N_S(long companyId,
java.lang.String name,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByPrimaryKey(long resourcePermissionId)
|
com.liferay.portal.model.ResourcePermission |
findByPrimaryKey(java.io.Serializable primaryKey)
|
com.liferay.portal.model.ResourcePermission |
findByR_S_First(long roleId,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByR_S_Last(long roleId,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission[] |
findByR_S_PrevAndNext(long resourcePermissionId,
long roleId,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByR_S(long roleId,
int scope)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByR_S(long roleId,
int scope,
int start,
int end)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByR_S(long roleId,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission |
findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.ResourcePermission[] |
findByRoleId_PrevAndNext(long resourcePermissionId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByRoleId(long roleId)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByRoleId(long roleId,
int start,
int end)
|
java.util.List<com.liferay.portal.model.ResourcePermission> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
com.liferay.portal.model.ResourcePermission |
remove(long resourcePermissionId)
|
com.liferay.portal.model.ResourcePermission |
remove(com.liferay.portal.model.ResourcePermission resourcePermission)
|
com.liferay.portal.model.ResourcePermission |
remove(java.io.Serializable primaryKey)
|
void |
removeAll()
|
void |
removeByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
|
void |
removeByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
void |
removeByC_N_S(long companyId,
java.lang.String name,
int scope)
|
void |
removeByR_S(long roleId,
int scope)
|
void |
removeByRoleId(long roleId)
|
protected com.liferay.portal.model.ResourcePermission |
removeImpl(com.liferay.portal.model.ResourcePermission resourcePermission)
|
protected com.liferay.portal.model.ResourcePermission |
toUnwrappedModel(com.liferay.portal.model.ResourcePermission resourcePermission)
|
com.liferay.portal.model.ResourcePermission |
updateImpl(com.liferay.portal.model.ResourcePermission resourcePermission,
boolean merge)
|
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, closeSession, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
getListeners, registerListener, unregisterListener, update |
FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
FINDER_CLASS_NAME_LIST
public static final java.lang.String FINDER_CLASS_NAME_LIST
FINDER_PATH_FIND_BY_ROLEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_ROLEID
FINDER_PATH_FIND_BY_OBC_ROLEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_ROLEID
FINDER_PATH_COUNT_BY_ROLEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ROLEID
FINDER_PATH_FIND_BY_R_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_R_S
FINDER_PATH_FIND_BY_OBC_R_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_R_S
FINDER_PATH_COUNT_BY_R_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_R_S
FINDER_PATH_FIND_BY_C_N_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_N_S
FINDER_PATH_FIND_BY_OBC_C_N_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_C_N_S
FINDER_PATH_COUNT_BY_C_N_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N_S
FINDER_PATH_FIND_BY_C_N_S_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_N_S_P
FINDER_PATH_FIND_BY_OBC_C_N_S_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_C_N_S_P
FINDER_PATH_COUNT_BY_C_N_S_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N_S_P
FINDER_PATH_FETCH_BY_C_N_S_P_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_N_S_P_R
FINDER_PATH_COUNT_BY_C_N_S_P_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N_S_P_R
FINDER_PATH_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL
FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
accountPersistence
@BeanReference(name="com.liferay.portal.service.persistence.AccountPersistence")
protected com.liferay.portal.service.persistence.AccountPersistence accountPersistence
addressPersistence
@BeanReference(name="com.liferay.portal.service.persistence.AddressPersistence")
protected com.liferay.portal.service.persistence.AddressPersistence addressPersistence
browserTrackerPersistence
@BeanReference(name="com.liferay.portal.service.persistence.BrowserTrackerPersistence")
protected com.liferay.portal.service.persistence.BrowserTrackerPersistence browserTrackerPersistence
classNamePersistence
@BeanReference(name="com.liferay.portal.service.persistence.ClassNamePersistence")
protected com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence
companyPersistence
@BeanReference(name="com.liferay.portal.service.persistence.CompanyPersistence")
protected com.liferay.portal.service.persistence.CompanyPersistence companyPersistence
contactPersistence
@BeanReference(name="com.liferay.portal.service.persistence.ContactPersistence")
protected com.liferay.portal.service.persistence.ContactPersistence contactPersistence
countryPersistence
@BeanReference(name="com.liferay.portal.service.persistence.CountryPersistence")
protected com.liferay.portal.service.persistence.CountryPersistence countryPersistence
emailAddressPersistence
@BeanReference(name="com.liferay.portal.service.persistence.EmailAddressPersistence")
protected com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence
groupPersistence
@BeanReference(name="com.liferay.portal.service.persistence.GroupPersistence")
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence
imagePersistence
@BeanReference(name="com.liferay.portal.service.persistence.ImagePersistence")
protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence
layoutPersistence
@BeanReference(name="com.liferay.portal.service.persistence.LayoutPersistence")
protected com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence
layoutPrototypePersistence
@BeanReference(name="com.liferay.portal.service.persistence.LayoutPrototypePersistence")
protected com.liferay.portal.service.persistence.LayoutPrototypePersistence layoutPrototypePersistence
layoutSetPersistence
@BeanReference(name="com.liferay.portal.service.persistence.LayoutSetPersistence")
protected com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence
layoutSetPrototypePersistence
@BeanReference(name="com.liferay.portal.service.persistence.LayoutSetPrototypePersistence")
protected com.liferay.portal.service.persistence.LayoutSetPrototypePersistence layoutSetPrototypePersistence
listTypePersistence
@BeanReference(name="com.liferay.portal.service.persistence.ListTypePersistence")
protected com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence
lockPersistence
@BeanReference(name="com.liferay.portal.service.persistence.LockPersistence")
protected com.liferay.portal.service.persistence.LockPersistence lockPersistence
membershipRequestPersistence
@BeanReference(name="com.liferay.portal.service.persistence.MembershipRequestPersistence")
protected com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence
organizationPersistence
@BeanReference(name="com.liferay.portal.service.persistence.OrganizationPersistence")
protected com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence
orgGroupPermissionPersistence
@BeanReference(name="com.liferay.portal.service.persistence.OrgGroupPermissionPersistence")
protected com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence
orgGroupRolePersistence
@BeanReference(name="com.liferay.portal.service.persistence.OrgGroupRolePersistence")
protected com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence
orgLaborPersistence
@BeanReference(name="com.liferay.portal.service.persistence.OrgLaborPersistence")
protected com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence
passwordPolicyPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PasswordPolicyPersistence")
protected com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence
passwordPolicyRelPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PasswordPolicyRelPersistence")
protected com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence
passwordTrackerPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PasswordTrackerPersistence")
protected com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence
permissionPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PermissionPersistence")
protected com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence
phonePersistence
@BeanReference(name="com.liferay.portal.service.persistence.PhonePersistence")
protected com.liferay.portal.service.persistence.PhonePersistence phonePersistence
pluginSettingPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PluginSettingPersistence")
protected com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence
portletPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PortletPersistence")
protected com.liferay.portal.service.persistence.PortletPersistence portletPersistence
portletItemPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PortletItemPersistence")
protected com.liferay.portal.service.persistence.PortletItemPersistence portletItemPersistence
portletPreferencesPersistence
@BeanReference(name="com.liferay.portal.service.persistence.PortletPreferencesPersistence")
protected com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence
regionPersistence
@BeanReference(name="com.liferay.portal.service.persistence.RegionPersistence")
protected com.liferay.portal.service.persistence.RegionPersistence regionPersistence
releasePersistence
@BeanReference(name="com.liferay.portal.service.persistence.ReleasePersistence")
protected com.liferay.portal.service.persistence.ReleasePersistence releasePersistence
resourcePersistence
@BeanReference(name="com.liferay.portal.service.persistence.ResourcePersistence")
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
resourceActionPersistence
@BeanReference(name="com.liferay.portal.service.persistence.ResourceActionPersistence")
protected com.liferay.portal.service.persistence.ResourceActionPersistence resourceActionPersistence
resourceCodePersistence
@BeanReference(name="com.liferay.portal.service.persistence.ResourceCodePersistence")
protected com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence
resourcePermissionPersistence
@BeanReference(name="com.liferay.portal.service.persistence.ResourcePermissionPersistence")
protected com.liferay.portal.service.persistence.ResourcePermissionPersistence resourcePermissionPersistence
rolePersistence
@BeanReference(name="com.liferay.portal.service.persistence.RolePersistence")
protected com.liferay.portal.service.persistence.RolePersistence rolePersistence
serviceComponentPersistence
@BeanReference(name="com.liferay.portal.service.persistence.ServiceComponentPersistence")
protected com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence
shardPersistence
@BeanReference(name="com.liferay.portal.service.persistence.ShardPersistence")
protected com.liferay.portal.service.persistence.ShardPersistence shardPersistence
subscriptionPersistence
@BeanReference(name="com.liferay.portal.service.persistence.SubscriptionPersistence")
protected com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence
userPersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserPersistence")
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
userGroupPersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserGroupPersistence")
protected com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence
userGroupGroupRolePersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserGroupGroupRolePersistence")
protected com.liferay.portal.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence
userGroupRolePersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserGroupRolePersistence")
protected com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence
userIdMapperPersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserIdMapperPersistence")
protected com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence
userTrackerPersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserTrackerPersistence")
protected com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence
userTrackerPathPersistence
@BeanReference(name="com.liferay.portal.service.persistence.UserTrackerPathPersistence")
protected com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence
webDAVPropsPersistence
@BeanReference(name="com.liferay.portal.service.persistence.WebDAVPropsPersistence")
protected com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence
websitePersistence
@BeanReference(name="com.liferay.portal.service.persistence.WebsitePersistence")
protected com.liferay.portal.service.persistence.WebsitePersistence websitePersistence
workflowDefinitionLinkPersistence
@BeanReference(name="com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence")
protected com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
workflowInstanceLinkPersistence
@BeanReference(name="com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence")
protected com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
ResourcePermissionPersistenceImpl
public ResourcePermissionPersistenceImpl()
cacheResult
public void cacheResult(com.liferay.portal.model.ResourcePermission resourcePermission)
- Specified by:
cacheResult
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
cacheResult
public void cacheResult(java.util.List<com.liferay.portal.model.ResourcePermission> resourcePermissions)
- Specified by:
cacheResult
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
clearCache
public void clearCache()
- Specified by:
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>
- Overrides:
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
create
public com.liferay.portal.model.ResourcePermission create(long resourcePermissionId)
- Specified by:
create
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
remove
public com.liferay.portal.model.ResourcePermission remove(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
remove
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>
- Overrides:
remove
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.kernel.exception.SystemException
remove
public com.liferay.portal.model.ResourcePermission remove(long resourcePermissionId)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
remove
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
remove
public com.liferay.portal.model.ResourcePermission remove(com.liferay.portal.model.ResourcePermission resourcePermission)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
remove
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>
- Overrides:
remove
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeImpl
protected com.liferay.portal.model.ResourcePermission removeImpl(com.liferay.portal.model.ResourcePermission resourcePermission)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateImpl
public com.liferay.portal.model.ResourcePermission updateImpl(com.liferay.portal.model.ResourcePermission resourcePermission,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImpl
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Overrides:
updateImpl
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- Throws:
com.liferay.portal.kernel.exception.SystemException
toUnwrappedModel
protected com.liferay.portal.model.ResourcePermission toUnwrappedModel(com.liferay.portal.model.ResourcePermission resourcePermission)
findByPrimaryKey
public com.liferay.portal.model.ResourcePermission findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>
- Overrides:
findByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public com.liferay.portal.model.ResourcePermission findByPrimaryKey(long resourcePermissionId)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByPrimaryKey
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
public com.liferay.portal.model.ResourcePermission fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>
- Overrides:
fetchByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
public com.liferay.portal.model.ResourcePermission fetchByPrimaryKey(long resourcePermissionId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByPrimaryKey
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId
public java.util.List<com.liferay.portal.model.ResourcePermission> findByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByRoleId
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId
public java.util.List<com.liferay.portal.model.ResourcePermission> findByRoleId(long roleId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByRoleId
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId
public java.util.List<com.liferay.portal.model.ResourcePermission> findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByRoleId
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId_First
public com.liferay.portal.model.ResourcePermission findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByRoleId_First
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByRoleId_Last
public com.liferay.portal.model.ResourcePermission findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByRoleId_Last
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByRoleId_PrevAndNext
public com.liferay.portal.model.ResourcePermission[] findByRoleId_PrevAndNext(long resourcePermissionId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByRoleId_PrevAndNext
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByR_S
public java.util.List<com.liferay.portal.model.ResourcePermission> findByR_S(long roleId,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByR_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByR_S
public java.util.List<com.liferay.portal.model.ResourcePermission> findByR_S(long roleId,
int scope,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByR_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByR_S
public java.util.List<com.liferay.portal.model.ResourcePermission> findByR_S(long roleId,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByR_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByR_S_First
public com.liferay.portal.model.ResourcePermission findByR_S_First(long roleId,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByR_S_First
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByR_S_Last
public com.liferay.portal.model.ResourcePermission findByR_S_Last(long roleId,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByR_S_Last
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByR_S_PrevAndNext
public com.liferay.portal.model.ResourcePermission[] findByR_S_PrevAndNext(long resourcePermissionId,
long roleId,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByR_S_PrevAndNext
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByC_N_S
public java.util.List<com.liferay.portal.model.ResourcePermission> findByC_N_S(long companyId,
java.lang.String name,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_N_S
public java.util.List<com.liferay.portal.model.ResourcePermission> findByC_N_S(long companyId,
java.lang.String name,
int scope,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_N_S
public java.util.List<com.liferay.portal.model.ResourcePermission> findByC_N_S(long companyId,
java.lang.String name,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_First
public com.liferay.portal.model.ResourcePermission findByC_N_S_First(long companyId,
java.lang.String name,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_First
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_Last
public com.liferay.portal.model.ResourcePermission findByC_N_S_Last(long companyId,
java.lang.String name,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_Last
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_PrevAndNext
public com.liferay.portal.model.ResourcePermission[] findByC_N_S_PrevAndNext(long resourcePermissionId,
long companyId,
java.lang.String name,
int scope,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_PrevAndNext
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P
public java.util.List<com.liferay.portal.model.ResourcePermission> findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_P
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P
public java.util.List<com.liferay.portal.model.ResourcePermission> findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_P
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P
public java.util.List<com.liferay.portal.model.ResourcePermission> findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_P
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P_First
public com.liferay.portal.model.ResourcePermission findByC_N_S_P_First(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_P_First
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P_Last
public com.liferay.portal.model.ResourcePermission findByC_N_S_P_Last(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_P_Last
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P_PrevAndNext
public com.liferay.portal.model.ResourcePermission[] findByC_N_S_P_PrevAndNext(long resourcePermissionId,
long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_P_PrevAndNext
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
findByC_N_S_P_R
public com.liferay.portal.model.ResourcePermission findByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByC_N_S_P_R
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
fetchByC_N_S_P_R
public com.liferay.portal.model.ResourcePermission fetchByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByC_N_S_P_R
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByC_N_S_P_R
public com.liferay.portal.model.ResourcePermission fetchByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByC_N_S_P_R
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findWithDynamicQuery
public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>
- Overrides:
findWithDynamicQuery
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- Throws:
com.liferay.portal.kernel.exception.SystemException
findWithDynamicQuery
public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.ResourcePermission>
- Overrides:
findWithDynamicQuery
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.ResourcePermission>
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public java.util.List<com.liferay.portal.model.ResourcePermission> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findAll
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public java.util.List<com.liferay.portal.model.ResourcePermission> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findAll
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public java.util.List<com.liferay.portal.model.ResourcePermission> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findAll
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByRoleId
public void removeByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeByRoleId
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByR_S
public void removeByR_S(long roleId,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeByR_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_N_S
public void removeByC_N_S(long companyId,
java.lang.String name,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeByC_N_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_N_S_P
public void removeByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeByC_N_S_P
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_N_S_P_R
public void removeByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
throws com.liferay.portal.NoSuchResourcePermissionException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeByC_N_S_P_R
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.NoSuchResourcePermissionException
com.liferay.portal.kernel.exception.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeAll
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByRoleId
public int countByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByRoleId
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByR_S
public int countByR_S(long roleId,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByR_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_N_S
public int countByC_N_S(long companyId,
java.lang.String name,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByC_N_S
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_N_S_P
public int countByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByC_N_S_P
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_N_S_P_R
public int countByC_N_S_P_R(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByC_N_S_P_R
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countAll
in interface com.liferay.portal.service.persistence.ResourcePermissionPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
afterPropertiesSet
public void afterPropertiesSet()