public class SmartHomeActivityProcessor extends ExtendedActivityProcessor
Modifier and Type | Field and Description |
---|---|
static int |
SUMMARY_COUNT_POSITION_SMARTHOMEITEMADDED
The count position for "SmartHomeItem Added".
|
SUMMARY_COUNT_POSITION_UPDATED, SUMMARY_INDICATION_POSITION_CREATED, SUMMARY_INDICATION_POSITION_DELETED
Constructor and Description |
---|
SmartHomeActivityProcessor()
Constructs a SmartHomeActivityProcessor.
|
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 |
getSmartHomeItemCount(ActivitySummary asumm)
Returns the number of SmartHomeItems added.
|
void |
initialize(ActivitySpecification spec)
Initialize this instance.
|
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_SMARTHOMEITEMADDED
public SmartHomeActivityProcessor()
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 int getSmartHomeItemCount(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.