psdi.webclient.beans.dm

Class CmpSrcDefBean

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


    public class CmpSrcDefBean
    extends DataBean
    Databean for the Compile Source Definition table in the Upload Compiled Source dialog. The sole purpose of this bean is to override the behavior of adding a new row to the Compiled Source Definition. This is because when a package definition's status=APPR, there is a business rule in place that disallow adding new compiled sources to the definition, but allows the creation of a package. However, in the creation of a package process, the first step is to allow the user to add new compiled sources. So what we do here is to use the NOACCESSCHECK flag to bypass the canEdit() method call.
    • Constructor Detail

      • CmpSrcDefBean

        public CmpSrcDefBean()
    • Method Detail

      • insertAtEnd

        public void insertAtEnd()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: DataBean
        Inserts a row at the end of the MboSet. Fires a row change event to all listeners upon success.
        Overrides:
        insertAtEnd in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • docancel

        public int docancel()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException