Class UploadBean

java.lang.Object
io.goobi.viewer.managedbeans.UploadBean
All Implemented Interfaces:
Serializable

@Named @ViewScoped public class UploadBean extends Object implements Serializable

UploadBean class.

See Also:
  • Constructor Details

    • UploadBean

      public UploadBean()
  • Method Details

    • setBreadcrumbBean

      public void setBreadcrumbBean(UserBean userBean)
      Required setter for ManagedProperty injection
      Parameters:
      userBean - the userBean to set
    • init

      @PostConstruct public void init()
      Initialize all campaigns as lazily loaded list
    • getLazyModelUploadJobs

      public TableDataProvider<UploadJob> getLazyModelUploadJobs()

      Getter for the field lazyModelUploadJobs.

      Returns:
      the lazyModelUploadJobs
    • getCurrentUploadJob

      public UploadJob getCurrentUploadJob()

      Getter for the field currentUploadJob.

      Returns:
      the currentUploadJob
    • setCurrentUploadJob

      public void setCurrentUploadJob(UploadJob currentUploadJob)

      Setter for the field currentUploadJob.

      Parameters:
      currentUploadJob - the currentUploadJob to set
    • newUploadJobAction

      public void newUploadJobAction()
      Sets currentUploadJob to a fresh instance.
    • createProcessAction

      public String createProcessAction()
      Creates new Goobi workflow process via REST and uploads the images.
      Returns:
      Navigation target