Interface RequestTypePermissionService
public interface RequestTypePermissionService
Used to perform operations on
RequestTypePermission
.-
Method Summary
Modifier and TypeMethodDescriptiongetRequestTypePermission
(int requestTypeId) Get the permissions for a request type.upsertRequestTypePermission
(RequestTypePermission requestTypePermission) Upsert the permissions for a request type.
-
Method Details
-
getRequestTypePermission
Get the permissions for a request type.- Parameters:
requestTypeId
- ofRequestType
for which we want to get the permissions- Returns:
- the permissions for the
RequestType
inRequestTypePermission
object
-
upsertRequestTypePermission
Upsert the permissions for a request type.- Parameters:
requestTypePermission
- the permissions objectRequestTypePermission
to upsert the permissions- Returns:
- newly created permissions for the request type in
RequestTypePermission
object
-