Package org.cyclos.impl.banking
Interface CurrencyServiceLocal
-
- All Superinterfaces:
CRUDService<CurrencyDTO,CurrencyData,Void>,CRUDServiceLocal<Currency,CurrencyDTO,CurrencyData,Void>,CurrencyService,Service
- All Known Implementing Classes:
CurrencyServiceImpl
public interface CurrencyServiceLocal extends CurrencyService, CRUDServiceLocal<Currency,CurrencyDTO,CurrencyData,Void>
Local interface forCurrencyService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Currency>listAccessible(Collection<? extends BasicGroup> basicGroups)Returns a list of currencies visible to the given groups, or an empty list if null/empty collection is passed.List<Currency>listAccessible(User user)Returns a list of currencies visible to the given user, or an empty list if null is passed.List<Currency>listForViewingAds(User user)Returns a list of currencies available to view ads for the given user, or an empty list if null is passed.List<Currency>listOnThisNetwork()Returns a list of currencies exactly on this network - excludes global currencies if on network, or return global currencies if on global mode-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
Methods inherited from interface org.cyclos.services.banking.CurrencyService
list
-
-
-
-
Method Detail
-
listAccessible
List<Currency> listAccessible(Collection<? extends BasicGroup> basicGroups)
Returns a list of currencies visible to the given groups, or an empty list if null/empty collection is passed.
-
listAccessible
List<Currency> listAccessible(User user)
Returns a list of currencies visible to the given user, or an empty list if null is passed.
-
listForViewingAds
List<Currency> listForViewingAds(User user)
Returns a list of currencies available to view ads for the given user, or an empty list if null is passed.
-
-