Method |
Description |
|
add ( Neos\Media\Domain\Model\AssetInterface $object ) |
|
|
countAll ( ) : integer |
|
|
countByAssetCollection ( AssetCollection $assetCollection ) : integer |
Count assets by asset collection |
|
countByTag ( Tag $tag, AssetCollection $assetCollection = null ) : integer |
Counts Assets with the given Tag assigned |
|
countUntagged ( AssetCollection $assetCollection = null ) : integer |
Counts Assets without any tag |
|
findAll ( AssetCollection $assetCollection = null ) : Neos\Flow\Persistence\QueryResultInterface |
|
|
findAllIterator ( ) : Doctrine\ORM\Internal\Hydration\IterableResult |
Find all objects and return an IterableResult |
|
findByAssetCollection ( AssetCollection $assetCollection ) : Neos\Flow\Persistence\QueryResultInterface |
|
|
findBySearchTermOrTags ( string $searchTerm, array $tags = [], AssetCollection $assetCollection = null ) : Neos\Flow\Persistence\QueryResultInterface |
Find assets by title or given tags |
|
findByTag ( Tag $tag, AssetCollection $assetCollection = null ) : Neos\Flow\Persistence\QueryResultInterface |
Find Assets with the given Tag assigned |
|
findOneByResourceSha1 ( string $sha1 ) : Neos\Media\Domain\Model\AssetInterface | null |
|
|
findUntagged ( AssetCollection $assetCollection = null ) : Neos\Flow\Persistence\QueryResultInterface |
Find Assets without any tag |
|
iterate ( Doctrine\ORM\Internal\Hydration\IterableResult $iterator, callable $callback = null ) : Generator |
Iterate over an IterableResult and return a Generator |
|
remove ( Neos\Media\Domain\Model\AssetInterface $object ) : void |
Remove an asset while first validating if the object can be removed or
if removal is blocked because the asset is still in use. |
|
removeWithoutUsageChecks ( Neos\Media\Domain\Model\AssetInterface $object ) : void |
Remove the asset even if it is still in use. Use with care, it is probably
better to first make sure the asset is not used anymore and then use
the remove() method for removal. |
|
update ( Neos\Media\Domain\Model\AssetInterface $object ) |
|
|