/* (non-Javadoc) * @see org.sakaiproject.citation.impl.BaseCitationService.Storage#saveCitation(org.sakaiproject.citation.api.Citation) */ public void saveCitation(Citation edit) { this.m_citations.put(edit.getId(), edit); }
/* (non-Javadoc) * @see org.sakaiproject.citation.impl.BaseCitationService.Storage#addCitation(java.lang.String) */ public Citation addCitation(String mediatype) { Citation citation = new BasicCitation(mediatype); this.m_citations.put(citation.getId(), citation); return citation; }
/* (non-Javadoc) * @see org.sakaiproject.citation.impl.BaseCitationService.Storage#removeCitation(org.sakaiproject.citation.api.CitationEdit) */ public void removeCitation(Citation edit) { this.m_citations.remove(edit.getId()); }