CoreFiles by mySites.guru
EntryManagerInterface.php64 lines, 1,554 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
893a138305bef66fecd32ed5e86d7363
sha1
66eb4727979e1480367265b9811c7d2536a88ed7
sha256
e2a20e9f836c11464ad1ac8e842d474ab90d84b61526d78f0717f6adcc303a6d
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Ldap\Adapter;

use Symfony\Component\Ldap\Entry;
use Symfony\Component\Ldap\Exception\LdapException;
use Symfony\Component\Ldap\Exception\NotBoundException;

/**
 * @author Charles Sarrazin <[email protected]>
 * @author Bob van de Vijver <[email protected]>
 * @author Kevin Schuurmans <[email protected]>
 */
interface EntryManagerInterface
{
    /**
     * Adds a new entry in the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function add(Entry $entry);

    /**
     * Updates an entry from the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function update(Entry $entry);

    /**
     * Moves an entry on the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function move(Entry $entry, string $newParent);

    /**
     * Renames an entry on the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function rename(Entry $entry, string $newRdn, bool $removeOldRdn = true);

    /**
     * Removes an entry from the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function remove(Entry $entry);
}

The same content is in 132 releases, Joomla 4.0.0-beta to 5.0.0-alpha1. See them all, or every version of this file.