public class CombinedFeedService extends Object implements CrudService<CombinedFeed>
| Constructor and Description |
|---|
CombinedFeedService(InMemoryDataStore datastore,
IdGenerator idGenerator,
String defaultRefreshPeriod) |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
delete(String feedId) |
CombinedFeed |
get(String feedId) |
List<CombinedFeed> |
getAll() |
CombinedFeed |
save(CombinedFeed insertedFeed) |
CombinedFeed |
update(CombinedFeed feed) |
@Inject public CombinedFeedService(InMemoryDataStore datastore, IdGenerator idGenerator, @Named(value="feed.default-refresh-period") String defaultRefreshPeriod)
public CombinedFeed save(CombinedFeed insertedFeed)
save in interface CrudService<CombinedFeed>insertedFeed - entity for savingpublic Serializable delete(String feedId)
delete in interface CrudService<CombinedFeed>feedId - id of the entity which should be deletedpublic CombinedFeed update(CombinedFeed feed)
update in interface CrudService<CombinedFeed>feed - entity which replace the previous onepublic CombinedFeed get(String feedId)
get in interface CrudService<CombinedFeed>feedId - id of the entity which should be restoredpublic List<CombinedFeed> getAll()
getAll in interface CrudService<CombinedFeed>Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.