Class SpecificUserResource

java.lang.Object
ch.software_atelier.simpleflex.rest.DefaultRestResource
ch.software_atelier.simpleflex.rest.auth.rres.SpecificUserResource
All Implemented Interfaces:
ch.software_atelier.simpleflex.rest.RestResource

public class SpecificUserResource extends ch.software_atelier.simpleflex.rest.DefaultRestResource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    docDELETE(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
     
    void
    docGET(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
     
    void
    docPUT(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
     
    ch.software_atelier.simpleflex.rest.RestResponse
    onDELETE(ch.software_atelier.simpleflex.rest.RestRequest request)
     
    ch.software_atelier.simpleflex.rest.RestResponse
    onGET(ch.software_atelier.simpleflex.rest.RestRequest request)
    Returns the User Information and the realms if the user is an admin of if he retrieves his own information.
    ch.software_atelier.simpleflex.rest.RestResponse
    onPUT(ch.software_atelier.simpleflex.rest.RestRequest request)
    The User can change his password, if he knows the old one.

    Methods inherited from class ch.software_atelier.simpleflex.rest.DefaultRestResource

    addSimplePropertie, docHEAD, docOPTIONS, docPATCH, docPOST, onHEAD, onOPTIONS, onPATCH, onPOST

    Methods inherited from class java.lang.Object

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

  • Method Details

    • onGET

      public ch.software_atelier.simpleflex.rest.RestResponse onGET(ch.software_atelier.simpleflex.rest.RestRequest request)
      Returns the User Information and the realms if the user is an admin of if he retrieves his own information.
      Specified by:
      onGET in interface ch.software_atelier.simpleflex.rest.RestResource
      Overrides:
      onGET in class ch.software_atelier.simpleflex.rest.DefaultRestResource
    • docGET

      public void docGET(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
      Specified by:
      docGET in interface ch.software_atelier.simpleflex.rest.RestResource
      Overrides:
      docGET in class ch.software_atelier.simpleflex.rest.DefaultRestResource
    • onDELETE

      public ch.software_atelier.simpleflex.rest.RestResponse onDELETE(ch.software_atelier.simpleflex.rest.RestRequest request)
      Specified by:
      onDELETE in interface ch.software_atelier.simpleflex.rest.RestResource
      Overrides:
      onDELETE in class ch.software_atelier.simpleflex.rest.DefaultRestResource
    • docDELETE

      public void docDELETE(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
      Specified by:
      docDELETE in interface ch.software_atelier.simpleflex.rest.RestResource
      Overrides:
      docDELETE in class ch.software_atelier.simpleflex.rest.DefaultRestResource
    • onPUT

      public ch.software_atelier.simpleflex.rest.RestResponse onPUT(ch.software_atelier.simpleflex.rest.RestRequest request)
      The User can change his password, if he knows the old one. An admin can change the password of any user. TODO Code Cleanup and Refactoring
      Specified by:
      onPUT in interface ch.software_atelier.simpleflex.rest.RestResource
      Overrides:
      onPUT in class ch.software_atelier.simpleflex.rest.DefaultRestResource
    • docPUT

      public void docPUT(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
      Specified by:
      docPUT in interface ch.software_atelier.simpleflex.rest.RestResource
      Overrides:
      docPUT in class ch.software_atelier.simpleflex.rest.DefaultRestResource