Class Extensions


  • public class Extensions
    extends Object
    Author:
    viola, hengsin
    • Constructor Detail

      • Extensions

        public Extensions()
    • Method Detail

      • getForm

        public static ADForm getForm​(String formId)
        Parameters:
        formId - Java class name or equinox extension Id
        Returns:
        IFormController instance or null if formId not found
      • getProcessParameterListeners

        public static List<IProcessParameterListener> getProcessParameterListeners​(String processClass,
                                                                                   String columnName)
        Parameters:
        processClass -
        columnName -
        Returns:
        list of parameter listener
      • getCreateFrom

        public static ICreateFrom getCreateFrom​(GridTab mTab)
        Parameters:
        mTab -
        Returns:
        ICreateFrom instance
      • getPaymentForm

        public static IPaymentForm getPaymentForm​(int windowNo,
                                                  GridTab mTab,
                                                  String paymentRule)
        Parameters:
        windowNo -
        mTab -
        paymentRule -
        Returns:
        IPaymentForm instance
      • getDashboardGadget

        public static final org.zkoss.zk.ui.Component getDashboardGadget​(String url,
                                                                         org.zkoss.zk.ui.Component parent)
        Parameters:
        url -
        parent -
        Returns:
        Gadget component
      • getDashboardGadget

        public static final org.zkoss.zk.ui.Component getDashboardGadget​(String url,
                                                                         org.zkoss.zk.ui.Component parent,
                                                                         MDashboardContent dc)
        Parameters:
        url -
        parent -
        dc -
        Returns:
        Gadget component
      • getQuickEntry

        public static AbstractWQuickEntry getQuickEntry​(Integer AdWindowID)
        Parameters:
        AdWindowID -
        Returns:
        IQuickEntryFactory instance or null if AdWindowID not found
      • getQuickEntry

        public static AbstractWQuickEntry getQuickEntry​(int WindowNo,
                                                        int TabNo,
                                                        int AdWindowID)
        Parameters:
        WindowNo -
        TabNo -
        AdWindowID -
        Returns:
        IQuickEntry instance or null if AdWindowID not found
      • getMediaView

        public static IMediaView getMediaView​(String contentType,
                                              String extension,
                                              boolean mobile)
        Parameters:
        contentType -
        extension -
        mobile -
        Returns:
        IMediaView