|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.util.SubmissionConfigReader
public class SubmissionConfigReader
Item Submission configuration generator for DSpace. Reads and parses the installed submission process configuration file, item-submission.xml, from the configuration directory. This submission process definition details the ordering of the steps (and number of steps) that occur during the Item Submission Process. There may be multiple Item Submission processes defined, where each definition is assigned a unique name. The file also specifies which collections use which Item Submission process. At a minimum, the definitions file must define a default mapping from the placeholder collection # to the distinguished submission process 'default'. Any collections that use a custom submission process are listed paired with the name of the item submission process they use.
SubmissionConfig,
SubmissionStepConfig| Field Summary | |
|---|---|
static String |
DEFAULT_COLLECTION
The ID of the default collection. |
| Constructor Summary | |
|---|---|
SubmissionConfigReader()
Load Submission Configuration from the item-submission.xml configuration file |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_COLLECTION
| Constructor Detail |
|---|
public SubmissionConfigReader()
throws javax.servlet.ServletException
javax.servlet.ServletException| Method Detail |
|---|
public 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
workflow
javax.servlet.ServletException - if no default submission process configuration defined
public SubmissionStepConfig getStepConfig(String stepID)
throws javax.servlet.ServletException
Global step definitions are those defined in the
stepID - step's identifier
javax.servlet.ServletException - if no default submission process configuration defined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||