Class Navigation

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class Navigation extends JDialog
This dialog is the main dialog for creation invalid input: '&' modification of the tailormade product
See Also:
  • Constructor Details

    • Navigation

      public Navigation(Frame frame, String mode, PModelHandle handle, String wProductName)
      Parameters:
      frame - the Frame from which the dialog is displayed
      mode - will pass the "mode" in which the dialog is opened. Valid values are TailorMadeConstants.NEW TailorMadeConstants.VIEW TailorMadeConstants.EDIT
      handle - will contain the validity period and the product information
      wProductName - will contain the product name
    • Navigation

      public Navigation(Frame frame, String mode, PModelHandle handle, String wProductName, com.portal.pricing.Product wProduct, ArrayList wPipelinePriceModelLinks)
      This new constructor is being used during deal purchase. During edit mode of the customized product,Product object invalid input: '&' PipelinePriceModelLinks will be passed to this navaigator.
      Parameters:
      frame -
      mode -
      handle -
      wProductName -
      wProduct -
      wPipelinePriceModelLinks -
  • Method Details

    • isProductCreated

      public boolean isProductCreated()
      This will get the value if product is created or not.
      Returns:
    • setProductCreated

      public void setProductCreated(boolean isProductCreated)
      this will set the value whether the product is created or not
      Parameters:
      isProductCreated -
    • getModelHandle

      public PModelHandle getModelHandle()
      Returns:
      the model handle with the information of the customized product
    • setModelHandle

      public void setModelHandle(PModelHandle modelHandle)
      This will set the model handle with the information of the customized product
      Parameters:
      modelHandle -
    • getProduct

      public com.portal.pricing.Product getProduct()
      Returns:
      the product selected. This will be used only in deal purchase wizard
    • setProduct

      public void setProduct(com.portal.pricing.Product product)
      Sets the product to be modified.This will be used only in deal purchase wizard
      Parameters:
      product -
    • getPriceModelLinks

      public ArrayList<com.portal.pricing.PipelinePriceModelLink> getPriceModelLinks()
      Returns:
      the customizations done for the Price Models.This will be used only in deal purchase wizard
    • setPriceModelLinks

      public void setPriceModelLinks(ArrayList<com.portal.pricing.PipelinePriceModelLink> pipelinePriceModelLinks)
      This will set the customizations for price models.This will be used only in deal purchase wizard
      Parameters:
      pipelinePriceModelLinks -