Package org.sakaiproject.signup.logic
Class SignupTrackingItem
- java.lang.Object
-
- org.sakaiproject.signup.logic.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 Summary
Constructors Constructor Description SignupTrackingItem(SignupAttendee attendee, String messageType)ConstructorSignupTrackingItem(SignupAttendee attendee, String messageType, boolean initiator)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToRemovedTimeslotList(SignupTimeslot timeslot)add to the SignupTimeslot object list when a user is removed from that time slotSignupTimeslotgetAddToTimeslot()get the assigned time slotSignupAttendeegetAttendee()get a SignupAttendee objectStringgetMessageType()get message type, which defines email messageList<SignupTimeslot>getRemovedFromTimeslot()get a list of SignupTimeslot objects, from which the user is removedSignupAttendeegetReplacedAttendde()get the replaced SignupAttendee objectbooleanisInitiator()return true if the user is the event triggervoidsetAddToTimeslot(SignupTimeslot addToTimeslot)set the assigned time slotvoidsetAttendee(SignupAttendee attendee)set a SignupAttendee objectvoidsetInitiator(boolean initiator)set true, when the user is the event triggervoidsetMessageType(String messageType)set a message type, which defines email messagevoidsetReplacedAttendde(SignupAttendee replacedAttendde)set the replaced SignupAttendee object
-
-
-
Constructor Detail
-
SignupTrackingItem
public SignupTrackingItem(SignupAttendee attendee, String messageType)
Constructor- Parameters:
attendee- an SignupAttendee objectmessageType- 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 objectmessageType- a message type string, which defines what type email message should be generatedinitiator- 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
-
-