package sklep.generated;

import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.ws.RequestWrapper;
import jakarta.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.5.2-jbossorg-4
 * 2023-05-24T16:08:33.561+02:00
 * Generated source version: 3.5.2-jbossorg-4
 *
 */
@WebService(targetNamespace = "http://soap.sklep/", name = "Sklep")
@XmlSeeAlso({ObjectFactory.class})
public interface Sklep {

    @WebMethod
    @RequestWrapper(localName = "foto", targetNamespace = "http://soap.sklep/", className = "sklep.generated.Foto")
    @ResponseWrapper(localName = "fotoResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.FotoResponse")
    @WebResult(name = "bytes", targetNamespace = "")
    public byte[] foto(

        @WebParam(name = "id", targetNamespace = "")
        int id
    ) throws RecordNotFound_Exception, DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "wszystkieProdukty", targetNamespace = "http://soap.sklep/", className = "sklep.generated.WszystkieProdukty")
    @ResponseWrapper(localName = "wszystkieProduktyResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.WszystkieProduktyResponse")
    @WebResult(name = "product", targetNamespace = "")
    public java.util.List<sklep.generated.Product> wszystkieProdukty()
 throws DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "zapiszProdukt", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszProdukt")
    @ResponseWrapper(localName = "zapiszProduktResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszProduktResponse")
    public void zapiszProdukt(

        @WebParam(name = "product", targetNamespace = "")
        sklep.generated.Product product
    ) throws DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "produktWgId", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ProduktWgId")
    @ResponseWrapper(localName = "produktWgIdResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ProduktWgIdResponse")
    @WebResult(name = "product", targetNamespace = "")
    public sklep.generated.Product produktWgId(

        @WebParam(name = "id", targetNamespace = "")
        int id
    ) throws RecordNotFound_Exception, DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "klient", targetNamespace = "http://soap.sklep/", className = "sklep.generated.Klient")
    @ResponseWrapper(localName = "klientResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.KlientResponse")
    @WebResult(name = "customer", targetNamespace = "")
    public sklep.generated.Customer klient(

        @WebParam(name = "email", targetNamespace = "")
        java.lang.String email
    ) throws RecordNotFound_Exception, DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "produktyWgCen", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ProduktyWgCen")
    @ResponseWrapper(localName = "produktyWgCenResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ProduktyWgCenResponse")
    @WebResult(name = "product", targetNamespace = "")
    public java.util.List<sklep.generated.Product> produktyWgCen(

        @WebParam(name = "min", targetNamespace = "")
        java.math.BigDecimal min,
        @WebParam(name = "max", targetNamespace = "")
        java.math.BigDecimal max
    ) throws DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "zamowienieWgId", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZamowienieWgId")
    @ResponseWrapper(localName = "zamowienieWgIdResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZamowienieWgIdResponse")
    @WebResult(name = "order", targetNamespace = "")
    public sklep.generated.Order zamowienieWgId(

        @WebParam(name = "id", targetNamespace = "")
        int id
    ) throws RecordNotFound_Exception, DBException_Exception;
}
