Class BOAgenda
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.schedule.intervention.agenda.BOAgenda
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a agenda
- 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 crew shell user.Returns the agenda end date.Returns the foreman id.Returns the agenda foreman scheduling id.getId()Returns the agenda id.Returns the last scheduling resource.Returns the main operation agenda id.Returns the agenda start date.getState()Returns the agenda state id.Returns the team resources.Returns the team resources string.booleanisClosed()Checks if the agenda is closed.booleanChecks if this is the main operation agenda.booleanChecks if the agenda is scheduled.voidsetCrewShellUser(Long crewShellUser) Sets the crew shell user.voidsetEndDate(Date endDate) Sets the agenda end date.voidsetForeman(Long foreman) Sets the foreman id.voidsetForemanScheduling(Long foremanScheduling) Sets the foreman scheduling id.voidSets the agenda id.voidsetLastSchedulingResource(Long lastSchedulingResource) Sets the last scheduling resource.voidsetMainOperationAgenda(Long mainOperationAgenda) Sets the main operation agenda id.voidsetStartDate(Date beginDate) Sets the agenda start date.voidSets the agenda state id.voidsetTeamResources(String teamResources) Sets the team resources.voidsetTeamResources(LongSet teamResources) Sets the team resources.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
-
BOAgenda
public BOAgenda()
-
-
Method Details
-
getId
Returns the agenda id.- Returns:
- the agenda id
-
setId
Sets the agenda id.- Parameters:
id- the agenda id
-
getMainOperationAgenda
Returns the main operation agenda id.- Returns:
- the main operation agenda id
- See Also:
-
setMainOperationAgenda
Sets the main operation agenda id.- Parameters:
mainOperationAgenda- the main operation agenda id- See Also:
-
isMainOperationAgenda
public boolean isMainOperationAgenda()Checks if this is the main operation agenda.- Returns:
- true, if this is the main operation agenda
-
getState
Returns the agenda state id.- Returns:
- the agenda state id
- See Also:
-
setState
Sets the agenda state id.- Parameters:
state- the agenda state id- See Also:
-
getStartDate
Returns the agenda start date.- Returns:
- the start date
-
setStartDate
Sets the agenda start date.- Parameters:
beginDate- the start date
-
getForemanScheduling
Returns the agenda foreman scheduling id.- Returns:
- the foreman scheduling id
- See Also:
-
setForemanScheduling
Sets the foreman scheduling id.- Parameters:
foremanScheduling- the foreman scheduling id- See Also:
-
getForeman
Returns the foreman id.- Returns:
- the foreman id
- See Also:
-
setForeman
Sets the foreman id.- Parameters:
foreman- the foreman id- See Also:
-
getTeamResources
Returns the team resources.- Returns:
- the team resources
-
setTeamResources
Sets the team resources.- Parameters:
teamResources- the team resources
-
getTeamResourcesString
Returns the team resources string.- Returns:
- the team resources string
-
setTeamResources
Sets the team resources.- Parameters:
teamResources- the team resources
-
isClosed
public boolean isClosed()Checks if the agenda is closed.- Returns:
- true, if the agenda is closed
-
isScheduled
public boolean isScheduled()Checks if the agenda is scheduled.- Returns:
- true, if the agenda is scheduled
-
getEndDate
Returns the agenda end date.- Returns:
- the end date
-
setEndDate
Sets the agenda end date.- Parameters:
endDate- the end date
-
getLastSchedulingResource
Returns the last scheduling resource.- Returns:
- the last scheduling resource
-
setLastSchedulingResource
Sets the last scheduling resource.- Parameters:
lastSchedulingResource- the last scheduling resource
-
getCrewShellUser
Returns the crew shell user.- Returns:
- the crew shell user
-
setCrewShellUser
Sets the crew shell user.- Parameters:
crewShellUser- the crew shell user
-