com.ibm.tivoli.maximo.skd.app.virtual

Class SKDActGanttPropSet

    • Constructor Detail

      • SKDActGanttPropSet

        public SKDActGanttPropSet(MboServerInterface ms)
                           throws MXException,
                                  java.rmi.RemoteException
        Constructs the set of SKDActGanttProp.
        Parameters:
        MboServerInterface - ms
        Throws:
        MXException, - RemoteException
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generate a new SKDActGanttProp object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        MboSet - ms
        Returns:
        new SKDActGanttProp object
        Throws:
        MXException, - RemoteException
        MXException
        java.rmi.RemoteException
      • setup

        public MboRemote setup()
                        throws MXException,
                               java.rmi.RemoteException
        To display the data on the Non-persistent 'SKDActGanttProp'(User Settings)dialog - 'Work Properties' tab, will get the data from 'SKDPROPERTY' and 'SKDUSERPROP' for the skdobjectname='SKDACTIVITY'.
        Specified by:
        setup in interface NonPersistentMboSetRemote
        Overrides:
        setup in class NonPersistentMboSet
        Returns:
        The new Mbo to use to set parameters for a method.
        Throws:
        MXException, - RemoteExcpetion
        MXException
        java.rmi.RemoteException
        See Also:
        NonPersistentMboSet.setup()
      • createSKDActGanttUserPropInput

        public void createSKDActGanttUserPropInput(MboSetRemote skdUserPropSet)
                                            throws MXException,
                                                   java.rmi.RemoteException
        To display the data on the Non-persistent 'SKDActGanttProp'--'User Settings' dialog and 'Work Properties' tab, where userid vs logged in user. This data will be retrieved from SKDUserProp table where skdobjectname='SKDACTIVITY'
        Throws:
        MXException, - RemoteExcpetion
        MXException
        java.rmi.RemoteException
      • createSKDActGanttPropInput

        public void createSKDActGanttPropInput(MboSetRemote skdPropSet)
                                        throws MXException,
                                               java.rmi.RemoteException
        To display the data on the Non-persistent 'SKDActGanttProp'--'User Settings' dialog and 'Work Properties' tab, Step1: where, skdPropMbo.getString("skdobjectname").equals("SKDACTIVITY") && skdPropMbo.getBoolean("usermanaged") && propertyorder >=1. Step2: And we will check the SKDProperty data that we filtered using the step1 with the data that exists in the SKDUserProp table. propertyname vs propertyname skdobjectname vs skdobjectname projectname vs projectname userid vs getUserInfo().getPersonId() Step3: If the record exists in SKDUSerProp table, skip that record and add non-existing to 'UserSettings' - 'Work Properties' tab from the SKDProperty table. This data will be retrieved from SKDProperty table where skdobjectname='SKDACTIVITY'
        Throws:
        MXException, - RemoteExcpetion
        MXException
        java.rmi.RemoteException
      • newSKDUserProp

        public void newSKDUserProp()
                            throws MXException,
                                   java.rmi.RemoteException
        This method is called when there is any modification on the 'User Settings' dialog's 'Work Properties' tab. If the this(SKDActGanttProp) isModified..then we will check to see if any record exists in the, SKDUserProp table with the current projectname(Schedule),skdobjectname,propertyname and logged-in user. If there is any record exists, then we will modify that record. If no record exists, then we will create new record in the SKDUserProp table.
        Throws:
        MXException
        java.rmi.RemoteException