Package io.goobi.viewer.managedbeans
Class UploadBean
java.lang.Object
io.goobi.viewer.managedbeans.UploadBean
- All Implemented Interfaces:
Serializable
UploadBean class.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates new Goobi workflow process via REST and uploads the images.Getter for the fieldcurrentUploadJob.Getter for the fieldlazyModelUploadJobs.voidinit()Initialize all campaigns as lazily loaded listvoidSetscurrentUploadJobto a fresh instance.voidsetBreadcrumbBean(UserBean userBean) Required setter for ManagedProperty injectionvoidsetCurrentUploadJob(UploadJob currentUploadJob) Setter for the fieldcurrentUploadJob.
-
Constructor Details
-
UploadBean
public UploadBean()
-
-
Method Details
-
setBreadcrumbBean
Required setter for ManagedProperty injection- Parameters:
userBean- the userBean to set
-
init
@PostConstruct public void init()Initialize all campaigns as lazily loaded list -
getLazyModelUploadJobs
Getter for the field
lazyModelUploadJobs.- Returns:
- the lazyModelUploadJobs
-
getCurrentUploadJob
Getter for the field
currentUploadJob.- Returns:
- the currentUploadJob
-
setCurrentUploadJob
Setter for the field
currentUploadJob.- Parameters:
currentUploadJob- the currentUploadJob to set
-
newUploadJobAction
public void newUploadJobAction()SetscurrentUploadJobto a fresh instance. -
createProcessAction
Creates new Goobi workflow process via REST and uploads the images.- Returns:
- Navigation target
-