Class LoadUserHelper

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<ModelUser>
org.fugerit.java.daogen.sample.impl.rest.load.LoadUserHelper
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LoadUser

public class LoadUserHelper extends ServiceProviderHelper<ModelUser>
LoadUserHelper, 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
     
    javax.ws.rs.core.Response
     
    javax.ws.rs.core.Response
     
    javax.ws.rs.core.Response
     
    javax.ws.rs.core.Response
     
    javax.ws.rs.core.Response
     
    static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelUser>
    loadByIdDeepWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal id)
     
    static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelUser>
    loadByIdWorker(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal id)
     
    static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUser>>
    loadByModelWorker(org.fugerit.java.core.db.daogen.DAOContext context, ModelUser model)
    Service method to load entity of type ModelUser.
    static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUser>>
    loadByPassword(org.fugerit.java.core.db.daogen.DAOContext context, String current)
    Service method to load entity of type ModelUser.
    static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUser>>
    loadByState(org.fugerit.java.core.db.daogen.DAOContext context, BigDecimal current)
    Service method to load entity of type ModelUser.
    static org.fugerit.java.core.db.daogen.SimpleServiceResult<List<ModelUser>>
    loadByUsername(org.fugerit.java.core.db.daogen.DAOContext context, String current)
    Service method to load entity of type ModelUser.

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoadUserHelper

      public LoadUserHelper()
  • Method Details

    • loadByIdWorker

      public static org.fugerit.java.core.db.daogen.SimpleServiceResult<ModelUser> 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<ModelUser> 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<ModelUser>> loadByModelWorker(org.fugerit.java.core.db.daogen.DAOContext context, ModelUser model) throws org.fugerit.java.core.db.dao.DAOException
      Service method to load entity of type ModelUser. Property ModelUser is being used as filter
      Parameters:
      context - DAO context
      model - Tee value of property ModelUser 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<ModelUser>> 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 ModelUser. Property username is being used as filter
      Parameters:
      context - DAO context
      current - 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<ModelUser>> 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 ModelUser. Property password is being used as filter
      Parameters:
      context - DAO context
      current - 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<ModelUser>> 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 ModelUser. Property state is being used as filter
      Parameters:
      context - DAO context
      current - 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
    • getAllState

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