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

Class SKDResGanttPropSet

    • Constructor Detail

      • SKDResGanttPropSet

        public SKDResGanttPropSet(MboServerInterface ms)
                           throws MXException,
                                  java.rmi.RemoteException
        Constructs the set of SKDResGanttProp.
        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 SKDResGanttProp object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        MboSet - ms
        Returns:
        new SKDResGanttProp 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 'SKDResGanttProp'(User Settings)dialog - 'Resource Properties' tab, will get the data from 'SKDPROPERTY' and 'SKDUSERPROP' for the skdobjectname='SKDRESOURCE'.
        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()
      • createSKDResGanttUserPropInput

        public void createSKDResGanttUserPropInput(MboSetRemote skdUserPropSet)
                                            throws MXException,
                                                   java.rmi.RemoteException
        To display the data on the Non-persistent 'SKDResGanttProp'--'User Settings' dialog and 'Resource Properties' tab, where skdUserPropMbo.getString("userid").equals(getUserInfo().getPersonId()). Note:This data will be retrieved from SKDUserProp table where skdobjectname='SKDRESOURCE'
        Throws:
        MXException, - RemoteExcpetion
        MXException
        java.rmi.RemoteException
      • createSKDResGanttPropInput

        public void createSKDResGanttPropInput(MboSetRemote skdPropSet)
                                        throws MXException,
                                               java.rmi.RemoteException
        To display the data on the Non-persistent 'SKDResGanttProp'--'User Settings' dialog and 'Resource Properties' tab, Step1: where, skdPropMbo.getString("skdobjectname").equals("SKDRESOURCE") && 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' - 'Resource Properties' tab from the SKDProperty table. Note:This data will be retrieved from SKDProperty table where skdobjectname='SKDRESOURCE'
        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 'Resource Properties' tab. If the this(SKDResGanttProp) 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