mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Make config Serializable as it is stored in the current session - otherwise prevents clustering
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2939 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -42,6 +42,7 @@ package org.dspace.app.util;
|
||||
|
||||
import java.util.Vector;
|
||||
import java.util.Map;
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@@ -49,6 +50,9 @@ import org.apache.log4j.Logger;
|
||||
* 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
|
||||
*
|
||||
* @see org.dspace.app.util.SubmissionConfigReader
|
||||
* @see org.dspace.app.util.SubmissionStepConfig
|
||||
@@ -57,7 +61,7 @@ import org.apache.log4j.Logger;
|
||||
* @version $Revision$
|
||||
*/
|
||||
|
||||
public class SubmissionConfig
|
||||
public class SubmissionConfig implements Serializable
|
||||
{
|
||||
/** name of the item submission process */
|
||||
private String submissionName = null;
|
||||
|
@@ -41,6 +41,7 @@
|
||||
package org.dspace.app.util;
|
||||
|
||||
import java.util.Map;
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@@ -49,6 +50,9 @@ import org.apache.log4j.Logger;
|
||||
* Process. In other words, this is a single step in the SubmissionConfig class.
|
||||
* This class represents the structure of a single 'step' 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
|
||||
*
|
||||
* @see org.dspace.app.util.SubmissionConfigReader
|
||||
* @see org.dspace.app.util.SubmissionConfig
|
||||
@@ -56,7 +60,7 @@ import org.apache.log4j.Logger;
|
||||
* @author Tim Donohue
|
||||
* @version $Revision$
|
||||
*/
|
||||
public class SubmissionStepConfig
|
||||
public class SubmissionStepConfig implements Serializable
|
||||
{
|
||||
/*
|
||||
* The identifier for the Select Collection step
|
||||
|
Reference in New Issue
Block a user