Class RequestValidator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkApplicationCode​(java.lang.String strApplicationCode)
      check whether the parameters related to the application are valid or not
      void checkAuthor​(RequestAuthor author)
      Check whether the parameters related to the author are valid or not
      void checkClientCode​(java.lang.String strClientCode)
      check whether the parameters related to the application are valid or not
      void checkTargetClientCode​(java.lang.String strTargetClientCode)
      check whether the parameters related to the application are valid or not
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RequestValidator

        public RequestValidator()
    • Method Detail

      • checkClientCode

        public void checkClientCode​(java.lang.String strClientCode)
                             throws RequestFormatException
        check whether the parameters related to the application are valid or not
        Parameters:
        strClientCode - client application code
        Throws:
        RequestFormatException - if the parameters are not valid
      • checkTargetClientCode

        public void checkTargetClientCode​(java.lang.String strTargetClientCode)
                                   throws RequestFormatException
        check whether the parameters related to the application are valid or not
        Parameters:
        strTargetClientCode - target client application code
        Throws:
        RequestFormatException - if the parameters are not valid
      • checkApplicationCode

        public void checkApplicationCode​(java.lang.String strApplicationCode)
                                  throws RequestFormatException
        check whether the parameters related to the application are valid or not
        Parameters:
        strApplicationCode - client application code
        Throws:
        RequestFormatException - if the parameters are not valid