"Fossies" - the Fresh Open Source Software Archive

Member "neos-development-collection-7.0.1/Neos.Media/Classes/Domain/Model/AssetSource/AssetProxyRepositoryInterface.php" (23 Feb 2021, 1679 Bytes) of package /linux/www/neos-development-collection-7.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "AssetProxyRepositoryInterface.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 namespace Neos\Media\Domain\Model\AssetSource;
    3 
    4 /*
    5  * This file is part of the Neos.Media package.
    6  *
    7  * (c) Contributors of the Neos Project - www.neos.io
    8   *
    9  * This package is Open Source Software. For the full copyright and license
   10  * information, please view the LICENSE file which was distributed with this
   11  * source code.
   12  */
   13 
   14 use Neos\Media\Domain\Model\AssetSource\AssetProxy\AssetProxyInterface;
   15 use Neos\Media\Domain\Model\Tag;
   16 
   17 interface AssetProxyRepositoryInterface
   18 {
   19     /**
   20      * @param string $identifier
   21      * @return AssetProxyInterface
   22      * @throws AssetNotFoundExceptionInterface
   23      * @throws AssetSourceConnectionExceptionInterface
   24      */
   25     public function getAssetProxy(string $identifier): AssetProxyInterface;
   26 
   27     /**
   28      * @param AssetTypeFilter $assetType
   29      */
   30     public function filterByType(AssetTypeFilter $assetType = null): void;
   31 
   32     /**
   33      * @return AssetProxyQueryResultInterface
   34      * @throws AssetSourceConnectionExceptionInterface
   35      */
   36     public function findAll(): AssetProxyQueryResultInterface;
   37 
   38     /**
   39      * @param string $searchTerm
   40      * @return AssetProxyQueryResultInterface
   41      */
   42     public function findBySearchTerm(string $searchTerm): AssetProxyQueryResultInterface;
   43 
   44     /**
   45      * @param Tag $tag
   46      * @return AssetProxyQueryResultInterface
   47      */
   48     public function findByTag(Tag $tag): AssetProxyQueryResultInterface;
   49 
   50     /**
   51      * @return AssetProxyQueryResultInterface
   52      */
   53     public function findUntagged(): AssetProxyQueryResultInterface;
   54 
   55     /**
   56      * Count all assets, regardless of tag or collection
   57      *
   58      * @return int
   59      */
   60     public function countAll(): int;
   61 }