com.ibm.tivoli.maximo.skd.service

Class SKDAppServiceBean

  • java.lang.Object
    • java.rmi.server.RemoteObject
      • java.rmi.server.RemoteServer
        • java.rmi.server.UnicastRemoteObject
          • com.ibm.tivoli.maximo.skd.service.SKDAppServiceBean
    • Constructor Detail

      • SKDAppServiceBean

        public SKDAppServiceBean()
                          throws java.rmi.RemoteException
        Default constructor.
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException,
                         java.rmi.RemoteException
        Called by the framework to initialize the bean.
        Throws:
        MXException
        java.rmi.RemoteException
      • getUserInfo

        public UserInfo getUserInfo()
        Returns the user information.
        Returns:
        user information
      • getSKDAppService

        public SKDAppService getSKDAppService()
        Returns the SKD Application Service.
        Returns:
        SKDAppService SKD Application Service
      • setSKDAppService

        public void setSKDAppService(SKDAppService skdAppService)
        Sets the SKD Application Service.
        Parameters:
        skdAppService - SKD Application Service
      • getMboSet

        public MboSetRemote getMboSet(java.lang.String mboObjectName)
                               throws MXException,
                                      java.rmi.RemoteException
        Returns the standard MAXIMO Business Object set based on the mbo name.
        Parameters:
        mboObjectName - MAXIMO Business Object name
        Returns:
        MboSetRemote a remote reference to the MAXIMO Business Object
        Throws:
        MXException - if fails to obtain the reference.
        java.rmi.RemoteException
      • getMboSetInfo

        public MboSetInfo getMboSetInfo(java.lang.String mboName)
                                 throws MXException,
                                        java.rmi.RemoteException
        Returns information about standard MAXIMO Business Object.
        Parameters:
        mboName - MAXIMO Business Object name
        Returns:
        MboSetInfo MAXIMO Business Object information
        Throws:
        MXException - if fails to obtain the reference.
        java.rmi.RemoteException
      • hasModelChanges

        public boolean hasModelChanges()
                                throws MXException,
                                       java.rmi.RemoteException
        Get the flag to find out if model is changed or not
        Specified by:
        hasModelChanges in interface SKDAppServiceBeanRemote
        Returns:
        true if there is model changes else false.
        Throws:
        MXException
        java.rmi.RemoteException
      • saveModelChangesFromAction

        public void saveModelChangesFromAction(boolean saveBeforeAction)
                                        throws MXException,
                                               java.rmi.RemoteException
        Save model changes to the database.
        Parameters:
        saveBeforeAction - - true if method is called from action else false
        Throws:
        MXException
        java.rmi.RemoteException
      • getProjectName

        public java.lang.String getProjectName(java.lang.String projectId)
                                        throws MXException,
                                               java.rmi.RemoteException
        Get the project name for the project id
        Parameters:
        projectId -
        Returns:
        project name
        Throws:
        MXException
        java.rmi.RemoteException
      • getProjectScenarioName

        public java.lang.String getProjectScenarioName(java.lang.String projectId)
                                                throws MXException,
                                                       java.rmi.RemoteException
        Get the project scenario name for the project id
        Parameters:
        projectId -
        Returns:
        project name
        Throws:
        MXException
        java.rmi.RemoteException
      • saveActivities

        public void saveActivities(UserInfo userInfo,
                                   MboRemote projectMbo,
                                   ilog.views.gantt.model.general.IlvGeneralActivity activity)
                            throws MXException,
                                   java.rmi.RemoteException
        Save activities related data for data source.
        Parameters:
        - - userinfo
        - - Project Mbo
        - - Activity
        Throws:
        - - MXException
        - - RemoteException
        MXException
        java.rmi.RemoteException
      • saveActivities

        public void saveActivities(UserInfo userInfo,
                                   MboRemote projectMbo,
                                   ilog.views.gantt.model.general.IlvGeneralActivity activity,
                                   MXTransaction txn)
                            throws MXException,
                                   java.rmi.RemoteException
        Save activities related data for data source.
        Parameters:
        - - userinfo
        - - Project Mbo
        - - Activity
        Throws:
        - - MXException
        - - RemoteException
        MXException
        java.rmi.RemoteException
      • saveConstraints

        public void saveConstraints(UserInfo userInfo,
                                    MboRemote projectMbo,
                                    ilog.views.gantt.model.general.IlvGeneralConstraint constraint)
                             throws MXException,
                                    java.rmi.RemoteException
        Save constraint related data for data source.
        Parameters:
        - - userinfo
        - - Project Mbo
        - - Constraint
        Throws:
        - - MXException
        - - RemoteException
        MXException
        java.rmi.RemoteException
      • saveUserPropertyChanges

        protected void saveUserPropertyChanges(java.lang.String projectId,
                                               java.lang.String objectName,
                                               java.lang.String columnName,
                                               java.util.Map properties)
                                        throws MXException,
                                               java.rmi.RemoteException
        Saves the given user property changes for the given projectid, object name, and table column.
        Throws:
        MXException
        java.rmi.RemoteException