|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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. |
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()
|
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 ResourceTypePermissionLocalService
resourceTypePermission
- the resource type permission
SystemException
- if a system exception occurredpublic ResourceTypePermission createResourceTypePermission(long resourceTypePermissionId)
createResourceTypePermission
in interface ResourceTypePermissionLocalService
resourceTypePermissionId
- the primary key for the new resource type permission
public ResourceTypePermission deleteResourceTypePermission(long resourceTypePermissionId) throws PortalException, SystemException
deleteResourceTypePermission
in interface ResourceTypePermissionLocalService
resourceTypePermissionId
- 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 occurredpublic ResourceTypePermission deleteResourceTypePermission(ResourceTypePermission resourceTypePermission) throws SystemException
deleteResourceTypePermission
in interface ResourceTypePermissionLocalService
resourceTypePermission
- the resource type permission
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface ResourceTypePermissionLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface ResourceTypePermissionLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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 ResourceTypePermissionLocalService
dynamicQuery
- 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 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 ResourceTypePermissionLocalService
dynamicQuery
- 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 ResourceTypePermissionLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic ResourceTypePermission fetchResourceTypePermission(long resourceTypePermissionId) throws SystemException
fetchResourceTypePermission
in interface ResourceTypePermissionLocalService
SystemException
public ResourceTypePermission getResourceTypePermission(long resourceTypePermissionId) throws PortalException, SystemException
getResourceTypePermission
in interface ResourceTypePermissionLocalService
resourceTypePermissionId
- 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 occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface ResourceTypePermissionLocalService
PortalException
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 ResourceTypePermissionLocalService
start
- 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 ResourceTypePermissionLocalService
SystemException
- if a system exception occurredpublic ResourceTypePermission updateResourceTypePermission(ResourceTypePermission resourceTypePermission) throws SystemException
updateResourceTypePermission
in interface ResourceTypePermissionLocalService
resourceTypePermission
- the resource type permission
SystemException
- if a system exception occurredpublic ResourceTypePermission updateResourceTypePermission(ResourceTypePermission resourceTypePermission, boolean merge) throws SystemException
updateResourceTypePermission
in interface ResourceTypePermissionLocalService
resourceTypePermission
- 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 ResourceTypePermissionLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface ResourceTypePermissionLocalService
beanIdentifier
- the Spring bean ID for this beanpublic long getCompanyScopeActionIds(long companyId, String name, long roleId) throws SystemException
getCompanyScopeActionIds
in interface ResourceTypePermissionLocalService
SystemException
public long getGroupScopeActionIds(long companyId, long groupId, String name, long roleId) throws SystemException
getGroupScopeActionIds
in interface ResourceTypePermissionLocalService
SystemException
public List<ResourceTypePermission> getGroupScopeResourceTypePermissions(long companyId, String name, long roleId) throws SystemException
getGroupScopeResourceTypePermissions
in interface ResourceTypePermissionLocalService
SystemException
public ResourceBlockPermissionsContainer getResourceBlockPermissionsContainer(long companyId, long groupId, String name) throws SystemException
getResourceBlockPermissionsContainer
in interface ResourceTypePermissionLocalService
SystemException
public List<ResourceTypePermission> getRoleResourceTypePermissions(long roleId) throws SystemException
getRoleResourceTypePermissions
in interface ResourceTypePermissionLocalService
SystemException
public boolean hasCompanyScopePermission(long companyId, String name, long roleId, String actionId) throws PortalException, SystemException
hasCompanyScopePermission
in interface ResourceTypePermissionLocalService
PortalException
SystemException
public boolean hasEitherScopePermission(long companyId, String name, long roleId, String actionId) throws PortalException, SystemException
hasEitherScopePermission
in interface ResourceTypePermissionLocalService
PortalException
SystemException
public boolean hasGroupScopePermission(long companyId, long groupId, String name, long roleId, String actionId) throws PortalException, SystemException
hasGroupScopePermission
in interface ResourceTypePermissionLocalService
PortalException
SystemException
public void updateCompanyScopeResourceTypePermissions(long companyId, String name, long roleId, long actionIdsLong, long operator) throws SystemException
updateCompanyScopeResourceTypePermissions
in interface ResourceTypePermissionLocalService
SystemException
public void updateGroupScopeResourceTypePermissions(long companyId, long groupId, String name, long roleId, long actionIdsLong, long operator) throws SystemException
updateGroupScopeResourceTypePermissions
in interface ResourceTypePermissionLocalService
SystemException
public 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.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |