Class UploadBean

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

@Named @ViewScoped public class UploadBean extends Object implements Serializable
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() throws DAOException
      Initialize all campaigns as lazily loaded list
      Throws:
      DAOException
    • getLazyModelUploadJobs

      public TableDataProvider<UploadJob> getLazyModelUploadJobs()
      Returns:
      the lazyModelUploadJobs
    • getCurrentUploadJob

      public UploadJob getCurrentUploadJob()
      Returns:
      the currentUploadJob
    • setCurrentUploadJob

      public void setCurrentUploadJob(UploadJob 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