/** * Receive update from subject * @param \Tripod\Mongo\ImpactedSubject * @return void */ public function update(\Tripod\Mongo\ImpactedSubject $subject) { $resource = $subject->getResourceId(); $resourceUri = $resource[_ID_RESOURCE]; $context = $resource[_ID_CONTEXT]; $this->generateViews(array($resourceUri), $context); }
/** * Receive update from subject * @param \Tripod\Mongo\ImpactedSubject * @return void */ public function update(ImpactedSubject $subject) { $resource = $subject->getResourceId(); $resourceUri = $resource[_ID_RESOURCE]; $context = $resource[_ID_CONTEXT]; $this->generateTableRowsForResource($resourceUri, $context, $subject->getSpecTypes()); }
/** * Receive update from subject * @param ImpactedSubject $subject * @return void */ public function update(ImpactedSubject $subject) { $resource = $subject->getResourceId(); $resourceUri = $resource[_ID_RESOURCE]; $context = $resource[_ID_CONTEXT]; $this->generateAndIndexSearchDocuments($resourceUri, $context, $subject->getPodName(), $subject->getSpecTypes()); }