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

    • 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 Details

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

      public WebServiceProp clone()
      Clones the property.
      Overrides:
      clone 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

      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.