mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 14:33:09 +00:00
[DS-968] XML configurable workflow : Adjust table naming convention to not use "XML" as we will make this database driven in the near future. Best to do this prior to release to not complicate demo upgrades and testing. org.dspace.xmlworkflow Package will be renamed after RC releases.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6677 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -989,15 +989,15 @@ public class EPerson extends DSpaceObject
|
||||
private void getXMLWorkflowConstraints(List<String> tableList) throws SQLException {
|
||||
TableRowIterator tri;
|
||||
// check for eperson in claimtask table
|
||||
tri = DatabaseManager.queryTable(myContext, "xmlwf_claimtask",
|
||||
"SELECT * from xmlwf_claimtask where owner_id= ? ",
|
||||
tri = DatabaseManager.queryTable(myContext, "cwf_claimtask",
|
||||
"SELECT * from cwf_claimtask where owner_id= ? ",
|
||||
getID());
|
||||
|
||||
try
|
||||
{
|
||||
if (tri.hasNext())
|
||||
{
|
||||
tableList.add("xmlwf_claimtask");
|
||||
tableList.add("cwf_claimtask");
|
||||
}
|
||||
}
|
||||
finally
|
||||
@@ -1010,15 +1010,15 @@ public class EPerson extends DSpaceObject
|
||||
}
|
||||
|
||||
// check for eperson in pooltask table
|
||||
tri = DatabaseManager.queryTable(myContext, "xmlwf_pooltask",
|
||||
"SELECT * from xmlwf_pooltask where eperson_id= ? ",
|
||||
tri = DatabaseManager.queryTable(myContext, "cwf_pooltask",
|
||||
"SELECT * from cwf_pooltask where eperson_id= ? ",
|
||||
getID());
|
||||
|
||||
try
|
||||
{
|
||||
if (tri.hasNext())
|
||||
{
|
||||
tableList.add("xmlwf_pooltask");
|
||||
tableList.add("cwf_pooltask");
|
||||
}
|
||||
}
|
||||
finally
|
||||
@@ -1031,15 +1031,15 @@ public class EPerson extends DSpaceObject
|
||||
}
|
||||
|
||||
// check for eperson in workflowitemrole table
|
||||
tri = DatabaseManager.queryTable(myContext, "xmlwf_workflowitemrole",
|
||||
"SELECT * from xmlwf_workflowitemrole where eperson_id= ? ",
|
||||
tri = DatabaseManager.queryTable(myContext, "cwf_workflowitemrole",
|
||||
"SELECT * from cwf_workflowitemrole where eperson_id= ? ",
|
||||
getID());
|
||||
|
||||
try
|
||||
{
|
||||
if (tri.hasNext())
|
||||
{
|
||||
tableList.add("xmlwf_workflowitemrole");
|
||||
tableList.add("cwf_workflowitemrole");
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
Reference in New Issue
Block a user