Package org.cyclos.impl.banking
Interface VoucherTypeServiceLocal
-
- All Superinterfaces:
CRUDService<VoucherTypeDTO,VoucherTypeData,ConfigurationVO>,CRUDServiceLocal<VoucherType,VoucherTypeDTO,VoucherTypeData,ConfigurationVO>,Service,VoucherTypeService
public interface VoucherTypeServiceLocal extends VoucherTypeService, CRUDServiceLocal<VoucherType,VoucherTypeDTO,VoucherTypeData,ConfigurationVO>
Local interface forVoucherTypeService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VoucherTypefindAny()Finds any of the voucher types or null otherwiseList<VoucherType>listEnabledByConfiguration(Collection<VoucherConfiguration> configurations, Boolean allowBuying)Returns the voucher types that are enabled and not expired belonging to the given configurations, optionally filtering by allow buying.List<VoucherType>listForSearchFilterByConfiguration(Collection<VoucherConfiguration> configurations)Returns the voucher types, regardless have expired or not, belonging to the given configurations.-
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.VoucherTypeService
getListData, list
-
-
-
-
Method Detail
-
findAny
VoucherType findAny()
Finds any of the voucher types or null otherwise
-
listEnabledByConfiguration
List<VoucherType> listEnabledByConfiguration(Collection<VoucherConfiguration> configurations, Boolean allowBuying)
Returns the voucher types that are enabled and not expired belonging to the given configurations, optionally filtering by allow buying.
-
listForSearchFilterByConfiguration
List<VoucherType> listForSearchFilterByConfiguration(Collection<VoucherConfiguration> configurations)
Returns the voucher types, regardless have expired or not, belonging to the given configurations. For admins it will return both enabled and disabled types
-
-