|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.util.SubmissionConfig
public class SubmissionConfig
Class representing a single Item Submission config definition, organized into steps. This class represents the structure of a single 'submission-process' node in the item-submission.xml configuration file. Note: Implements Serializable as it will be saved to the current session during submission. Please ensure that nothing is added to this class that isn't also serializable
SubmissionConfigReader,
SubmissionStepConfig,
Serialized Form| Constructor Summary | |
|---|---|
SubmissionConfig(String submissionName,
List<Map<String,String>> steps,
boolean isWorkflowProcess)
Constructs a new Submission Configuration object, based on the XML configuration file (item-submission.xml) |
|
| Method Summary | |
|---|---|
int |
getNumberOfSteps()
Return the number of steps in this submission process |
SubmissionStepConfig |
getStep(int stepNum)
Retrieve a particular Step configuration in this Item Submission Process configuration. |
String |
getSubmissionName()
Return the name of the item submission process definition |
boolean |
hasMoreSteps(int stepNum)
Returns whether or not there are more steps which follow the specified "stepNum". |
boolean |
isWorkflow()
Return whether or not this submission process is being used in a workflow! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubmissionConfig(String submissionName,
List<Map<String,String>> steps,
boolean isWorkflowProcess)
submissionName - the submission process namesteps - the vector listing of step information to build
SubmissionStepConfig objects for this submission processisWorkflowProcess - whether this submission process is being used in a workflow or
not. If it is a workflow process this may limit the steps that
are available for editing.| Method Detail |
|---|
public String getSubmissionName()
public int getNumberOfSteps()
public boolean isWorkflow()
public SubmissionStepConfig getStep(int stepNum)
If you want to retrieve the step after the "select collection" step, you should retrieve step #1. If the specified step isn't found, null is returned.
stepNum - desired step to retrieve
public boolean hasMoreSteps(int stepNum)
stepNum - the current step.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||