Class LoadAddressHelper

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    LoadAddress

    public class LoadAddressHelper
    extends ServiceProviderHelper<ModelAddress>
    LoadAddressHelper, version : 1.0.0 author: fugerit warning!: auto generated object, insert custom code only between comments : // custom code start ( code above here will be overwritten ) // custom code end ( code below here will be overwritten )
    See Also:
    Serialized Form
    • Constructor Detail

      • LoadAddressHelper

        public LoadAddressHelper()
    • Method Detail

      • loadByIdWorker

        public static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelAddress> loadByIdWorker​(org.fugerit.java.core.db.daogen.DAOContext context,
                                                                                                       BigDecimal id)
                                                                                                throws org.fugerit.java.core.db.dao.DAOException
        Throws:
        org.fugerit.java.core.db.dao.DAOException
      • getByID

        @GET
        @Path("/id/{id}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getByID​(@PathParam("id")
                                                 String id)
                                          throws Exception
        Throws:
        Exception
      • loadByIdDeepWorker

        public static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelAddress> loadByIdDeepWorker​(org.fugerit.java.core.db.daogen.DAOContext context,
                                                                                                           BigDecimal id)
                                                                                                    throws org.fugerit.java.core.db.dao.DAOException
        Throws:
        org.fugerit.java.core.db.dao.DAOException
      • getByIDdeep

        @GET
        @Path("/deep/id/{id}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getByIDdeep​(@PathParam("id")
                                                     String id)
                                              throws Exception
        Throws:
        Exception
      • getAll

        @GET
        @Path("/all")
        @Produces("application/json")
        public javax.ws.rs.core.Response getAll()
                                         throws Exception
        Throws:
        Exception
      • loadByModelWorker

        public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelAddress>> loadByModelWorker​(org.fugerit.java.core.db.daogen.DAOContext context,
                                                                                                                ModelAddress model)
                                                                                                         throws org.fugerit.java.core.db.dao.DAOException
        Service method to load entity of type ModelAddress. Property ModelAddress is being used as filter
        Parameters:
        context - DAO context
        model - Tee value of property ModelAddress to use as a filter
        Returns:
        the result found
        Throws:
        org.fugerit.java.core.db.dao.DAOException - in case of any issue
      • loadByIdUser

        public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelAddress>> loadByIdUser​(org.fugerit.java.core.db.daogen.DAOContext context,
                                                                                                           BigDecimal current)
                                                                                                    throws org.fugerit.java.core.db.dao.DAOException
        Service method to load entity of type ModelAddress. Property idUser is being used as filter
        Parameters:
        context - DAO context
        current - Tee value of property idUser to use as a filter
        Returns:
        the result found
        Throws:
        org.fugerit.java.core.db.dao.DAOException - in case of any issue
      • getAllIdUser

        @GET
        @Path("/id_user/{id_user}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getAllIdUser​(@PathParam("id_user")
                                                      String idUser)
                                               throws Exception
        Throws:
        Exception
      • loadByInfo

        public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelAddress>> loadByInfo​(org.fugerit.java.core.db.daogen.DAOContext context,
                                                                                                         String current)
                                                                                                  throws org.fugerit.java.core.db.dao.DAOException
        Service method to load entity of type ModelAddress. Property info is being used as filter
        Parameters:
        context - DAO context
        current - Tee value of property info to use as a filter
        Returns:
        the result found
        Throws:
        org.fugerit.java.core.db.dao.DAOException - in case of any issue
      • getAllInfo

        @GET
        @Path("/info/{info}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getAllInfo​(@PathParam("info")
                                                    String info)
                                             throws Exception
        Throws:
        Exception