Package org.cyclos.impl.banking
Interface CurrencyServiceLocal
-
- All Superinterfaces:
CRUDService<CurrencyDTO,CurrencyData,Void>,CRUDServiceLocal<Currency,CurrencyDTO,CurrencyData,Void>,CurrencyService,Service
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>listAll()List<Currency>listForAds(User forUser)List<Currency>listForAds(User forUser, boolean includeOtherCurrencies)Returns a list of currencies available to view ads between the given user and logged user.-
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
-
listForAds
List<Currency> listForAds(User forUser)
- Parameters:
forUser- The related user or logged user when null
-
listForAds
List<Currency> listForAds(User forUser, boolean includeOtherCurrencies)
Returns a list of currencies available to view ads between the given user and logged user.- Parameters:
forUser- The related user or logged user when nullincludeOtherCurrencies- For member/brokers: when true currencies from "View ads in other currencies" are included and logged user is not enforced to have the same account's currencies as the given user
-
-