Class: Kaltura::KalturaBusinessProcessNotificationTemplate

Inherits:
KalturaEventNotificationTemplate show all
Defined in:
lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaEventNotificationTemplate

#automatic_dispatch_enabled, #content_parameters, #created_at, #description, #event_conditions, #event_object_type, #event_type, #id, #manual_dispatch_enabled, #name, #partner_id, #status, #system_name, #type, #updated_at, #user_parameters

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#main_object_codeObject

Code to load the main triggering object



196
197
198
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 196

def main_object_code
  @main_object_code
end

#process_idObject

Define the integrated BPM process id



194
195
196
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 194

def process_id
  @process_id
end

#server_idObject

Define the integrated BPM server id



192
193
194
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 192

def server_id
  @server_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 202

def from_xml(xml_element)
	super
	if xml_element.elements['serverId'] != nil
		self.server_id = xml_element.elements['serverId'].text
	end
	if xml_element.elements['processId'] != nil
		self.process_id = xml_element.elements['processId'].text
	end
	if xml_element.elements['mainObjectCode'] != nil
		self.main_object_code = xml_element.elements['mainObjectCode'].text
	end
end