Class InboxDataExportBean
java.lang.Object
de.xima.fc.gui.bean.export.inbox.InboxDataExportBean
- All Implemented Interfaces:
Serializable
Frontend controller bean for managing inbox data exports.
- Since:
- 8.5.4
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintList<org.primefaces.model.SortMeta> org.primefaces.model.DualListModel<Mandant> Lazy getter for the picklist model to select the Mandants to be included in the system-scoped export.voidInitializes this controller for use in themandantscope.voidInitializes this controller for use in thesystemscope.booleanvoidAction handler for creating a new export.voidonDeleteExport(InboxExportDescriptor descriptor) Deletes the export belonging to the provided export descriptor.voidAction handler for refresh requests, reloads the list of existing exports.voidsetArchiveSecret(String archiveSecret) voidsetDaysToKeepExport(int daysToKeepExport) voidsetExportScope(EInboxExportScope exportScope) voidsetMandantPicklistModel(org.primefaces.model.DualListModel<Mandant> mandantPicklistModel)
-
Constructor Details
-
InboxDataExportBean
public InboxDataExportBean()
-
-
Method Details
-
initSystemScope
public void initSystemScope()Initializes this controller for use in thesystemscope. -
initMandantScope
public void initMandantScope()Initializes this controller for use in themandantscope. -
getMandantPicklistModel
Lazy getter for the picklist model to select the Mandants to be included in the system-scoped export.- Returns:
- the prepared model for export scope 'system', null otherwise.
-
onRefresh
public void onRefresh()Action handler for refresh requests, reloads the list of existing exports. -
onCreateExport
Action handler for creating a new export.- Throws:
IOException- in case of an I/O error when creating the export
-
onDeleteExport
Deletes the export belonging to the provided export descriptor.- Parameters:
descriptor- the descriptor for the export to delete- Throws:
IOException- in case of an I/O error when deleting the export
-
isInProgress
public boolean isInProgress()- Returns:
- true if an export is currently in progress, otherwise false
-
getInitialSorting
-
getExportBasePath
-
getAvailableExports
-
getExportScope
-
setExportScope
-
setMandantPicklistModel
public void setMandantPicklistModel(org.primefaces.model.DualListModel<Mandant> mandantPicklistModel) -
getArchiveSecret
-
setArchiveSecret
-
getDaysToKeepExport
public int getDaysToKeepExport() -
setDaysToKeepExport
public void setDaysToKeepExport(int daysToKeepExport) -
getInboxExportPermitted
-
getInboxExportCreationPermitted
-
getInboxExportDeletionPermitted
-
getInboxExportDownloadPermitted
-