Class LocalTriggerManager.ScriptGroupBean

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

    public static class LocalTriggerManager.ScriptGroupBean
    extends LocalTriggerManager.ScriptPrincipalBean
    Bean which encompasses a Group. This is for a static group, see the imDynamicGroupBean for dynamic groups.
    • Constructor Detail

      • ScriptGroupBean

        public ScriptGroupBean​(mks.ci.server.engine.Group g,
                               int userId,
                               java.sql.Connection c)
        Create a new GroupBean
        Parameters:
        g - the group in question
        userId - the current user
        c - the database connection
    • Method Detail

      • getUsers

        public java.lang.String[] getUsers()
        Return the full list of users who are a member of this group.
        Returns:
        the users in this group, as an array of string user names. Use the imServerBean.getUserBean() method on individual user names if you really wanted their bean.
      • getExposedName

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