psdi.webclient.beans.common

Class GLNavigatorSelectOrgBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class GLNavigatorSelectOrgBean
    extends DataBean
    • Constructor Detail

      • GLNavigatorSelectOrgBean

        public GLNavigatorSelectOrgBean()
    • Method Detail

      • setupBean

        public void setupBean(WebClientSession sc)
        Overridden to get and store the reference to the dialog bean, to be sued later for setting newly selected ORGID and triggering refresh calls.
        Overrides:
        setupBean in class DataBean
      • fetchOrgAndSiteIdFromSource

        public void fetchOrgAndSiteIdFromSource()
        Retrieves Org and Site from source. It first tries to find out a mapped org id i.e in Incidents, RELEVENT ORGID is ASSETORGID, so use that one. If that is not present then, use orgid. If SITEID field exists for the source, retrieve it.
      • getOrgId

        public java.lang.String getOrgId()
        Gets org id
        Returns:
      • setValue

        public void setValue(int row,
                             java.lang.String attribute,
                             MboRemote mboRemote)
                      throws MXException
        11-17073/IV10451: manully entering orgid or siteid triggers this overloaded method. direct it to the setValue(String, mboRemote) when orgid or siteid is via Select Values which then triggers the GL Component to be populated with correct orgid.
        Overrides:
        setValue in class DataBean
        Throws:
        MXException