Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 117:4d725248f8d1
Added external API for users and collections.
artifacts/trunk@1340 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 01 Mar 2011 14:42:58 +0000 |
parents | 933bbc9fc11f |
children | 0e0c27bc0b90 |
comparison
equal
deleted
inserted
replaced
116:2707b7ec273f | 117:4d725248f8d1 |
---|---|
887 throw new ArtifactDatabaseException(NO_SUCH_SERVICE); | 887 throw new ArtifactDatabaseException(NO_SUCH_SERVICE); |
888 } | 888 } |
889 | 889 |
890 return service.process(input, context, callMeta); | 890 return service.process(input, context, callMeta); |
891 } | 891 } |
892 | |
893 // User API | |
894 | |
895 public Document listUsers(CallMeta callMeta) | |
896 throws ArtifactDatabaseException { | |
897 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
898 | |
899 } | |
900 | |
901 public Document createUser(Document data, CallMeta callMeta) | |
902 throws ArtifactDatabaseException { | |
903 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
904 } | |
905 | |
906 public Document deleteUser(String userId, CallMeta callMeta) | |
907 throws ArtifactDatabaseException { | |
908 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
909 } | |
910 | |
911 public Document listUsers(Document data, CallMeta callMeta) | |
912 throws ArtifactDatabaseException { | |
913 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
914 } | |
915 | |
916 // Collection API | |
917 | |
918 public Document listCollections(String userId, CallMeta callMeta) | |
919 throws ArtifactDatabaseException { | |
920 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
921 } | |
922 | |
923 public Document createCollection(String ownerId, Document data, | |
924 CallMeta callMeta) | |
925 throws ArtifactDatabaseException { | |
926 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
927 } | |
928 | |
929 public Document deleteCollection(String collectionId, CallMeta callMeta) | |
930 throws ArtifactDatabaseException { | |
931 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
932 } | |
933 | |
934 public Document getCollectionAttribute(String collectionId, String artifactId, | |
935 CallMeta callMeta) throws ArtifactDatabaseException { | |
936 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
937 } | |
938 | |
939 public Document setCollectionAttribute(String collectionId, String artifactId, | |
940 Document attribute, CallMeta callMeta) | |
941 throws ArtifactDatabaseException { | |
942 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
943 } | |
944 | |
945 public Document addCollectionArtifact(String collectionId, String artifactId, | |
946 CallMeta callMeta) throws ArtifactDatabaseException { | |
947 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
948 } | |
949 | |
950 public Document removeCollectionArtifact(String collectionId, String artifactId, | |
951 CallMeta callMeta) throws ArtifactDatabaseException { | |
952 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
953 } | |
954 | |
955 public Document listCollectionArtifacts(String collectionId, | |
956 CallMeta callMeta) throws ArtifactDatabaseException { | |
957 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
958 } | |
959 | |
960 public DeferredOutput outCollection(String collectionId, | |
961 Document format, CallMeta callMeta) | |
962 throws ArtifactDatabaseException{ | |
963 throw new ArtifactDatabaseException("Not implemented, yet!"); | |
964 } | |
965 | |
892 } | 966 } |
893 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 967 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |