DS-3851 add fixme to remember the need to remove getWorkflow group methods

This commit is contained in:
Andrea Bollini
2019-03-06 22:13:09 +01:00
parent 65d3495e18
commit d751d5dc59

View File

@@ -186,14 +186,20 @@ public class Collection extends DSpaceObject implements DSpaceObjectLegacySuppor
setModified(); setModified();
} }
// FIXME this should be moved to the collectionService or completely removed, see also
// https://jira.duraspace.org/browse/DS-3041
public Group getWorkflowStep1(Context context) { public Group getWorkflowStep1(Context context) {
return getCollectionService().getWorkflowGroup(context, this, 1); return getCollectionService().getWorkflowGroup(context, this, 1);
} }
// FIXME this should be moved to the collectionService or completely removed, see also
// https://jira.duraspace.org/browse/DS-3041
public Group getWorkflowStep2(Context context) { public Group getWorkflowStep2(Context context) {
return getCollectionService().getWorkflowGroup(context, this, 2); return getCollectionService().getWorkflowGroup(context, this, 2);
} }
// FIXME this should be moved to the collectionService or completely removed, see also
// https://jira.duraspace.org/browse/DS-3041
public Group getWorkflowStep3(Context context) { public Group getWorkflowStep3(Context context) {
return getCollectionService().getWorkflowGroup(context, this, 3); return getCollectionService().getWorkflowGroup(context, this, 3);
} }