Mercurial > dive4elements > framework
diff artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java @ 156:a76de72ad6d1
Added stubs for the collection handling in db backend.
Added missing attribute column to the collection item table.
artifacts/trunk@1381 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 03 Mar 2011 09:53:02 +0000 |
parents | 1a72f08ce8d7 |
children | 6e6965873a48 |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java Thu Mar 03 09:51:09 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java Thu Mar 03 09:53:02 2011 +0000 @@ -1080,5 +1080,59 @@ return null; } + + public Collection [] listCollections(String userId) { + // TODO: Implement me! + return null; + } + + public Collection createCollection(String ownerId, Document data) { + // TODO: Implement me! + return null; + } + + public boolean deleteCollection(String collectionId) { + // TODO: Implement me! + return false; + } + + public Document getCollectionAttribute( + String collectionId, + String artifactId + ) { + // TODO: Implement me! + return null; + } + + public boolean setCollectionAttribute( + String collectionId, + String artifactId, + Document attribute + ) { + // TODO: Implement me! + return false; + } + + public boolean addCollectionArtifact( + String collectionId, + String artifactId + ) { + // TODO: Implement me! + return false; + } + + public boolean removeCollectionArtifact( + String collectionId, + String artifactId + ) { + // TODO: Implement me! + return false; + } + + public Collection [] listCollectionArtifacts(String collectionId) { + // TODO: Implement me! + return null; + } + } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :