2023-08-23 22:42:01 +00: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 16:50:52 +00:00
|
|
|
protected $tableName;
|
|
|
|
protected $entityClass;
|
|
|
|
protected $db;
|
|
|
|
|
2023-12-23 16:25:20 +00:00
|
|
|
public function __construct(IDBConnection $db) {}
|
2023-08-23 22:42:01 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return EpisodeActionEntity[]
|
|
|
|
* @throws Exception
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function findAll(int $sinceTimestamp, string $userId) {}
|
2023-08-23 22:42:01 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return ?EpisodeActionEntity
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function findByEpisodeUrl(string $episodeIdentifier, string $userId) {}
|
2023-08-23 22:42:01 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return ?EpisodeActionEntity
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function findByGuid(string $guid, string $userId) {}
|
2023-08-23 22:42:01 +00:00
|
|
|
}
|