[Building Sakai] Announcement Entitybroker and ReferenceParseable

Matthew Buckett matthew.buckett at oucs.ox.ac.uk
Thu Apr 7 09:47:37 PDT 2011


I'm just looking at adding support for getting an announcement through
the entity broker /direct URLs and to get an announcement message you
need to know the context (normally site ID) now I was thinking I'd
just put the context in the URL so I'd have URLs like:

/direct/announcement/{siteId}/{announcementId}

but the standard parsing of references doesn't seem to support this
model. After reading JavaDocs I find

org.sakaiproject.entitybroker.entityprovider.capabilities.ReferenceParseable

which says if I implement that I can parse my own references. However
implementing that interface and attempting
to request a announcement never shows the method:

org.sakaiproject.entitybroker.entityprovider.capabilities.ReferenceParseable.getParsedExemplar()

as getting called. In the JavaDoc for this method it also mentions
ParseSpecParseable but I can't find that in the source code anywhere.

Has anyone got this working?

-- 
  Matthew Buckett
  VLE Developer, LTG, Oxford University Computing Services


More information about the sakai-dev mailing list