2023-08-24 00:42:01 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace OCA\GPodderSync\Db\EpisodeAction;
|
|
|
|
|
|
|
|
use OCP\AppFramework\Db\QBMapper;
|
|
|
|
use OCP\DB\Exception;
|
|
|
|
use OCP\IDBConnection;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @template-extends QBMapper<EpisodeActionEntity>
|
|
|
|
*/
|
|
|
|
class EpisodeActionMapper extends QBMapper
|
|
|
|
{
|
2023-12-23 17:50:52 +01:00
|
|
|
protected $tableName;
|
|
|
|
protected $entityClass;
|
|
|
|
protected $db;
|
|
|
|
|
2023-12-23 17:25:20 +01:00
|
|
|
public function __construct(IDBConnection $db) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return EpisodeActionEntity[]
|
|
|
|
* @throws Exception
|
|
|
|
*/
|
2023-12-23 17:25:20 +01:00
|
|
|
public function findAll(int $sinceTimestamp, string $userId) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return ?EpisodeActionEntity
|
|
|
|
*/
|
2023-12-23 17:25:20 +01:00
|
|
|
public function findByEpisodeUrl(string $episodeIdentifier, string $userId) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return ?EpisodeActionEntity
|
|
|
|
*/
|
2023-12-23 17:25:20 +01:00
|
|
|
public function findByGuid(string $guid, string $userId) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
}
|