abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Ventimiglia <dvent...@gmail.com>
Subject Re: Empty workspaces
Date Mon, 26 Mar 2012 15:37:19 GMT
But according to the Atom Pub spec a workspace may contain zero or more
collections.  How can an Abdera workspace contain zero collections if it
throws a NullPointerException?
On Mar 26, 2012 8:31 AM, "Christophe Dupriez" <dupriez@squadratic.com>
wrote:

> I have a single Workspace so it is not empty!
> I prefer to have multiple Abdera services for different information types,
> one workspace for services and many collections per workspace.
> I follow (roughly) the OData convention + OpenSearch:
> http://host/application/**service.svc/collection(record-**id)?opensearch<http://host/application/service.svc/collection(record-id)?opensearch>parameters
>
> Most of the job is to have a correct Provider and to implement the
> CollectionAdapter.
>
> Have a nice evening,
>
> Christophe
>
> Le 26/03/2012 17:15, David Ventimiglia a écrit :
>
>> Hi,
>>
>> If I create a DefaultProvider and add a SimpleWorkspaceInfo to it, but
>> don't add a CollectionAdapter to that, I get a NullPointerException.  How
>> is an empty workspace, with no collections, to be represented?
>>
>> Thanks, David.
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message