| author | Da Risk <da_risk@geekorum.com> |
| Thu, 21 Feb 2019 13:35:36 -0800 | |
| changeset 92 | 68956a90c44e |
| parent 34 | ff311c97b464 |
| child 137 | 5464f07a306c |
| permissions | -rw-r--r-- |
| 0 | 1 |
/** |
2 |
* Geekttrss is a RSS feed reader application on the Android Platform. |
|
3 |
* |
|
4 |
* Copyright (C) 2017-2018 by Frederic-Charles Barthelery. |
|
5 |
* |
|
6 |
* This file is part of Geekttrss. |
|
7 |
* |
|
8 |
* Geekttrss is free software: you can redistribute it and/or modify |
|
9 |
* it under the terms of the GNU General Public License as published by |
|
10 |
* the Free Software Foundation, either version 3 of the License, or |
|
11 |
* (at your option) any later version. |
|
12 |
* |
|
13 |
* Geekttrss is distributed in the hope that it will be useful, |
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
* GNU General Public License for more details. |
|
17 |
* |
|
18 |
* You should have received a copy of the GNU General Public License |
|
19 |
* along with Geekttrss. If not, see <http://www.gnu.org/licenses/>. |
|
20 |
*/ |
|
21 |
package com.geekorum.ttrss.data; |
|
22 |
||
23 |
import androidx.room.Database; |
|
24 |
import androidx.room.RoomDatabase; |
|
25 |
import com.geekorum.ttrss.providers.ArticlesProvidersDao; |
|
26 |
||
|
21
a2cca507ce9f
data: Add a Full Text search virtual table for Articles
Da Risk <da_risk@geekorum.com>
parents:
11
diff
changeset
|
27 |
@Database(entities = {Article.class, ArticleFTS.class,
|
|
a2cca507ce9f
data: Add a Full Text search virtual table for Articles
Da Risk <da_risk@geekorum.com>
parents:
11
diff
changeset
|
28 |
Category.class, Feed.class, Transaction.class}, |
|
92
68956a90c44e
Database: Tweak some foreign key constraints
Da Risk <da_risk@geekorum.com>
parents:
34
diff
changeset
|
29 |
version = 7) |
| 0 | 30 |
public abstract class ArticlesDatabase extends RoomDatabase {
|
31 |
||
32 |
public static final String DATABASE_NAME = "room_articles.db"; |
|
33 |
||
34 |
public abstract ArticleDao articleDao(); |
|
35 |
||
36 |
public abstract TransactionsDao transactionsDao(); |
|
37 |
||
38 |
public abstract SynchronizationDao synchronizationDao(); |
|
39 |
||
40 |
public abstract ArticlesProvidersDao articlesProvidersDao(); |
|
41 |
||
42 |
public abstract FeedsDao feedsDao(); |
|
43 |
} |