public class InvitationActivityProcessor extends ExtendedActivityProcessor
Modifier and Type | Field and Description |
---|---|
static int |
SUMMARY_COUNT_POSITION_ATTEND
The count position for "RSVP attend".
|
static int |
SUMMARY_COUNT_POSITION_DECLINE
The count position for "RSVP decline".
|
static int |
SUMMARY_COUNT_POSITION_INVITATIONUPDATED
The count position for "Invitation Updated", reflecting the number of
updates made to the Invitation.
|
static int |
SUMMARY_COUNT_POSITION_MAYBE
The count position for "RSVP maybe".
|
static int |
SUMMARY_COUNT_POSITION_TOTAL_REPLIES
The count position for "Total number of replies", including multiple
replies from a single Actor.
|
SUMMARY_COUNT_POSITION_UPDATED, SUMMARY_INDICATION_POSITION_CREATED, SUMMARY_INDICATION_POSITION_DELETED
Constructor and Description |
---|
InvitationActivityProcessor()
Constructs a InvitationActivityProcessor.
|
Modifier and Type | Method and Description |
---|---|
void |
applyActionToActivitySummaryDelta(ActivitySummary deltaSumm,
ActivitySummary parSumm,
Action action)
Apply an Action to an ActivitySummary delta.
|
protected void |
getActivitySummaryCountPositions(List<Integer> countList)
Gets the Count Positions in effect for this class,
by adding them to the specified List.
|
protected void |
getActivitySummaryIndicationPositions(List<Integer> indList)
Gets the Indication Positions in effect for this class,
by adding them to the specified List.
|
int |
getAttendCount(ActivitySummary asumm)
Returns the number of attend replies.
|
int |
getDeclineCount(ActivitySummary asumm)
Returns the number of decline replies.
|
int |
getInvitationUpdateCount(ActivitySummary asumm)
Returns the net number of Invitation updates.
|
int |
getMaybeCount(ActivitySummary asumm)
Returns the number of maybe replies.
|
int |
getTotalReplyCount(ActivitySummary asumm)
Returns the total number of replies, including multiple
replies from a single Actor.
|
void |
initialize(ActivitySpecification spec)
Initialize this instance.
|
boolean |
isInvitationCreated(ActivitySummary asumm)
Returns the Indication of "Invitation Created".
|
calculateOverallActivityLevel, preUpdateDeltaTrackedActivityRecord, preUpdateInclusionTrackedActivityRecord, preUpdatePerformedActivityRecord, preUpdatePerformingTrackedActivityRecord
calculateCompositeActivityLevel, calculateDeltaActivityLevel, calculateInclusionActivityLevel, calculatePerformedActivityLevel, deleteTrackedActivityRecord, getActivitySpecification, getActivitySummaryNumberPositions, getIncludedActors, getIncludedActors, getInstance, getPropertyTable, getSession, getUpdateCount, isCommittedActionProcessingRequired, isCreated, isDeleted, markLastViewedActivitySummaryAsPartiallyRead, markLastViewedActivitySummaryAsRead, postPrivateRecords, processCommittedAction, refreshDeltaActivitySummary, synchronizeOverallActivityLevel, updateActivityRecord, updateInclusionTrackedActivityRecord, updateInclusionTrackedActivityRecord, updatePerformedActivityRecord, updatePerformingTrackedActivityRecord, updateSpecifiedCompositeLevel, updateTrackedActivityRecordLevels, validate, verifyAllowableAction
public static final int SUMMARY_COUNT_POSITION_ATTEND
public static final int SUMMARY_COUNT_POSITION_DECLINE
public static final int SUMMARY_COUNT_POSITION_MAYBE
public static final int SUMMARY_COUNT_POSITION_TOTAL_REPLIES
For example, a "Yes", followed by a "No" by the same Actor would count as two replies.
public static final int SUMMARY_COUNT_POSITION_INVITATIONUPDATED
public InvitationActivityProcessor()
Called from within ActivitySpecification when initializing the ActivityProcessor to use for that specific ActivitySpecification.
public void initialize(ActivitySpecification spec) throws IfsException
Called immediately after construction (via the default constructor) via reflection within ActivitySpecification.
initialize
in class ActivityProcessor
spec
- The ActivitySpecification for a given implementation.IfsException
- if the operation fails.public boolean isInvitationCreated(ActivitySummary asumm)
asumm
- the ActivitySummarypublic int getAttendCount(ActivitySummary asumm)
asumm
- the ActivitySummary containing the summary of
social activitypublic int getDeclineCount(ActivitySummary asumm)
asumm
- the ActivitySummary containing the summary of
social activitypublic int getMaybeCount(ActivitySummary asumm)
asumm
- the ActivitySummary containing the summary of
social activitypublic int getTotalReplyCount(ActivitySummary asumm)
For example, a "Yes", followed by a "No" by the same Actor would count as two replies.
asumm
- the ActivitySummary containing the summary of
social activitypublic int getInvitationUpdateCount(ActivitySummary asumm)
asumm
- the ActivitySummary containing the summary of
social activitypublic void applyActionToActivitySummaryDelta(ActivitySummary deltaSumm, ActivitySummary parSumm, Action action) throws IfsException
applyActionToActivitySummaryDelta
in class ActivityProcessor
deltaSumm
- the target ActivitySummary DeltaparSumm
- the target ActivitySummaryaction
- Action to add to the summaryIfsException
- if the operation fails.protected void getActivitySummaryCountPositions(List<Integer> countList)
getActivitySummaryCountPositions
in class ActivityProcessor
countList
- the list that holds the set of Count Positionsprotected void getActivitySummaryIndicationPositions(List<Integer> indList)
getActivitySummaryIndicationPositions
in class ActivityProcessor
indList
- the list that holds the set of Indication PositionsCopyright © 2023. All rights reserved.