psdi.app.bulletinboard

Class BBAudOrgRole

  • java.lang.Object
    • psdi.app.bulletinboard.BBAudOrgRole
  • All Implemented Interfaces:
    CustomRoleInterface


    public class BBAudOrgRole
    extends java.lang.Object
    implements CustomRoleInterface
    This class implements a role which represents a bulletin board message's organization audience.
    • Constructor Detail

      • BBAudOrgRole

        public BBAudOrgRole()
    • Method Detail

      • evaluateCustomRole

        public MboRemote evaluateCustomRole(MaxRole roleMbo,
                                            MboRemote mbo)
                                     throws MXException,
                                            java.rmi.RemoteException
        Description copied from interface: CustomRoleInterface
        Determines the Person or PersonGroup for a role. The value returned is treated as if the MaxRole attribute PersonID or PersonGroup had this value. If a PersonGroup is returned, the final output is affected by the IsBroadcast flag
        Specified by:
        evaluateCustomRole in interface CustomRoleInterface
        Parameters:
        roleMbo - This is the role which has the custom class name.
        mbo - The current mbo.
        Returns:
        This method can return either a PersonRemote or PersonGroupRemote.
        Throws:
        MXException
        java.rmi.RemoteException
      • evaluateToEmail

        public java.lang.String[] evaluateToEmail(MaxRole roleMbo,
                                                  MboRemote mbo)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Description copied from interface: CustomRoleInterface
        Creates an array of email address for this role.
        Specified by:
        evaluateToEmail in interface CustomRoleInterface
        Parameters:
        roleMbo - This is the role which has the custom class name.
        mbo - The current mbo.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException