final class NeosAssetProxyRepository implements AssetProxyRepositoryInterface, SupportsSortingInterface, SupportsCollectionsInterface, SupportsTaggingInterface (View source)

Properties

protected ObjectManagerInterface $objectManager
protected EntityManagerInterface $entityManager

Methods

__construct(NeosAssetSource $assetSource)

No description

void
initializeObject()

No description

void
orderBy(array $orderings)

Sets the property names to order results by. Expected like this: array( 'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING, 'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING )

void
filterByType(AssetTypeFilter $assetType = null)

No description

void
filterByCollection(AssetCollection $assetCollection = null)

NOTE: This needs to be refactored to use an asset collection identifier instead of Media's domain model before it can become a public API for other asset sources.

getAssetProxy(string $identifier)

No description

findBySearchTerm(string $searchTerm)

No description

int
countAll()

No description

int
countUntagged()

No description

Details

__construct(NeosAssetSource $assetSource)

No description

Parameters

NeosAssetSource $assetSource

void initializeObject()

No description

Return Value

void

void orderBy(array $orderings)

Sets the property names to order results by. Expected like this: array( 'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING, 'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING )

Parameters

array $orderings

Return Value

void

void filterByType(AssetTypeFilter $assetType = null)

No description

Parameters

AssetTypeFilter $assetType

Return Value

void

void filterByCollection(AssetCollection $assetCollection = null)

NOTE: This needs to be refactored to use an asset collection identifier instead of Media's domain model before it can become a public API for other asset sources.

Parameters

AssetCollection $assetCollection

Return Value

void

AssetProxyInterface getAssetProxy(string $identifier)

No description

Parameters

string $identifier

Return Value

AssetProxyInterface

Exceptions

AssetNotFoundExceptionInterface

AssetProxyQueryResultInterface findBySearchTerm(string $searchTerm)

No description

Parameters

string $searchTerm

Return Value

AssetProxyQueryResultInterface

AssetProxyQueryResultInterface findByTag(Tag $tag)

No description

Parameters

Tag $tag

Return Value

AssetProxyQueryResultInterface

int countAll()

No description

Return Value

int

int countUntagged()

No description

Return Value

int