private function regenerateAncestorRelations(AclInterface $acl)
    {
        $pk = $acl->getId();
        $this->connection->executeQuery($this->getDeleteObjectIdentityRelationsSql($pk));
        $this->connection->executeQuery($this->getInsertObjectIdentityRelationSql($pk, $pk));

        $parentAcl = $acl->getParentAcl();
        while (null !== $parentAcl) {
            $this->connection->executeQuery($this->getInsertObjectIdentityRelationSql($pk, $parentAcl->getId()));

            $parentAcl = $parentAcl->getParentAcl();
        }
    }
private function regenerateAncestorRelations(AclInterface $acl)
    {
        $pk = $acl->getId();
        $this->connection->executeQuery($this->getDeleteObjectIdentityRelationsSql($pk));
        $this->connection->executeQuery($this->getInsertObjectIdentityRelationSql($pk, $pk));

        $parentAcl = $acl->getParentAcl();
        while (null !== $parentAcl) {
            $this->connection->executeQuery($this->getInsertObjectIdentityRelationSql($pk, $parentAcl->getId()));

            $parentAcl = $parentAcl->getParentAcl();
        }
    }
private function regenerateAncestorRelations ( AclInterface $ acl ) { $ pk = $ acl -> getId ( ) ; $ this -> connection -> executeQuery ( $ this -> getDeleteObjectIdentityRelationsSql ( $ pk ) ) ; $ this -> connection -> executeQuery ( $ this -> getInsertObjectIdentityRelationSql ( $ pk , $ pk ) ) ; $ parentAcl = $ acl -> getParentAcl ( ) ; while ( null !== $ parentAcl ) { $ this -> connection -> executeQuery ( $ this -> getInsertObjectIdentityRelationSql ( $ pk , $ parentAcl -> getId ( ) ) ) ; $ parentAcl = $ parentAcl -> getParentAcl ( ) ; } }
This regenerates the ancestor table which is used for fast read access.

@param AclInterface $acl
This regenerates the ancestor table which is used for fast read access .