Class WebServiceProp

    • Constructor Detail

      • WebServiceProp

        public WebServiceProp()
        Creates the style property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • WebServiceProp

        public WebServiceProp​(Atom propertyAtom)
        Creates the style property container with the specified name. All system-reserved names for components begins with "$".
        Parameters:
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • addPredefinedProps

        protected void addPredefinedProps()
                                   throws PropException
        Adds the predefined properties for this container. This method is called once just after construction of the property container.

        Properties added:

          - InputProps as Atom.INPUT
         

        Overrides:
        addPredefinedProps in class PropCnr
        Throws:
        PropException - for property exceptions.
      • getPredefinedProps

        protected void getPredefinedProps()
        Gets potential references to predefined properties for this container. This method is called once just after cloning of the property container.

        The method should get reference to using the getProp(...) methods. This allows the subclass to be able to retrieve the new instances to the properties created during addPredefinedProps() if stored in instance variables.

        Overrides:
        getPredefinedProps in class PropCnr
      • getInput

        public AbstractInputProps getInput()
        Gets the input property.
        Returns:
        The input instance.
      • createOutput

        protected OutputProps createOutput()
        Creates the output properties.
      • getOutput

        public OutputProps getOutput()
        Gets the output property.
        Returns:
        The output instance.
      • doExecute

        public IReplyContent doExecute​(IAppSessionGyro appGyro,
                                       boolean doPerform)
                                throws PropException,
                                       java.io.IOException,
                                       java.io.UnsupportedEncodingException,
                                       java.net.URISyntaxException
        Executes the Web Service request.
        Specified by:
        doExecute in interface IExecuteWebService
        Parameters:
        appGyro - The application session gyro, null for Designer.
        doPerform - Execution flag when true, test when false.
        Returns:
        The contents reply instance, or null when testing.
        Throws:
        PropException - For property errors.
        java.io.IOException - For I/O errors.
        java.io.UnsupportedEncodingException - For unsupported encodings.
        java.net.URISyntaxException - When URI syntax is invalid.