Class LoadAddressHelper
- java.lang.Object
-
- org.fugerit.java.core.db.daogen.BasicHelper
-
- org.fugerit.java.core.db.daogen.SimpleServiceProvider<T>
-
- org.fugerit.java.daogen.sample.helper.ServiceProviderHelper<ModelAddress>
-
- org.fugerit.java.daogen.sample.impl.rest.load.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 Summary
Constructors Constructor Description LoadAddressHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getAll()
javax.ws.rs.core.Response
getAllIdUser(String idUser)
javax.ws.rs.core.Response
getAllInfo(String info)
javax.ws.rs.core.Response
getByID(String id)
javax.ws.rs.core.Response
getByIDdeep(String id)
static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelAddress>
loadByIdDeepWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal id)
static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelAddress>>
loadByIdUser(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal current)
Service method to load entity of type ModelAddress.static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelAddress>
loadByIdWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal id)
static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelAddress>>
loadByInfo(org.fugerit.java.core.db.daogen.DAOContext context, String current)
Service method to load entity of type ModelAddress.static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelAddress>>
loadByModelWorker(org.fugerit.java.core.db.daogen.DAOContext context, ModelAddress model)
Service method to load entity of type ModelAddress.-
Methods inherited from class org.fugerit.java.daogen.sample.helper.ServiceProviderHelper
newDefaultContext
-
-
-
-
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 contextmodel
- 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 contextcurrent
- 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 contextcurrent
- 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
-
-