Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java @ 141:5d40faf1484d
Added a Rest resource that lists all collections of a specific user.
artifacts/trunk@1366 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 02 Mar 2011 13:31:59 +0000 |
parents | f141ae401a00 |
children | e986e32bc7d4 |
comparison
equal
deleted
inserted
replaced
140:f141ae401a00 | 141:5d40faf1484d |
---|---|
76 router.attach(CreateUserResource.PATH, CreateUserResource.class); | 76 router.attach(CreateUserResource.PATH, CreateUserResource.class); |
77 router.attach(ListUsersResource.PATH, ListUsersResource.class); | 77 router.attach(ListUsersResource.PATH, ListUsersResource.class); |
78 router.attach(UserResource.PATH, UserResource.class); | 78 router.attach(UserResource.PATH, UserResource.class); |
79 router.attach( | 79 router.attach( |
80 CreateCollectionResource.PATH, CreateCollectionResource.class); | 80 CreateCollectionResource.PATH, CreateCollectionResource.class); |
81 router.attach( | |
82 ListCollectionsResource.PATH, ListCollectionsResource.class); | |
81 | 83 |
82 return router; | 84 return router; |
83 } | 85 } |
84 } | 86 } |
85 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 87 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |