1 | <?php |
||
17 | class ExceptionConversion extends Gateway |
||
18 | { |
||
19 | /** |
||
20 | * The wrapped gateway. |
||
21 | * |
||
22 | * @var \eZ\Publish\Core\Persistence\Legacy\Bookmark\Gateway |
||
23 | */ |
||
24 | protected $innerGateway; |
||
25 | |||
26 | /** |
||
27 | * ExceptionConversion constructor. |
||
28 | * |
||
29 | * @param \eZ\Publish\Core\Persistence\Legacy\Bookmark\Gateway $innerGateway |
||
30 | */ |
||
31 | public function __construct(Gateway $innerGateway) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function insertBookmark(Bookmark $bookmark): int |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function deleteBookmark(int $id): void |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function loadBookmarkDataByUserIdAndLocationId(int $userId, array $locationId): array |
||
71 | |||
72 | /** |
||
73 | * {@inheritdoc} |
||
74 | */ |
||
75 | public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1): array |
||
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | public function countUserBookmarks(int $userId): int |
||
95 | } |
||
96 |