public class LocationErrorsService extends Object implements MagalieService
| Modifier and Type | Field and Description |
|---|---|
protected MagalieServiceContext |
serviceContext |
| Constructor and Description |
|---|
LocationErrorsService() |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<StoredArticle> |
filterLocationInError(Iterable<StoredArticle> storedArticles) |
List<LocationError> |
getAllLocationErrors() |
protected com.google.common.base.Predicate<Location> |
getLocationNotReportedInErrorPredicate(Article article) |
void |
reportError(Location location,
Article article,
MagalieUser magalieUser) |
void |
reportError(Location location,
Article article,
MagalieUser magalieUser,
Date reportDate) |
void |
reportError(String storedArticleId,
MagalieUser magalieUser) |
void |
setServiceContext(MagalieServiceContext serviceContext) |
protected MagalieServiceContext serviceContext
public void setServiceContext(MagalieServiceContext serviceContext)
setServiceContext in interface MagalieServicepublic void reportError(Location location, Article article, MagalieUser magalieUser)
public void reportError(String storedArticleId, MagalieUser magalieUser)
public void reportError(Location location, Article article, MagalieUser magalieUser, Date reportDate)
public List<LocationError> getAllLocationErrors()
protected com.google.common.base.Predicate<Location> getLocationNotReportedInErrorPredicate(Article article)
protected Iterable<StoredArticle> filterLocationInError(Iterable<StoredArticle> storedArticles)
Copyright © 2013 CodeLutin. All rights reserved.