Class LoadUserDataHelper
- 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<ModelUserData>
-
- org.fugerit.java.daogen.sample.impl.rest.load.LoadUserDataHelper
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LoadUserData
public class LoadUserDataHelper extends ServiceProviderHelper<ModelUserData>
LoadUserDataHelper, 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 LoadUserDataHelper()
-
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
getAllPassword(String password)
javax.ws.rs.core.Response
getAllState(String state)
javax.ws.rs.core.Response
getAllUsername(String username)
javax.ws.rs.core.Response
getByID(String id)
javax.ws.rs.core.Response
getByIDdeep(String id)
static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelUserData>
loadByIdDeepWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal id)
static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelUserData>
loadByIdWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal id)
static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUserData>>
loadByModelWorker(org.fugerit.java.core.db.daogen.DAOContext context, ModelUserData model)
Service method to load entity of type ModelUserData.static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUserData>>
loadByPassword(org.fugerit.java.core.db.daogen.DAOContext context, String current)
Service method to load entity of type ModelUserData.static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUserData>>
loadByState(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal current)
Service method to load entity of type ModelUserData.static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUserData>>
loadByUsername(org.fugerit.java.core.db.daogen.DAOContext context, String current)
Service method to load entity of type ModelUserData.-
Methods inherited from class org.fugerit.java.daogen.sample.helper.ServiceProviderHelper
newDefaultContext
-
-
-
-
Method Detail
-
loadByIdWorker
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelUserData> 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<ModelUserData> 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<ModelUserData>> loadByModelWorker(org.fugerit.java.core.db.daogen.DAOContext context, ModelUserData model) throws org.fugerit.java.core.db.dao.DAOException
Service method to load entity of type ModelUserData. Property ModelUserData is being used as filter- Parameters:
context
- DAO contextmodel
- Tee value of property ModelUserData to use as a filter- Returns:
- the result found
- Throws:
org.fugerit.java.core.db.dao.DAOException
- in case of any issue
-
loadByUsername
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUserData>> loadByUsername(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 ModelUserData. Property username is being used as filter- Parameters:
context
- DAO contextcurrent
- Tee value of property username to use as a filter- Returns:
- the result found
- Throws:
org.fugerit.java.core.db.dao.DAOException
- in case of any issue
-
getAllUsername
@GET @Path("/username/{username}") @Produces("application/json") public javax.ws.rs.core.Response getAllUsername(@PathParam("username") String username) throws Exception
- Throws:
Exception
-
loadByPassword
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUserData>> loadByPassword(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 ModelUserData. Property password is being used as filter- Parameters:
context
- DAO contextcurrent
- Tee value of property password to use as a filter- Returns:
- the result found
- Throws:
org.fugerit.java.core.db.dao.DAOException
- in case of any issue
-
getAllPassword
@GET @Path("/password/{password}") @Produces("application/json") public javax.ws.rs.core.Response getAllPassword(@PathParam("password") String password) throws Exception
- Throws:
Exception
-
loadByState
public static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUserData>> loadByState(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 ModelUserData. Property state is being used as filter- Parameters:
context
- DAO contextcurrent
- Tee value of property state to use as a filter- Returns:
- the result found
- Throws:
org.fugerit.java.core.db.dao.DAOException
- in case of any issue
-
-