Class LocalTriggerManager.ScriptReviewSessionBean

  • All Implemented Interfaces:
    mks.frame.triggers.ScriptExposableBean
    Enclosing class:
    LocalTriggerManager

    public static class LocalTriggerManager.ScriptReviewSessionBean
    extends LocalTriggerManager.ScriptIMBaseBean
    implements mks.frame.triggers.ScriptExposableBean
    The Review session Bean. This bean may be obtained from the server bean, via the getReviewSessionOpBean call. This is a read only bean
    • Constructor Detail

      • ScriptReviewSessionBean

        public ScriptReviewSessionBean​(int reviewSessionID,
                                       int contextID,
                                       int userId,
                                       java.util.Set<java.lang.String> reviewersList,
                                       java.lang.String operation,
                                       java.sql.Connection c)
        Create a new ScriptReviewSessionBean
        Parameters:
        reviewSessionID -
        userId - the current user
        c - the database connection
        reviewersList -
        contextID -
        operation -
    • 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: imReviewSessionBean.
      • getReviewSessionID

        public int getReviewSessionID()
        Return the id of the review session
        Returns:
        the id of the review session
      • getContextID

        public int getContextID()
        Return the id of the document
        Returns:
        the id of the document
      • getReviewersList

        public java.util.Set<java.lang.String> getReviewersList()
        Returns the list containing reviewer names
        Returns:
        list of reviewers
      • getOperation

        public java.lang.String getOperation()
        Returns operation performed on review session.
        Returns:
        operation performed