Class AttachmentWindowComponent

  • All Implemented Interfaces:

    public class AttachmentWindowComponent
    extends BaseTemplateComponent
    The component which takes care of creating a class for a tab's Attachment popup.
    • Constructor Detail

      • AttachmentWindowComponent

        public AttachmentWindowComponent()
    • Method Detail

      • getWindowClientClassName

        public String getWindowClientClassName()
        Gets a String composed by the tabId, attachmentId and if is in development, an unique sequence
        String sequence generated for this attach
      • initialize

        public void initialize​(Tab _tab,
                               AttachmentMethod _attMethod)
        Sets the Attachment Method and Tab. Actualizes metadata depending on this tab an attachment method
        _tab - Tab to set.
        _attMethod - Method to set.
      • getAttachmentMethodId

        public String getAttachmentMethodId()
        Gets the Attachment Method
        Attachment Method
      • getParamHandler

        public OBViewParameterHandler getParamHandler()
        Gets the OBViewParameterHandler for this class
        OBViewParameterHandler injected on this class
      • getParentWindow

        public Window getParentWindow()
        Gets the Parent Window of the Attachment component.
      • getDynamicColumns

        public String getDynamicColumns()
        Return a JSONObject with all dynamic columns parsed to String. Dynamic columns is a list of columns that cause others to be modified, it includes the ones causing the modification as well as the affected ones. Columns are identified as strings surrounded by quotes (" or ') matching one of the names of the parameters.
        Dynamic columns parsed to string