[DS-3431] Harden DSpace's BasicWorfklowService

This commit is contained in:
Pascal-Nicolas Becker
2017-04-18 17:06:55 +02:00
committed by Tim Donohue
parent b0ed059ab5
commit 04ec199ff3
23 changed files with 4740 additions and 290 deletions

View File

@@ -18,6 +18,7 @@ import org.hibernate.proxy.HibernateProxyHelper;
import javax.persistence.*;
import java.sql.SQLException;
import java.util.*;
import org.dspace.authorize.AuthorizeException;
/**
* Class representing a collection.
@@ -335,9 +336,10 @@ public class Collection extends DSpaceObject implements DSpaceObjectLegacySuppor
return Constants.COLLECTION;
}
public void setWorkflowGroup(int step, Group g)
public void setWorkflowGroup(Context context, int step, Group g)
throws SQLException, AuthorizeException
{
getCollectionService().setWorkflowGroup(this, step, g);
getCollectionService().setWorkflowGroup(context, this, step, g);
}
@Override