Class BOOperationActivity
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.workorder.operationactivity.BOOperationActivity
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a operation activity
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the operation's activity active.Returns the operation's activity type.getCode()Returns the operation's activity code.Returns the operation's activity default outcome reason id.Returns the operation's activity description.getId()Returns the operation activity id.Returns the operation's activity intervention group id.Checks if the operation activity's resource is on call and therefore the activity cannot be executedReturns the operation's activity minimum time for dayReturns the operation's activity minimum time for suspension.Returns the operation's activity multi day.Returns whether the operation's activity requires only on duty resources.Returns the operation's activity priority on distributions.Returns the operation's activity resource activity type id.Returns the operation's activity scheduling type id.voidSets the operation's activity to active.voidsetActivityType(Long activityType) Sets the activity type.voidSets the operation's activity code.voidsetDefaultOutcomeReason(Long defaultOutcomeReason) Sets the operation's activity default outcome reason id.voidsetDescription(LocalizedString description) Sets the operation's activity description.voidsetExcludeIfOnAvailabilityOnDuty(Boolean isOnCallExcluded) Set the operation activity's exclusionvoidSets the operation's activity id.voidsetInterventionGroup(Long interventionGroup) Sets the operation's activity intervention group id.voidsetMinimumTimeForDay(Long minimumTimeForDay) Sets the operation's activity minimum time for day.voidsetMinimumTimeForSuspension(Long minimumTimeForSuspension) Sets the operation's activity minimum time for suspension.voidsetMultiDay(Boolean multiDay) Sets the operation's activity to multi day.voidsetOnDutyOnly(Boolean onDutyOnly) Sets the operation's activity requirement to on duty only.voidsetPriorityOnDistributions(Long priorityOnDistributions) Sets the operation's activity priority on distributions.voidsetResourceActivityType(Long resourceActivityType) Sets the operation's activity resource activity type id.voidsetSchedulingType(Long schedulingType) Sets the operation's activity scheduling type id.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOOperationActivity
public BOOperationActivity()
-
-
Method Details
-
getId
Returns the operation activity id.- Returns:
- the the operation activity id
-
getCode
Returns the operation's activity code.- Returns:
- the code
-
getDescription
Returns the operation's activity description.- Returns:
- the description
-
getActive
Returns the operation's activity active.- Returns:
- the active
-
getMultiDay
Returns the operation's activity multi day.- Returns:
- true if the operation's activity is multi day, false otherwise
-
getOnDutyOnly
Returns whether the operation's activity requires only on duty resources.- Returns:
- true if the operation's activity requires only on duty resources, false otherwise
-
getIsOnCallExcluded
Checks if the operation activity's resource is on call and therefore the activity cannot be executed- Returns:
- true if the activity has to be excluded, false otherwise
-
getInterventionGroup
Returns the operation's activity intervention group id.- Returns:
- the intervention group id
-
getDefaultOutcomeReason
Returns the operation's activity default outcome reason id.- Returns:
- the default outcome reason id
-
getMinimumTimeForDay
Returns the operation's activity minimum time for day- Returns:
- the minimum time for day
-
getMinimumTimeForSuspension
Returns the operation's activity minimum time for suspension.- Returns:
- the minimum time for suspension
-
getSchedulingType
Returns the operation's activity scheduling type id.- Returns:
- the scheduling type id
-
getPriorityOnDistributions
Returns the operation's activity priority on distributions.- Returns:
- the priority on distributions
-
getResourceActivityType
Returns the operation's activity resource activity type id.- Returns:
- the resource activity type id
-
getActivityType
Returns the operation's activity type.- Returns:
- the activity type
-
setId
Sets the operation's activity id.- Parameters:
id- the operation activity id
-
setCode
Sets the operation's activity code.- Parameters:
code- the code
-
setDescription
Sets the operation's activity description.- Parameters:
description- the description
-
setActive
Sets the operation's activity to active.- Parameters:
active- true if the operation's activity must be active, false otherwise
-
setMultiDay
Sets the operation's activity to multi day.- Parameters:
multiDay- true if the operation's activity must be multi day, false otherwise
-
setOnDutyOnly
Sets the operation's activity requirement to on duty only.- Parameters:
onDutyOnly- true if the operation's activity must required only on duty resources, false otherwise
-
setExcludeIfOnAvailabilityOnDuty
Set the operation activity's exclusion- Parameters:
isOnCallExcluded- true if the operation activity's resource is on call and therefore the activity cannot be executed
-
setInterventionGroup
Sets the operation's activity intervention group id.- Parameters:
interventionGroup- the intervention group id
-
setDefaultOutcomeReason
Sets the operation's activity default outcome reason id.- Parameters:
defaultOutcomeReason- the default outcome reason id
-
setMinimumTimeForDay
Sets the operation's activity minimum time for day.- Parameters:
minimumTimeForDay- the minimum time for day
-
setMinimumTimeForSuspension
Sets the operation's activity minimum time for suspension.- Parameters:
minimumTimeForSuspension- the minimum time for suspension
-
setSchedulingType
Sets the operation's activity scheduling type id.- Parameters:
schedulingType- the scheduling type id
-
setPriorityOnDistributions
Sets the operation's activity priority on distributions.- Parameters:
priorityOnDistributions- the priority on distributions
-
setResourceActivityType
Sets the operation's activity resource activity type id.- Parameters:
resourceActivityType- the resource activity type id
-
setActivityType
Sets the activity type.- Parameters:
activityType- the activity type
-