|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.ResourceTypePermissionLocalServiceWrapper
public class ResourceTypePermissionLocalServiceWrapper
This class is 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. |
void |
deleteResourceTypePermission(long resourceTypePermissionId)
Deletes the resource type permission with the primary key from the database. |
void |
deleteResourceTypePermission(ResourceTypePermission resourceTypePermission)
Deletes the resource type permission from the database. |
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
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. |
ResourceTypePermission |
fetchResourceTypePermission(long resourceTypePermissionId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
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)
|
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 |
getWrappedResourceTypePermissionLocalService()
Deprecated. Renamed to getWrappedService() |
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 |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedResourceTypePermissionLocalService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portal.service.ResourceTypePermissionLocalService) |
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. |
ResourceTypePermission |
updateResourceTypePermission(ResourceTypePermission resourceTypePermission,
boolean merge)
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)
throws SystemException
addResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
SystemException - if a system exception occurredpublic ResourceTypePermission createResourceTypePermission(long resourceTypePermissionId)
createResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key for the new resource type permission
public void deleteResourceTypePermission(long resourceTypePermissionId)
throws PortalException,
SystemException
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 found
SystemException - if a system exception occurred
public void deleteResourceTypePermission(ResourceTypePermission resourceTypePermission)
throws SystemException
deleteResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public 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.
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 occurred
public 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.
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 occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public ResourceTypePermission fetchResourceTypePermission(long resourceTypePermissionId)
throws SystemException
fetchResourceTypePermission in interface ResourceTypePermissionLocalServiceSystemException
public ResourceTypePermission getResourceTypePermission(long resourceTypePermissionId)
throws PortalException,
SystemException
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
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ResourceTypePermissionLocalServicePortalException
SystemException
public 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.
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 occurred
public int getResourceTypePermissionsCount()
throws SystemException
getResourceTypePermissionsCount in interface ResourceTypePermissionLocalServiceSystemException - if a system exception occurred
public ResourceTypePermission updateResourceTypePermission(ResourceTypePermission resourceTypePermission)
throws SystemException
updateResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
SystemException - if a system exception occurred
public ResourceTypePermission updateResourceTypePermission(ResourceTypePermission resourceTypePermission,
boolean merge)
throws SystemException
updateResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permissionmerge - whether to merge the resource type permission with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface ResourceTypePermissionLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface ResourceTypePermissionLocalServicebeanIdentifier - the Spring bean ID for this bean
public long getCompanyScopeActionIds(long companyId,
String name,
long roleId)
throws SystemException
getCompanyScopeActionIds in interface ResourceTypePermissionLocalServiceSystemException
public long getGroupScopeActionIds(long companyId,
long groupId,
String name,
long roleId)
throws SystemException
getGroupScopeActionIds in interface ResourceTypePermissionLocalServiceSystemException
public List<ResourceTypePermission> getGroupScopeResourceTypePermissions(long companyId,
String name,
long roleId)
throws SystemException
getGroupScopeResourceTypePermissions in interface ResourceTypePermissionLocalServiceSystemException
public ResourceBlockPermissionsContainer getResourceBlockPermissionsContainer(long companyId,
long groupId,
String name)
throws SystemException
getResourceBlockPermissionsContainer in interface ResourceTypePermissionLocalServiceSystemException
public List<ResourceTypePermission> getRoleResourceTypePermissions(long roleId)
throws SystemException
getRoleResourceTypePermissions in interface ResourceTypePermissionLocalServiceSystemException
public boolean hasCompanyScopePermission(long companyId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
hasCompanyScopePermission in interface ResourceTypePermissionLocalServicePortalException
SystemException
public boolean hasEitherScopePermission(long companyId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
hasEitherScopePermission in interface ResourceTypePermissionLocalServicePortalException
SystemException
public boolean hasGroupScopePermission(long companyId,
long groupId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
hasGroupScopePermission in interface ResourceTypePermissionLocalServicePortalException
SystemException
public void updateCompanyScopeResourceTypePermissions(long companyId,
String name,
long roleId,
long actionIdsLong,
long operator)
throws SystemException
updateCompanyScopeResourceTypePermissions in interface ResourceTypePermissionLocalServiceSystemException
public void updateGroupScopeResourceTypePermissions(long companyId,
long groupId,
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>
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||