Class SignupTrackingItem


  • public class SignupTrackingItem
    extends Object

    This class is a place holder, which contains all the related informaion along the way for one attendee when an action occurs in Signup tool

    • Constructor Detail

      • SignupTrackingItem

        public SignupTrackingItem​(SignupAttendee attendee,
                                  String messageType)
        Constructor
        Parameters:
        attendee - an SignupAttendee object
        messageType - a message type string, which defines what type email message should be generated
      • SignupTrackingItem

        public SignupTrackingItem​(SignupAttendee attendee,
                                  String messageType,
                                  boolean initiator)
        Constructor
        Parameters:
        attendee - an SignupAttendee object
        messageType - a message type string, which defines what type email message should be generated
        initiator - the user, who triggers the chain of reaction
    • Method Detail

      • getAddToTimeslot

        public SignupTimeslot getAddToTimeslot()
        get the assigned time slot
        Returns:
        an SignupTimeslot object
      • setAddToTimeslot

        public void setAddToTimeslot​(SignupTimeslot addToTimeslot)
        set the assigned time slot
        Parameters:
        addToTimeslot - an SignupTimeslot object
      • getAttendee

        public SignupAttendee getAttendee()
        get a SignupAttendee object
        Returns:
        a SignupAttendee object
      • setAttendee

        public void setAttendee​(SignupAttendee attendee)
        set a SignupAttendee object
        Parameters:
        attendee - a SignupAttendee object
      • isInitiator

        public boolean isInitiator()
        return true if the user is the event trigger
        Returns:
        true if the user is the event trigger
      • setInitiator

        public void setInitiator​(boolean initiator)
        set true, when the user is the event trigger
        Parameters:
        initiator - a boolean value
      • getMessageType

        public String getMessageType()
        get message type, which defines email message
        Returns:
        a message type
      • setMessageType

        public void setMessageType​(String messageType)
        set a message type, which defines email message
        Parameters:
        messageType - a message type
      • getRemovedFromTimeslot

        public List<SignupTimeslot> getRemovedFromTimeslot()
        get a list of SignupTimeslot objects, from which the user is removed
        Returns:
        a list of SignupTimeslot objects
      • addToRemovedTimeslotList

        public void addToRemovedTimeslotList​(SignupTimeslot timeslot)
        add to the SignupTimeslot object list when a user is removed from that time slot
        Parameters:
        timeslot - a SignupTimeslot object
      • getReplacedAttendde

        public SignupAttendee getReplacedAttendde()
        get the replaced SignupAttendee object
        Returns:
        a SignupAttendee object
      • setReplacedAttendde

        public void setReplacedAttendde​(SignupAttendee replacedAttendde)
        set the replaced SignupAttendee object
        Parameters:
        replacedAttendde - a SignupAttendee object