make it compile again

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1260 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-09-05 06:07:32 +00:00
parent 4af3a4cbf5
commit e6d293bcc8
2 changed files with 14 additions and 4 deletions

View File

@ -11,5 +11,7 @@
<classpathentry kind="lib" path="/gridworks/webapp/WEB-INF/lib/slf4j-api-1.5.6.jar" sourcepath="/gridworks/webapp/WEB-INF/lib-src/slf4j-api-1.5.6-sources.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/gridworks-broker"/>
<classpathentry kind="lib" path="/gridworks/webapp/WEB-INF/lib/rhino-1.7R2.jar"/>
<classpathentry kind="lib" path="/gridworks/webapp/WEB-INF/lib/velocity-1.5.jar"/>
<classpathentry kind="lib" path="/gridworks/webapp/WEB-INF/lib/commons-collections-3.2.1.jar"/>
<classpathentry kind="output" path="module/MOD-INF/classes"/>
</classpath>

View File

@ -55,6 +55,14 @@ public class AppEngineGridworksBrokerImpl extends GridworksBroker {
// ---------------------------------------------------------------------------------
protected void expire(HttpServletResponse response) throws Exception {
// TODO: implement
}
protected void startProject(HttpServletResponse response, String pid, String uid, String lock, byte[] data, String metadata, List<String> transformations) throws Exception {
// TODO: implement
}
protected void expireLocks(HttpServletResponse response) throws Exception {
PersistenceManager pm = pmfInstance.getPersistenceManager();
@ -88,21 +96,21 @@ public class AppEngineGridworksBrokerImpl extends GridworksBroker {
}
}
protected void getState(HttpServletResponse response, String pid, String rev) throws Exception {
protected void getState(HttpServletResponse response, String pid, String uid, int rev) throws Exception {
PersistenceManager pm = pmfInstance.getPersistenceManager();
try {
// FIXME
// TODO: implement
respond(response, lockToJSON(getLock(pm,pid)));
} finally {
pm.close();
}
}
protected void obtainLock(HttpServletResponse response, String pid, String uid, String type) throws Exception {
protected void obtainLock(HttpServletResponse response, String pid, String uid, int locktype, String lockvalue) throws Exception {
PersistenceManager pm = pmfInstance.getPersistenceManager();
// FIXME (use type)
// TODO: implement
try {
Lock lock = getLock(pm, pid);