mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-07 06:29:42 +00:00
Partage d'export enregistré et génération asynchrone des exports
This commit is contained in:
@@ -20,6 +20,9 @@ use Doctrine\Persistence\ObjectRepository;
|
||||
*/
|
||||
interface SavedExportRepositoryInterface extends ObjectRepository
|
||||
{
|
||||
public const FILTER_TITLE = 0x01;
|
||||
public const FILTER_DESCRIPTION = 0x10;
|
||||
|
||||
public function find($id): ?SavedExport;
|
||||
|
||||
/**
|
||||
@@ -34,6 +37,15 @@ interface SavedExportRepositoryInterface extends ObjectRepository
|
||||
*/
|
||||
public function findByUser(User $user, ?array $orderBy = [], ?int $limit = null, ?int $offset = null): array;
|
||||
|
||||
/**
|
||||
* Get the saved export created by and the user and the ones shared with the user.
|
||||
*
|
||||
* @param array<int, mixed> $filters filters where keys are one of the constant starting with FILTER_
|
||||
*
|
||||
* @return list<SavedExport>
|
||||
*/
|
||||
public function findSharedWithUser(User $user, ?array $orderBy = [], ?int $limit = null, ?int $offset = null, array $filters = []): array;
|
||||
|
||||
public function findOneBy(array $criteria): ?SavedExport;
|
||||
|
||||
public function getClassName(): string;
|
||||
|
||||
Reference in New Issue
Block a user