|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.ResourceTypePermissionLocalServiceWrapper
@ProviderType public class ResourceTypePermissionLocalServiceWrapper
Provides a wrapper for ResourceTypePermissionLocalService.
ResourceTypePermissionLocalService| Constructor Summary | |
|---|---|
ResourceTypePermissionLocalServiceWrapper(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
|
|
| Method Summary | ||
|---|---|---|
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. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
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()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
ResourceTypePermission |
fetchResourceTypePermission(long resourceTypePermissionId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
long |
getCompanyScopeActionIds(long companyId,
String name,
long roleId)
|
|
long |
getGroupScopeActionIds(long companyId,
long groupId,
String name,
long roleId)
|
|
List<ResourceTypePermission> |
getGroupScopeResourceTypePermissions(long companyId,
String name,
long roleId)
|
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
ResourceBlockPermissionsContainer |
getResourceBlockPermissionsContainer(long companyId,
long groupId,
String name)
|
|
ResourceTypePermission |
getResourceTypePermission(long resourceTypePermissionId)
Returns the resource type permission with the primary key. |
|
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. |
|
List<ResourceTypePermission> |
getRoleResourceTypePermissions(long roleId)
|
|
ResourceTypePermissionLocalService |
getWrappedService()
|
|
boolean |
hasCompanyScopePermission(long companyId,
String name,
long roleId,
String actionId)
|
|
boolean |
hasEitherScopePermission(long companyId,
String name,
long roleId,
String actionId)
|
|
boolean |
hasGroupScopePermission(long companyId,
long groupId,
String name,
long roleId,
String actionId)
|
|
void |
setWrappedService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
|
|
void |
updateCompanyScopeResourceTypePermissions(long companyId,
String name,
long roleId,
long actionIdsLong,
long operator)
|
|
void |
updateGroupScopeResourceTypePermissions(long companyId,
long groupId,
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceTypePermissionLocalServiceWrapper(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
| Method Detail |
|---|
public ResourceTypePermission addResourceTypePermission(ResourceTypePermission resourceTypePermission)
addResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
public ResourceTypePermission createResourceTypePermission(long resourceTypePermissionId)
createResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key for the new resource type permission
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface ResourceTypePermissionLocalServicePortalExceptionpublic ResourceTypePermission deleteResourceTypePermission(ResourceTypePermission resourceTypePermission)
deleteResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
public ResourceTypePermission deleteResourceTypePermission(long resourceTypePermissionId)
throws PortalException
deleteResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key of the resource type permission
PortalException - if a resource type permission with the primary key could not be foundpublic DynamicQuery dynamicQuery()
dynamicQuery in interface ResourceTypePermissionLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
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 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)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 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)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public ResourceTypePermission fetchResourceTypePermission(long resourceTypePermissionId)
fetchResourceTypePermission in interface ResourceTypePermissionLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ResourceTypePermissionLocalService
public long getCompanyScopeActionIds(long companyId,
String name,
long roleId)
getCompanyScopeActionIds in interface ResourceTypePermissionLocalService
public long getGroupScopeActionIds(long companyId,
long groupId,
String name,
long roleId)
getGroupScopeActionIds in interface ResourceTypePermissionLocalService
public List<ResourceTypePermission> getGroupScopeResourceTypePermissions(long companyId,
String name,
long roleId)
getGroupScopeResourceTypePermissions in interface ResourceTypePermissionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface ResourceTypePermissionLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface ResourceTypePermissionLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ResourceTypePermissionLocalServicePortalException
public ResourceBlockPermissionsContainer getResourceBlockPermissionsContainer(long companyId,
long groupId,
String name)
getResourceBlockPermissionsContainer in interface ResourceTypePermissionLocalService
public ResourceTypePermission getResourceTypePermission(long resourceTypePermissionId)
throws PortalException
getResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key of the resource type permission
PortalException - if a resource type permission with the primary key could not be found
public List<ResourceTypePermission> getResourceTypePermissions(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 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)
public int getResourceTypePermissionsCount()
getResourceTypePermissionsCount in interface ResourceTypePermissionLocalServicepublic List<ResourceTypePermission> getRoleResourceTypePermissions(long roleId)
getRoleResourceTypePermissions in interface ResourceTypePermissionLocalService
public boolean hasCompanyScopePermission(long companyId,
String name,
long roleId,
String actionId)
throws PortalException
hasCompanyScopePermission in interface ResourceTypePermissionLocalServicePortalException
public boolean hasEitherScopePermission(long companyId,
String name,
long roleId,
String actionId)
throws PortalException
hasEitherScopePermission in interface ResourceTypePermissionLocalServicePortalException
public boolean hasGroupScopePermission(long companyId,
long groupId,
String name,
long roleId,
String actionId)
throws PortalException
hasGroupScopePermission in interface ResourceTypePermissionLocalServicePortalException
public void updateCompanyScopeResourceTypePermissions(long companyId,
String name,
long roleId,
long actionIdsLong,
long operator)
updateCompanyScopeResourceTypePermissions in interface ResourceTypePermissionLocalService
public void updateGroupScopeResourceTypePermissions(long companyId,
long groupId,
String name,
long roleId,
long actionIdsLong,
long operator)
updateGroupScopeResourceTypePermissions in interface ResourceTypePermissionLocalServicepublic ResourceTypePermission updateResourceTypePermission(ResourceTypePermission resourceTypePermission)
updateResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
public ResourceTypePermissionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<ResourceTypePermissionLocalService>public void setWrappedService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
setWrappedService in interface ServiceWrapper<ResourceTypePermissionLocalService>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||