Class ReservationExportActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.reservation.impl.actions.ReservationExportActionServiceImpl
- All Implemented Interfaces:
ReservationExportActionService
public class ReservationExportActionServiceImpl
extends Object
implements ReservationExportActionService
-
Constructor Summary
ConstructorDescriptionReservationExportActionServiceImpl
(CalendarManager calendarManager, Context context, EntityExplorerActionSelectionService selectionService, SecurityManager securityManager, OutputCenterService outputCenterService) -
Method Summary
Modifier and TypeMethodDescriptiongenerateExport
(List<PrimaryKey> entityKeyList, String path, String fileName) This method runs in privileged mode, so make sure that the given `entityKeyList` was *not* loaded in privileged mode and that the current user is actually allowed to see them, otherwise this method might generate an export containing data the current user is not allowed to see.iCalExport
(EntityExplorerActionSelection selection, String relatedEntityName, String path, String fileName) iCalExport
(String[] selection, String relatedEntityName, String path, String fileName) void
-
Constructor Details
-
ReservationExportActionServiceImpl
public ReservationExportActionServiceImpl(CalendarManager calendarManager, Context context, EntityExplorerActionSelectionService selectionService, SecurityManager securityManager, OutputCenterService outputCenterService)
-
-
Method Details
-
iCalExport
public String iCalExport(String[] selection, String relatedEntityName, String path, String fileName) - Specified by:
iCalExport
in interfaceReservationExportActionService
-
iCalExport
public String iCalExport(EntityExplorerActionSelection selection, String relatedEntityName, String path, String fileName) - Specified by:
iCalExport
in interfaceReservationExportActionService
-
generateExport
Description copied from interface:ReservationExportActionService
This method runs in privileged mode, so make sure that the given `entityKeyList` was *not* loaded in privileged mode and that the current user is actually allowed to see them, otherwise this method might generate an export containing data the current user is not allowed to see.- Specified by:
generateExport
in interfaceReservationExportActionService
- Parameters:
entityKeyList
- The keys to create the export for (must *not* be loaded in privileged mode)- Returns:
- the generated Output_job entity
-
setIgnoredICalRelations
-