public class SubmissionConfigReader extends Object
SubmissionConfig,
SubmissionStepConfig| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_COLLECTION
The ID of the default collection.
|
| Constructor and Description |
|---|
SubmissionConfigReader()
Load Submission Configuration from the
item-submission.xml configuration file
|
| Modifier and Type | Method and Description |
|---|---|
SubmissionStepConfig |
getStepConfig(String stepID)
Returns a particular global step definition based on its ID.
|
SubmissionConfig |
getSubmissionConfig(String collectionHandle,
boolean isWorkflow)
Returns the Item Submission process config used for a particular
collection, or the default if none is defined for the collection
|
public static final String DEFAULT_COLLECTION
public SubmissionConfigReader()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic SubmissionConfig getSubmissionConfig(String collectionHandle, boolean isWorkflow) throws javax.servlet.ServletException
collectionHandle - collection's unique HandleisWorkflow - whether or not we are loading the submission process for a
workflowjavax.servlet.ServletException - if no default submission process configuration definedpublic SubmissionStepConfig getStepConfig(String stepID) throws javax.servlet.ServletException
Global step definitions are those defined in the
stepID - step's identifierjavax.servlet.ServletException - if no default submission process configuration definedCopyright © 2013 DuraSpace. All Rights Reserved.