Class BOTimesheetHeader
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.timesheet.header.BOTimesheetHeader
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a timesheet header.
- 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 end date of the timesheet.Checks whether the "forced closure" flag is active or not.getId()Returns the timesheet header id.Returns the timesheet profile id.Returns the start date of the timesheet.getState()Returns the id of the timesheet header state.getType()Returns the id of the timesheet header type.getUser()Returns the id of the timesheet header user.voidsetEndDate(Date endDate) Sets the end date of the timesheet.voidsetForcedClosure(Boolean forcedClosure) Sets the "forced closure" flag.voidSets the timesheet header id.voidsetProfile(Long profile) Sets the timesheet profile id.voidsetStartDate(Date startDate) Sets the start date of the timesheet.voidSets the id of the timesheet header state.voidSets the id of the timesheet header type.voidSets the id of the timesheet header user.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
-
BOTimesheetHeader
public BOTimesheetHeader()
-
-
Method Details
-
getId
Returns the timesheet header id.- Returns:
- the the timesheet header id
-
setId
Sets the timesheet header id.- Parameters:
id- the timesheet header id
-
getUser
Returns the id of the timesheet header user.- Returns:
- the user id
- See Also:
-
setUser
Sets the id of the timesheet header user.- Parameters:
user- the user id- See Also:
-
getType
Returns the id of the timesheet header type.- Returns:
- the type id
- See Also:
-
setType
Sets the id of the timesheet header type.- Parameters:
type- the type id- See Also:
-
getState
Returns the id of the timesheet header state.- Returns:
- the state id
- See Also:
-
setState
Sets the id of the timesheet header state.- Parameters:
state- the state id- See Also:
-
getStartDate
Returns the start date of the timesheet. If the timesheet type is:-
BOTimesheetType.Values.DAILY: the date represents the start date -
BOTimesheetType.Values.WEEKLY: the date is the Monday of the indicated week -
BOTimesheetType.Values.MONTHLY: the date represents the first day of the indicated month
- Returns:
- the start date
-
-
setStartDate
Sets the start date of the timesheet. If the timesheet type is:-
BOTimesheetType.Values.DAILY: the date represents the start date -
BOTimesheetType.Values.WEEKLY: the date is the Monday of the indicated week -
BOTimesheetType.Values.MONTHLY: the date represents the first day of the indicated month
- Parameters:
startDate- the start date
-
-
getEndDate
Returns the end date of the timesheet. If the timesheet type is:-
BOTimesheetType.Values.DAILY: the date represents the end date, which is equal to the start one -
BOTimesheetType.Values.WEEKLY: the date is the Sunday of the indicated week -
BOTimesheetType.Values.MONTHLY: the date represents the last day of the indicated month
- Returns:
- the end date
-
-
setEndDate
Sets the end date of the timesheet. If the timesheet type is:-
BOTimesheetType.Values.DAILY: the date represents the end date, which is equal to the start one -
BOTimesheetType.Values.WEEKLY: the date is the Sunday of the indicated week -
BOTimesheetType.Values.MONTHLY: the date represents the last day of the indicated month
- Parameters:
endDate- the end date
-
-
getForcedClosure
Checks whether the "forced closure" flag is active or not.- Returns:
- true if the timesheet was forcefully closed, false otherwise
-
setForcedClosure
Sets the "forced closure" flag.- Parameters:
forcedClosure- true if the timesheet was forcefully closed, false otherwise
-
getProfile
Returns the timesheet profile id.- Returns:
- the profile id
- See Also:
-
setProfile
Sets the timesheet profile id.- Parameters:
profile- the profile id- See Also:
-