protected function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $dbObject kBusinessProcessNotificationDispatchJobData */
     parent::doFromObject($dbObject, $responseProfile);
     $server = $dbObject->getServer();
     $this->server = KalturaBusinessProcessServer::getInstanceByType($server->getType());
     $this->server->fromObject($server);
 }
 public function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $dbObject kEmailNotificationDispatchJobData */
     parent::doFromObject($dbObject, $responseProfile);
     $this->to = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getTo());
     $this->cc = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getCc());
     $this->bcc = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getBcc());
     $this->replyTo = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getReplyTo());
     $this->customHeaders = KalturaKeyValueArray::fromKeyValueArray($dbObject->getCustomHeaders());
 }
 public function doFromObject($srcObj, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $srcObj kHttpNotificationDispatchJobData */
     parent::doFromObject($srcObj, $responseProfile);
     if (is_null($this->data) && $srcObj->getDataObject()) {
         $dataObject = KalturaHttpNotificationData::getInstance($srcObj->getDataObject());
         if ($dataObject) {
             $this->data = $dataObject->getData($srcObj);
         }
     }
 }