Class InboxDataExportBean

java.lang.Object
de.xima.fc.gui.bean.export.inbox.InboxDataExportBean
All Implemented Interfaces:
Serializable

@Named @ViewScoped public class InboxDataExportBean extends Object implements Serializable
Frontend controller bean for managing inbox data exports.
Since:
8.5.4
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • InboxDataExportBean

      public InboxDataExportBean()
  • Method Details

    • initSystemScope

      public void initSystemScope()
      Initializes this controller for use in the system scope.
    • initMandantScope

      public void initMandantScope()
      Initializes this controller for use in the mandant scope.
    • getMandantPicklistModel

      public org.primefaces.model.DualListModel<Mandant> 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

      public void onCreateExport() throws IOException
      Action handler for creating a new export.
      Throws:
      IOException - in case of an I/O error when creating the export
    • onDeleteExport

      public void onDeleteExport(InboxExportDescriptor descriptor) throws IOException
      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

      public List<org.primefaces.model.SortMeta> getInitialSorting()
    • getExportBasePath

      public Path getExportBasePath()
    • getAvailableExports

      public List<InboxExportDescriptor> getAvailableExports()
    • getExportScope

      public EInboxExportScope getExportScope()
    • setExportScope

      public void setExportScope(EInboxExportScope exportScope)
    • setMandantPicklistModel

      public void setMandantPicklistModel(org.primefaces.model.DualListModel<Mandant> mandantPicklistModel)
    • getArchiveSecret

      public String getArchiveSecret()
    • setArchiveSecret

      public void setArchiveSecret(String archiveSecret)
    • getDaysToKeepExport

      public int getDaysToKeepExport()
    • setDaysToKeepExport

      public void setDaysToKeepExport(int daysToKeepExport)
    • getInboxExportPermitted

      public Boolean getInboxExportPermitted()
    • getInboxExportCreationPermitted

      public Boolean getInboxExportCreationPermitted()
    • getInboxExportDeletionPermitted

      public Boolean getInboxExportDeletionPermitted()
    • getInboxExportDownloadPermitted

      public Boolean getInboxExportDownloadPermitted()