Class CopyTree.ScriptBranchResultBean

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

    public static class CopyTree.ScriptBranchResultBean
    extends LocalTriggerManager.ScriptIMBaseBean
    implements mks.frame.triggers.ScriptExposableBean
    The Branch Result Bean (imBranchResultBean).

    This bean is available when the branch post trigger is fired.

    The post branch trigger is fired after the branch, or complete copytree operation has committed. At this point, it has completed. Both this bean, and the imBranchArgsBean (see CopyTree.ScriptBranchArgsBean) are available.

    The purpose of this bean is to determine the newly created issue.

    • Constructor Detail

      • ScriptBranchResultBean

        public ScriptBranchResultBean​(int oldIssue,
                                      int newIssue,
                                      int userId,
                                      java.sql.Connection c)
    • Method Detail

      • getBranchingIssue

        public int getBranchingIssue()
        Retrieve the issue id which was branched.
        Returns:
        the integer issue id.
      • getResultingIssue

        public int getResultingIssue()
        Retrieve the newly created child branch issue.
        Returns:
        the integer issue id.
      • getExposedName

        public java.lang.String getExposedName()
        The name of this bean: imCopyTreeResultBean
        Specified by:
        getExposedName in interface mks.frame.triggers.ScriptExposableBean
        Specified by:
        getExposedName in class ScriptBaseBean
        Returns:
        the bean name: siMemberBean.