Class LoadTestTwoFieldKeyHelper
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<ModelTestTwoFieldKey>
org.fugerit.java.daogen.sample.impl.rest.load.LoadTestTwoFieldKeyHelper
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LoadTestTwoFieldKey
LoadTestTwoFieldKeyHelper, 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:
-
Field Summary
Fields inherited from class org.fugerit.java.core.db.daogen.SimpleServiceProvider
logger, SDF_ISO_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getAll()
javax.ws.rs.core.Response
getAllIdOne
(String idOne) javax.ws.rs.core.Response
getAllIdTwo
(String idTwo) javax.ws.rs.core.Response
getAllInfo
(String info) javax.ws.rs.core.Response
javax.ws.rs.core.Response
getByIDdeep
(String idOne, String idTwo) static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelTestTwoFieldKey>
loadByIdDeepWorker
(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal idOne, BigDecimal idTwo) static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelTestTwoFieldKey>>
loadByIdOne
(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal current) Service method to load entity of type ModelTestTwoFieldKey.static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelTestTwoFieldKey>>
loadByIdTwo
(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal current) Service method to load entity of type ModelTestTwoFieldKey.static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelTestTwoFieldKey>
loadByIdWorker
(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal idOne, BigDecimal idTwo) static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelTestTwoFieldKey>>
loadByInfo
(org.fugerit.java.core.db.daogen.DAOContext context, String current) Service method to load entity of type ModelTestTwoFieldKey.static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelTestTwoFieldKey>>
loadByModelWorker
(org.fugerit.java.core.db.daogen.DAOContext context, ModelTestTwoFieldKey model) Service method to load entity of type ModelTestTwoFieldKey.Methods inherited from class org.fugerit.java.daogen.sample.helper.ServiceProviderHelper
newDefaultContext
Methods inherited from class org.fugerit.java.core.db.daogen.SimpleServiceProvider
createResponseFromList, createResponseFromObject, createResultFromList, createResultFromObject, defaultConvertToUtilDate, throwDAOException
Methods inherited from class org.fugerit.java.core.db.daogen.BasicHelper
throwUnsupported, throwUnsupported
-
Constructor Details
-
LoadTestTwoFieldKeyHelper
public LoadTestTwoFieldKeyHelper()
-
-
Method Details
-
loadByIdWorker
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelTestTwoFieldKey> loadByIdWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal idOne, BigDecimal idTwo) throws org.fugerit.java.core.db.dao.DAOException - Throws:
org.fugerit.java.core.db.dao.DAOException
-
getByID
@GET @Path("/idOne/{idOne}/idTwo/{idTwo}") @Produces("application/json") public javax.ws.rs.core.Response getByID(@PathParam("idOne") String idOne, @PathParam("idTwo") String idTwo) throws Exception - Throws:
Exception
-
loadByIdDeepWorker
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelTestTwoFieldKey> loadByIdDeepWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal idOne, BigDecimal idTwo) throws org.fugerit.java.core.db.dao.DAOException - Throws:
org.fugerit.java.core.db.dao.DAOException
-
getByIDdeep
@GET @Path("/deep/idOne/{idOne}/idTwo/{idTwo}") @Produces("application/json") public javax.ws.rs.core.Response getByIDdeep(@PathParam("idOne") String idOne, @PathParam("idTwo") String idTwo) 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<ModelTestTwoFieldKey>> loadByModelWorker(org.fugerit.java.core.db.daogen.DAOContext context, ModelTestTwoFieldKey model) throws org.fugerit.java.core.db.dao.DAOException Service method to load entity of type ModelTestTwoFieldKey. Property ModelTestTwoFieldKey is being used as filter- Parameters:
context
- DAO contextmodel
- Tee value of property ModelTestTwoFieldKey to use as a filter- Returns:
- the result found
- Throws:
org.fugerit.java.core.db.dao.DAOException
- in case of any issue
-
loadByIdOne
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelTestTwoFieldKey>> loadByIdOne(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 ModelTestTwoFieldKey. Property idOne is being used as filter- Parameters:
context
- DAO contextcurrent
- Tee value of property idOne to use as a filter- Returns:
- the result found
- Throws:
org.fugerit.java.core.db.dao.DAOException
- in case of any issue
-
getAllIdOne
@GET @Path("/id_one/{id_one}") @Produces("application/json") public javax.ws.rs.core.Response getAllIdOne(@PathParam("id_one") String idOne) throws Exception - Throws:
Exception
-
loadByIdTwo
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelTestTwoFieldKey>> loadByIdTwo(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 ModelTestTwoFieldKey. Property idTwo is being used as filter- Parameters:
context
- DAO contextcurrent
- Tee value of property idTwo to use as a filter- Returns:
- the result found
- Throws:
org.fugerit.java.core.db.dao.DAOException
- in case of any issue
-
getAllIdTwo
@GET @Path("/id_two/{id_two}") @Produces("application/json") public javax.ws.rs.core.Response getAllIdTwo(@PathParam("id_two") String idTwo) throws Exception - Throws:
Exception
-
loadByInfo
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelTestTwoFieldKey>> 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 ModelTestTwoFieldKey. 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
-
getAllInfo
@GET @Path("/info/{info}") @Produces("application/json") public javax.ws.rs.core.Response getAllInfo(@PathParam("info") String info) throws Exception - Throws:
Exception
-