@ProviderType public class ResourceTypePermissionLocalServiceWrapper extends java.lang.Object implements ResourceTypePermissionLocalService, ServiceWrapper<ResourceTypePermissionLocalService>
ResourceTypePermissionLocalService.ResourceTypePermissionLocalService| Constructor and Description |
|---|
ResourceTypePermissionLocalServiceWrapper(ResourceTypePermissionLocalService resourceTypePermissionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
ResourceTypePermission |
addResourceTypePermission(ResourceTypePermission resourceTypePermission)
Adds the resource type permission to the database.
|
ResourceTypePermission |
createResourceTypePermission(long resourceTypePermissionId)
Creates a new resource type permission with the primary key.
|
ResourceTypePermission |
deleteResourceTypePermission(long resourceTypePermissionId)
Deletes the resource type permission with the primary key from the database.
|
ResourceTypePermission |
deleteResourceTypePermission(ResourceTypePermission resourceTypePermission)
Deletes the resource type permission from the database.
|
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
ResourceTypePermission |
fetchResourceTypePermission(long resourceTypePermissionId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
long |
getCompanyScopeActionIds(long companyId,
java.lang.String name,
long roleId) |
long |
getGroupScopeActionIds(long companyId,
long groupId,
java.lang.String name,
long roleId) |
java.util.List<ResourceTypePermission> |
getGroupScopeResourceTypePermissions(long companyId,
java.lang.String name,
long roleId) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
ResourceBlockPermissionsContainer |
getResourceBlockPermissionsContainer(long companyId,
long groupId,
java.lang.String name) |
ResourceTypePermission |
getResourceTypePermission(long resourceTypePermissionId)
Returns the resource type permission with the primary key.
|
java.util.List<ResourceTypePermission> |
getResourceTypePermissions(int start,
int end)
Returns a range of all the resource type permissions.
|
int |
getResourceTypePermissionsCount()
Returns the number of resource type permissions.
|
java.util.List<ResourceTypePermission> |
getRoleResourceTypePermissions(long roleId) |
ResourceTypePermissionLocalService |
getWrappedResourceTypePermissionLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
ResourceTypePermissionLocalService |
getWrappedService() |
boolean |
hasCompanyScopePermission(long companyId,
java.lang.String name,
long roleId,
java.lang.String actionId) |
boolean |
hasEitherScopePermission(long companyId,
java.lang.String name,
long roleId,
java.lang.String actionId) |
boolean |
hasGroupScopePermission(long companyId,
long groupId,
java.lang.String name,
long roleId,
java.lang.String actionId) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedResourceTypePermissionLocalService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.ResourceTypePermissionLocalService) |
void |
setWrappedService(ResourceTypePermissionLocalService resourceTypePermissionLocalService) |
void |
updateCompanyScopeResourceTypePermissions(long companyId,
java.lang.String name,
long roleId,
long actionIdsLong,
long operator) |
void |
updateGroupScopeResourceTypePermissions(long companyId,
long groupId,
java.lang.String name,
long roleId,
long actionIdsLong,
long operator) |
ResourceTypePermission |
updateResourceTypePermission(ResourceTypePermission resourceTypePermission)
Updates the resource type permission in the database or adds it if it does not yet exist.
|
public ResourceTypePermissionLocalServiceWrapper(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
public ResourceTypePermission addResourceTypePermission(ResourceTypePermission resourceTypePermission) throws SystemException
addResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permissionSystemException - if a system exception occurredpublic ResourceTypePermission createResourceTypePermission(long resourceTypePermissionId)
createResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key for the new resource type permissionpublic ResourceTypePermission deleteResourceTypePermission(long resourceTypePermissionId) throws PortalException, SystemException
deleteResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key of the resource type permissionPortalException - if a resource type permission with the primary key could not be foundSystemException - if a system exception occurredpublic ResourceTypePermission deleteResourceTypePermission(ResourceTypePermission resourceTypePermission) throws SystemException
deleteResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permissionSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface ResourceTypePermissionLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ResourceTypePermissionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ResourceTypePermissionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic ResourceTypePermission fetchResourceTypePermission(long resourceTypePermissionId) throws SystemException
fetchResourceTypePermission in interface ResourceTypePermissionLocalServiceSystemExceptionpublic ResourceTypePermission getResourceTypePermission(long resourceTypePermissionId) throws PortalException, SystemException
getResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key of the resource type permissionPortalException - if a resource type permission with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ResourceTypePermissionLocalServicePortalExceptionSystemExceptionpublic java.util.List<ResourceTypePermission> getResourceTypePermissions(int start, int end) throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ResourceTypePermissionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getResourceTypePermissions in interface ResourceTypePermissionLocalServicestart - the lower bound of the range of resource type permissionsend - the upper bound of the range of resource type permissions (not inclusive)SystemException - if a system exception occurredpublic int getResourceTypePermissionsCount()
throws SystemException
getResourceTypePermissionsCount in interface ResourceTypePermissionLocalServiceSystemException - if a system exception occurredpublic ResourceTypePermission updateResourceTypePermission(ResourceTypePermission resourceTypePermission) throws SystemException
updateResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permissionSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface ResourceTypePermissionLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface ResourceTypePermissionLocalServicebeanIdentifier - the Spring bean ID for this beanpublic long getCompanyScopeActionIds(long companyId,
java.lang.String name,
long roleId)
throws SystemException
getCompanyScopeActionIds in interface ResourceTypePermissionLocalServiceSystemExceptionpublic long getGroupScopeActionIds(long companyId,
long groupId,
java.lang.String name,
long roleId)
throws SystemException
getGroupScopeActionIds in interface ResourceTypePermissionLocalServiceSystemExceptionpublic java.util.List<ResourceTypePermission> getGroupScopeResourceTypePermissions(long companyId, java.lang.String name, long roleId) throws SystemException
getGroupScopeResourceTypePermissions in interface ResourceTypePermissionLocalServiceSystemExceptionpublic ResourceBlockPermissionsContainer getResourceBlockPermissionsContainer(long companyId, long groupId, java.lang.String name) throws SystemException
getResourceBlockPermissionsContainer in interface ResourceTypePermissionLocalServiceSystemExceptionpublic java.util.List<ResourceTypePermission> getRoleResourceTypePermissions(long roleId) throws SystemException
getRoleResourceTypePermissions in interface ResourceTypePermissionLocalServiceSystemExceptionpublic boolean hasCompanyScopePermission(long companyId,
java.lang.String name,
long roleId,
java.lang.String actionId)
throws PortalException,
SystemException
hasCompanyScopePermission in interface ResourceTypePermissionLocalServicePortalExceptionSystemExceptionpublic boolean hasEitherScopePermission(long companyId,
java.lang.String name,
long roleId,
java.lang.String actionId)
throws PortalException,
SystemException
hasEitherScopePermission in interface ResourceTypePermissionLocalServicePortalExceptionSystemExceptionpublic boolean hasGroupScopePermission(long companyId,
long groupId,
java.lang.String name,
long roleId,
java.lang.String actionId)
throws PortalException,
SystemException
hasGroupScopePermission in interface ResourceTypePermissionLocalServicePortalExceptionSystemExceptionpublic void updateCompanyScopeResourceTypePermissions(long companyId,
java.lang.String name,
long roleId,
long actionIdsLong,
long operator)
throws SystemException
updateCompanyScopeResourceTypePermissions in interface ResourceTypePermissionLocalServiceSystemExceptionpublic void updateGroupScopeResourceTypePermissions(long companyId,
long groupId,
java.lang.String name,
long roleId,
long actionIdsLong,
long operator)
throws SystemException
updateGroupScopeResourceTypePermissions in interface ResourceTypePermissionLocalServiceSystemExceptionpublic ResourceTypePermissionLocalService getWrappedResourceTypePermissionLocalService()
getWrappedService()public void setWrappedResourceTypePermissionLocalService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
setWrappedService(com.liferay.portal.service.ResourceTypePermissionLocalService)public ResourceTypePermissionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<ResourceTypePermissionLocalService>public void setWrappedService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
setWrappedService in interface ServiceWrapper<ResourceTypePermissionLocalService>