public class TrackedActivityRecordLevels extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_CUSTOM_LEVEL_POSITIONS
The Max size for custom levels.
|
Constructor and Description |
---|
TrackedActivityRecordLevels()
Construct a TrackedActivityRecordLevels.
|
TrackedActivityRecordLevels(TrackedActivityRecordLevels source)
Construct a TrackedActivityRecordLevels, as a copy of the specified
instance.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCalculatedCompositeLevel()
Gets the Calculated Composite level, which represents the recommended level
of how the tracking Actor should be tracking the target ActivityRecord.
|
int |
getCalculatedCompositeLevel(TrackedActivityRecord tar)
Gets the Calculated Composite level, which represents the recommended level
of how the tracking Actor should be tracking the target ActivityRecord.
|
Integer |
getCustomLevel(int pos)
Gets the custom level at the specified position.
|
int |
getCustomLevel(int pos,
TrackedActivityRecord tar)
Gets the custom level at the specified position.
|
Integer |
getDeltaActivityComponentLevel()
Gets the Delta Activity Component level, which is the
level representing how much overall activity has occurred since last
viewed by the tracking Actor.
|
int |
getDeltaActivityComponentLevel(TrackedActivityRecord tar)
Gets the Delta Activity Component level, which is the
level representing how much overall activity has occurred since last
viewed by the tracking Actor.
|
Integer |
getInclusionActivityComponentLevel()
Gets the Inclusion Activity Component level, which is the
level representing how much activity has occurred which
directly or indirectly includes the tracking Actor.
|
int |
getInclusionActivityComponentLevel(TrackedActivityRecord tar)
Gets the Inclusion Activity Component level, which is the
level representing how much activity has occurred which
directly or indirectly includes the tracking Actor.
|
Integer |
getOverallActivityComponentLevel()
Gets the Overall Activity Component level, which is the
level representing how much overall activity has occurred.
|
int |
getOverallActivityComponentLevel(TrackedActivityRecord tar)
Gets the Overall Activity Component level, which is the
level representing how much overall activity has occurred.
|
Integer |
getPerformedActivityComponentLevel()
Gets the Performed Activity Component level, which is the
level representing how much activity has been performed
by the tracking Actor.
|
int |
getPerformedActivityComponentLevel(TrackedActivityRecord tar)
Gets the Performed Activity Component level, which is the
level representing how much activity has been performed
by the tracking Actor.
|
String |
getUpdateClause()
Gets the SQL update clause to add to a TAR update for levels
that have been set in this instance.
|
AttributeValue[] |
getUpdateClauseBindValues()
Gets the bind values that are associated with the TAR SQL update clause
used to update the levels that have been set in this instance.
|
void |
setCalculatedCompositeLevel(Integer level)
Sets the Calculated Composite level, which represents the recommended level
of how the tracking Actor should be tracking the target ActivityRecord.
|
void |
setCustomLevel(int pos,
Integer level)
Sets the custom level at the specified position.
|
void |
setDeltaActivityComponentLevel(Integer level)
Sets the Delta Activity Component level, which is the
level representing how much overall activity has occurred since last
viewed by the tracking Actor.
|
void |
setInclusionActivityComponentLevel(Integer level)
Sets the Inclusion Activity Component level, which is the
level representing how much activity has occurred which
directly or indirectly includes the tracking Actor.
|
void |
setOverallActivityComponentLevel(Integer level)
Sets the Overall Activity Component level, which is the
level representing how much overall activity has occurred.
|
void |
setPerformedActivityComponentLevel(Integer level)
Sets the Performed Activity Component level, which is the
level representing how much activity has been performed
by the tracking Actor.
|
public static final int MAX_CUSTOM_LEVEL_POSITIONS
public TrackedActivityRecordLevels()
public TrackedActivityRecordLevels(TrackedActivityRecordLevels source)
source
- the source instancepublic Integer getOverallActivityComponentLevel()
public Integer getPerformedActivityComponentLevel()
public Integer getDeltaActivityComponentLevel()
public Integer getInclusionActivityComponentLevel()
public Integer getCalculatedCompositeLevel()
public Integer getCustomLevel(int pos)
pos
- the position in the custom level arraypublic int getOverallActivityComponentLevel(TrackedActivityRecord tar) throws IfsException
tar
- the TrackedActivityRecord to use if the requested
level was not set explicitly on this instanceIfsException
- if the operation fails.public int getPerformedActivityComponentLevel(TrackedActivityRecord tar)
tar
- the TrackedActivityRecord to use if the requested
level was not set explicitly on this instancepublic int getDeltaActivityComponentLevel(TrackedActivityRecord tar)
tar
- the TrackedActivityRecord to use if the requested
level was not set explicitly on this instancepublic int getInclusionActivityComponentLevel(TrackedActivityRecord tar)
tar
- the TrackedActivityRecord to use if the requested
level was not set explicitly on this instancepublic int getCalculatedCompositeLevel(TrackedActivityRecord tar)
tar
- the TrackedActivityRecord to use if the requested
level was not set explicitly on this instancepublic int getCustomLevel(int pos, TrackedActivityRecord tar)
pos
- the position in the custom level arraytar
- the TrackedActivityRecord to use if the requested
level was not set explicitly on this instancepublic String getUpdateClause()
public AttributeValue[] getUpdateClauseBindValues()
public void setOverallActivityComponentLevel(Integer level)
level
- the Overall Activity Component level,
or null to unsetpublic void setPerformedActivityComponentLevel(Integer level)
level
- the Performed Activity Component level,
or null to unsetpublic void setDeltaActivityComponentLevel(Integer level)
level
- the Delta Activity Component level,
or null to unsetpublic void setInclusionActivityComponentLevel(Integer level)
level
- the Inclusion Activity Component level,
or null to unsetpublic void setCalculatedCompositeLevel(Integer level)
level
- the Calculated Composite level,
or null to unsetpublic void setCustomLevel(int pos, Integer level)
pos
- the position in the custom level arraylevel
- the custom level value,
or null to unsetCopyright © 2023. All rights reserved.