Class TimereportModuleActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.timereport.impl.action.TimereportModuleActionServiceImpl
- All Implemented Interfaces:
TimereportModuleActionService
public class TimereportModuleActionServiceImpl
extends Object
implements TimereportModuleActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.timereport.api.action.TimereportModuleActionService
TimereportModuleActionService.AbsenceData, TimereportModuleActionService.FilterData, TimereportModuleActionService.FormInfo, TimereportModuleActionService.GridRecord, TimereportModuleActionService.GridRecordImpl
-
Field Summary
Fields inherited from interface ch.tocco.nice2.optional.timereport.api.action.TimereportModuleActionService
dateFormat
-
Constructor Summary
ConstructorDescriptionTimereportModuleActionServiceImpl
(Context context, QueryBuilderFactory queryBuilderFactory, TimereportService timereportService, LocaleResolverService localeResolverService, TextResources textResources, DefaultDisplayService defaultDisplayService, TimezoneResolverService timezoneResolverService, ValidationResultPrinter validationResultPrinter, CalendarManager calendarManager, PrincipalService principalService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteGridRecord
(TimereportModuleActionService.GridRecord gridRecord, TimereportModuleActionService.FilterData filterData) saveGridRecord
(TimereportModuleActionService.GridRecord gridRecord, TimereportModuleActionService.FilterData filterData) void
setExtensions
(List<TimereportModuleActionExtension> extensions)
-
Constructor Details
-
TimereportModuleActionServiceImpl
public TimereportModuleActionServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, TimereportService timereportService, LocaleResolverService localeResolverService, TextResources textResources, DefaultDisplayService defaultDisplayService, TimezoneResolverService timezoneResolverService, ValidationResultPrinter validationResultPrinter, CalendarManager calendarManager, PrincipalService principalService)
-
-
Method Details
-
getGridData
public JsonReaderResponse<TimereportModuleActionService.GridRecord> getGridData(TimereportModuleActionService.FilterData filter) - Specified by:
getGridData
in interfaceTimereportModuleActionService
-
getOverviewData
- Specified by:
getOverviewData
in interfaceTimereportModuleActionService
-
getFormInfo
- Specified by:
getFormInfo
in interfaceTimereportModuleActionService
-
getUnproductiveCodes
- Specified by:
getUnproductiveCodes
in interfaceTimereportModuleActionService
-
getDurationStore
- Specified by:
getDurationStore
in interfaceTimereportModuleActionService
-
setExtensions
@Autowired(required=false) public void setExtensions(List<TimereportModuleActionExtension> extensions) - Specified by:
setExtensions
in interfaceTimereportModuleActionService
-
saveGridRecord
public HashMap<String,String> saveGridRecord(TimereportModuleActionService.GridRecord gridRecord, TimereportModuleActionService.FilterData filterData) throws InterruptedException - Specified by:
saveGridRecord
in interfaceTimereportModuleActionService
- Throws:
InterruptedException
-
deleteGridRecord
public void deleteGridRecord(TimereportModuleActionService.GridRecord gridRecord, TimereportModuleActionService.FilterData filterData) - Specified by:
deleteGridRecord
in interfaceTimereportModuleActionService
-