Class BOActivity
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.workorders.bl.activity.BOActivity
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a generic activity.
- Since:
- 16.0
- 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 TypeMethodDescriptiongetCode()Gets the activity code.Gets the activity description.getId()Gets the activity ID.Gets the intervention group ID.Gets the minimum time for day.Gets the minimum time for suspension.Gets the scheduling mode ID.isActive()Checks if the activity is active.Checks if the activity is multi-day (interruptible).Checks if the activity has to be excluded if the resource is on call.Checks if the activity requires only on duty resources.voidSets the activity active status.voidSets the activity code.voidsetDescription(LocalizedString description) Sets the activity description.voidSets the activity ID.voidsetInterventionGroup(Long interventionGroup) Sets the intervention group ID.voidsetMinimumTimeForDay(Long minimumTimeForDay) Sets the minimum time for day.voidsetMinimumTimeForSuspension(Long minimumTimeForSuspension) Sets the minimum time for suspension.voidsetMultiDay(Boolean multiDay) Sets the activity multi-day status.voidsetOnCallExcluded(Boolean isOnCallExcluded) Sets the activity on call excluded status.voidsetOnDutyOnly(Boolean onDutyOnly) Sets the activity on duty only status.voidsetSchedulingMode(Long schedulingMode) Sets the scheduling mode 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
-
BOActivity
public BOActivity()
-
-
Method Details
-
getId
Gets the activity ID.- Returns:
- the activity ID
-
setId
Sets the activity ID.- Parameters:
id- the activity ID
-
getCode
Gets the activity code.- Returns:
- the activity code
-
setCode
Sets the activity code.- Parameters:
code- the activity code
-
getDescription
Gets the activity description.- Returns:
- the description
-
setDescription
Sets the activity description.- Parameters:
description- the description
-
isActive
Checks if the activity is active.- Returns:
- true if the activity is active, false otherwise
-
setActive
Sets the activity active status.- Parameters:
active- the active status
-
isMultiDay
Checks if the activity is multi-day (interruptible).- Returns:
- true if the activity is multi-day, false otherwise
-
setMultiDay
Sets the activity multi-day status.- Parameters:
multiDay- the multi-day status
-
getInterventionGroup
Gets the intervention group ID.- Returns:
- the intervention group ID
-
setInterventionGroup
Sets the intervention group ID.- Parameters:
interventionGroup- the intervention group ID
-
getSchedulingMode
Gets the scheduling mode ID.- Returns:
- the scheduling mode ID
-
setSchedulingMode
Sets the scheduling mode ID.- Parameters:
schedulingMode- the scheduling mode ID
-
isOnDutyOnly
Checks if the activity requires only on duty resources.- Returns:
- true if the activity requires only on duty resources, false otherwise
-
setOnDutyOnly
Sets the activity on duty only status.- Parameters:
onDutyOnly- the on duty only status
-
isOnCallExcluded
Checks if the activity has to be excluded if the resource is on call.- Returns:
- true if the activity has to be excluded, false otherwise
-
setOnCallExcluded
Sets the activity on call excluded status.- Parameters:
isOnCallExcluded- the on call excluded status
-
getMinimumTimeForDay
Gets the minimum time for day.- Returns:
- the minimum time for day
-
setMinimumTimeForDay
Sets the minimum time for day.- Parameters:
minimumTimeForDay- the minimum time for day
-
getMinimumTimeForSuspension
Gets the minimum time for suspension.- Returns:
- the minimum time for suspension
-
setMinimumTimeForSuspension
Sets the minimum time for suspension.- Parameters:
minimumTimeForSuspension- the minimum time for suspension
-