Package mks.ci.server

Class EditTimeEntryOp.ScriptEditTimeEntryOpBean

    • Constructor Detail

      • ScriptEditTimeEntryOpBean

        public ScriptEditTimeEntryOpBean​(EditTimeEntryOp op,
                                         int userId,
                                         java.sql.Connection c)
        Create a new ScriptEditTimeEntryOpBean.
        Parameters:
        op - the operation that the bean encompasses
        userId - the current user
        c - the database connection
    • Method Detail

      • getExposedName

        public java.lang.String getExposedName()
        Returns the name of this bean that is exposed to the scripting language.
        Specified by:
        getExposedName in interface mks.frame.triggers.ScriptExposableBean
        Specified by:
        getExposedName in class ScriptBaseBean
        Returns:
        the bean name: imEditTimeEntryBean.
      • getTimeEntryDeltaBean

        public LocalTriggerManager.ScriptTimeEntryDeltaBean getTimeEntryDeltaBean()
                                                                           throws mks.frame.triggers.TriggerException
        Returns a ScriptTimeEntryDeltaBean representing the time entry edit.
        Returns:
        a ScriptTimeEntryDeltaBean representing the edit.
        Throws:
        mks.frame.triggers.TriggerException - if the bean couldn't be created.