Class WebServiceProp

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, IExecuteWebService, Cloneable
Direct Known Subclasses:
EditorWebServiceProp

public class WebServiceProp extends PropCnr implements IExecuteWebService
Web Service property container holding the definition of a web service transaction.
Author:
Christopher Mindus
  • Constructor Details Link icon

    • WebServiceProp Link icon

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

      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 Details Link icon

    • addPredefinedProps Link icon

      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 Link icon

      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
    • clone Link icon

      public WebServiceProp clone()
      Clones the property.
      Overrides:
      clone in class PropCnr
    • getInput Link icon

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

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

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

      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.
      IOException - For I/O errors.
      UnsupportedEncodingException - For unsupported encodings.
      URISyntaxException - When URI syntax is invalid.