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
-
Method Summary
Modifier and TypeMethodDescriptionCreates new Goobi workflow process via REST and uploads the images.Getter for the fieldcurrentUploadJob
.Getter for the fieldlazyModelUploadJobs
.void
init()
Initialize all campaigns as lazily loaded listvoid
SetscurrentUploadJob
to a fresh instance.void
setBreadcrumbBean
(UserBean userBean) Required setter for ManagedProperty injectionvoid
setCurrentUploadJob
(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()SetscurrentUploadJob
to a fresh instance. -
createProcessAction
Creates new Goobi workflow process via REST and uploads the images.- Returns:
- Navigation target
-