Class AbstractEffortExtension
java.lang.Object
ch.tocco.nice2.optional.timereport.api.action.AbstractEffortExtension
- All Implemented Interfaces:
TimereportModuleActionExtension
- Direct Known Subclasses:
CaseExtensionImpl
public abstract class AbstractEffortExtension
extends Object
implements TimereportModuleActionExtension
-
Nested Class Summary
-
Field Summary
Fields inherited from interface ch.tocco.nice2.optional.timereport.api.action.TimereportModuleActionExtension
dateFormat
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractEffortExtension
(Context context, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, EntityDefaultValueService entityDefaultValueService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGridRecords
(Collection<TimereportModuleActionService.GridRecord> list, TimereportModuleActionService.FilterData filter) void
extendGridRecord
(Entity timereportRecord, TimereportModuleActionService.GridRecord gridRecord) protected abstract String
protected abstract String
getSummaryString
(org.joda.time.LocalDate date, PrimaryKey contractPk) saveGridRecord
(TimereportModuleActionService.GridRecord gridRecord, TimereportModuleActionService.FilterData filter, Entity timereportRecord)
-
Constructor Details
-
AbstractEffortExtension
protected AbstractEffortExtension(Context context, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, EntityDefaultValueService entityDefaultValueService, TextResources textResources)
-
-
Method Details
-
getRelationName
-
getEntityName
-
extendGridRecord
public TimereportModuleActionService.GridRecord extendGridRecord(Entity timereportRecord, TimereportModuleActionService.GridRecord gridRecord) - Specified by:
extendGridRecord
in interfaceTimereportModuleActionExtension
-
addGridRecords
public void addGridRecords(Collection<TimereportModuleActionService.GridRecord> list, TimereportModuleActionService.FilterData filter) - Specified by:
addGridRecords
in interfaceTimereportModuleActionExtension
-
saveGridRecord
public Entity saveGridRecord(TimereportModuleActionService.GridRecord gridRecord, TimereportModuleActionService.FilterData filter, Entity timereportRecord) - Specified by:
saveGridRecord
in interfaceTimereportModuleActionExtension
-
getPkFieldName
- Specified by:
getPkFieldName
in interfaceTimereportModuleActionExtension
-
deleteGridRecord
- Specified by:
deleteGridRecord
in interfaceTimereportModuleActionExtension
-
getSummaryString
- Specified by:
getSummaryString
in interfaceTimereportModuleActionExtension
-
getSummaryTooltipString
- Specified by:
getSummaryTooltipString
in interfaceTimereportModuleActionExtension
-