android.arch.persistence.room.OnConflictStrategy Java Examples

The following examples show how to use android.arch.persistence.room.OnConflictStrategy. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TaskDao.java    From codeexamples-android with Eclipse Public License 1.0 4 votes vote down vote up
@Update(onConflict = OnConflictStrategy.REPLACE)
void updateTask(Task task);
 
Example #2
Source File: BlockUrlProviderDao.java    From SABS with MIT License 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
long[] insertAll(BlockUrlProvider... urlProviders);
 
Example #3
Source File: FirewallWhitelistedPackageDao.java    From SABS with MIT License 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insertAll(List<FirewallWhitelistedPackage> firewallWhitelistedPackages);
 
Example #4
Source File: UserDao.java    From AndroidBlueprints with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void saveLoggedUser(UserToken userToken);
 
Example #5
Source File: MessageDao.java    From AndroidBlueprints with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
List<Long> saveMessages(List<Message> messages);
 
Example #6
Source File: UserDao.java    From NewAndroidArchitecture-Component-Github with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insert(UserLocal user);
 
Example #7
Source File: LogcatDao.java    From Fairy with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insertLogcatItem(LogcatItem item);
 
Example #8
Source File: UserDao.java    From Android-Debug-Database with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insert(User user);
 
Example #9
Source File: BitsharesDao.java    From bitshares_wallet with MIT License 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insertHistoryObject(List<BitsharesOperationHistory> bitsharesOperationHistoryList);
 
Example #10
Source File: CityDao.java    From GracefulMovies with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public abstract void insert(CityEntity city);
 
Example #11
Source File: UserDao.java    From Android-Debug-Database with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insertAll(List<User> users);
 
Example #12
Source File: CommentDao.java    From OfflineSampleApp with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
long add(Comment comment);
 
Example #13
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquakes(List<Earthquake> earthquakes);
 
Example #14
Source File: IpMessageDao.java    From ShareBox with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insert(IpMessage sms);
 
Example #15
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquakes(List<Earthquake> earthquakes);
 
Example #16
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquakes(List<Earthquake> earthquakes);
 
Example #17
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquakes(List<Earthquake> earthquakes);
 
Example #18
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquake(Earthquake earthquake);
 
Example #19
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquakes(List<Earthquake> earthquakes);
 
Example #20
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquake(Earthquake earthquake);
 
Example #21
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquakes(List<Earthquake> earthquakes);
 
Example #22
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquake(Earthquake earthquake);
 
Example #23
Source File: IpMessageDao.java    From ShareBox with Apache License 2.0 4 votes vote down vote up
@Update(onConflict = OnConflictStrategy.REPLACE)
void update(IpMessage sms);
 
Example #24
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquake(Earthquake earthquake);
 
Example #25
Source File: WeatherDAO.java    From AndroidNewArchitectureExample with MIT License 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void save(Weather weather);
 
Example #26
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquake(Earthquake earthquake);
 
Example #27
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquakes(List<Earthquake> earthquakes);
 
Example #28
Source File: EarthquakeDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertEarthquake(Earthquake earthquake);
 
Example #29
Source File: BitsharesDao.java    From bitshares_wallet with MIT License 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insertAssetObject(List<BitsharesAssetObject> bitsharesAssetObjectList);
 
Example #30
Source File: HoardDAO.java    From Wrox-ProfessionalAndroid-4E with Apache License 2.0 4 votes vote down vote up
@Insert(onConflict = OnConflictStrategy.REPLACE)
public void insertHoards(List<Hoard> hoards);