Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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());
 }
Esempio n. 3
0
 /**
  * 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());
 }