[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:
Mark Diggory
2011-09-09 19:51:08 +00:00
parent f872d8efc8
commit 0c528afbd3
13 changed files with 281 additions and 281 deletions

View File

@@ -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