You are here

final class DeveloperAppController in Apigee Edge 8

Definition of the developer app controller service.

This integrates the Management API's developer app controller from the SDK's with Drupal. It uses a shared (not internal) app cache to reduce the number of API calls that we send to Apigee Edge.

Hierarchy

Expanded class hierarchy of DeveloperAppController

File

src/Entity/Controller/DeveloperAppController.php, line 33

Namespace

Drupal\apigee_edge\Entity\Controller
View source
final class DeveloperAppController extends AppByOwnerController implements DeveloperAppControllerInterface {

  /**
   * {@inheritdoc}
   */
  protected function decorated() : EdgeAppByOwnerControllerInterface {
    if (!isset($this->instances[$this->owner])) {
      $this->instances[$this->owner] = new EdgeDeveloperAppController($this->connector
        ->getOrganization(), $this->owner, $this->connector
        ->getClient(), NULL, $this->organizationController);
    }
    return $this->instances[$this->owner];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AppByOwnerController::$appCacheByOwner protected property App owner's dedicated app cache that uses app names as cache ids.
AppByOwnerController::$appNameCacheByOwner protected property App owner's dedicated app name cache.
AppByOwnerController::$instances protected property Local cache for app by owner controller instances.
AppByOwnerController::$owner protected property The owner of an app.
AppByOwnerController::entityCache public function Returns the entity cache used by the controller. Overrides EntityCacheAwareControllerTrait::entityCache
AppByOwnerController::entityIdCache protected function Entity id cache used by the entity controller. Overrides CachedPaginatedEntityIdListingControllerTrait::entityIdCache
AppByOwnerController::getEntities public function
AppByOwnerController::getOrganisationName public function
AppByOwnerController::load public function Overrides CachedEntityCrudOperationsControllerTrait::load
AppByOwnerController::setStatus public function
AppByOwnerController::__construct public function AppByOwnerController constructor. Overrides AppControllerBase::__construct
AppControllerBase::$appCache protected property The app cache.
AppControllerBase::$connector protected property The SDK connector service.
AppControllerBase::$organizationController protected property The organization controller service.
CachedAttributesAwareEntityControllerTrait::deleteAttribute public function
CachedAttributesAwareEntityControllerTrait::getAttribute public function
CachedAttributesAwareEntityControllerTrait::getAttributes public function
CachedAttributesAwareEntityControllerTrait::updateAttribute public function
CachedAttributesAwareEntityControllerTrait::updateAttributes public function
CachedEntityCrudOperationsControllerTrait::create public function
CachedEntityCrudOperationsControllerTrait::delete public function
CachedEntityCrudOperationsControllerTrait::update public function
CachedPaginatedControllerHelperTrait::createPager public function
CachedPaginatedEntityIdListingControllerTrait::extractSubsetOfAssociativeArray abstract protected function
CachedPaginatedEntityIdListingControllerTrait::getEntityIds public function
DeveloperAppController::decorated protected function Returns the decorated developer- or company app controller. Overrides AppByOwnerController::decorated