class Kaltura::KalturaBusinessProcessCaseService
Business-process case service lets you get information about processes
Public Class Methods
new(client)
click to toggle source
Calls superclass method
Kaltura::KalturaServiceBase::new
# File lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb, line 491 def initialize(client) super(client) end
Public Instance Methods
abort(object_type, object_id, business_process_start_notification_template_id)
click to toggle source
Abort business-process case @return []
# File lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb, line 497 def abort(object_type, object_id, business_process_start_notification_template_id) kparams = {} client.add_param(kparams, 'objectType', object_type) client.add_param(kparams, 'objectId', object_id) client.add_param(kparams, 'businessProcessStartNotificationTemplateId', business_process_start_notification_template_id) client.queue_service_action_call('businessprocessnotification_businessprocesscase', 'abort', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
list(object_type, object_id)
click to toggle source
list business-process cases @return [array]
# File lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb, line 511 def list(object_type, object_id) kparams = {} client.add_param(kparams, 'objectType', object_type) client.add_param(kparams, 'objectId', object_id) client.queue_service_action_call('businessprocessnotification_businessprocesscase', 'list', 'KalturaBusinessProcessCase', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
serve_diagram(object_type, object_id, business_process_start_notification_template_id)
click to toggle source
Server business-process case diagram @return [file]
# File lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb, line 524 def serve_diagram(object_type, object_id, business_process_start_notification_template_id) kparams = {} client.add_param(kparams, 'objectType', object_type) client.add_param(kparams, 'objectId', object_id) client.add_param(kparams, 'businessProcessStartNotificationTemplateId', business_process_start_notification_template_id) client.queue_service_action_call('businessprocessnotification_businessprocesscase', 'serveDiagram', 'file', kparams) return client.get_serve_url() end