/* (non-Javadoc) * @see org.sakaiproject.citation.impl.BaseCitationService.Storage#updateSchemas(java.util.Collection) */ public void updateSchemas(Collection schemas) { Iterator it = schemas.iterator(); while (it.hasNext()) { Schema schema = (Schema) it.next(); this.m_schemas.put(schema.getIdentifier(), schema); } }
/* (non-Javadoc) * @see org.sakaiproject.citation.impl.BaseCitationService.Storage#removeSchema(org.sakaiproject.citation.api.Schema) */ public void removeSchema(Schema schema) { m_schemas.remove(schema.getIdentifier()); }
/* (non-Javadoc) * @see org.sakaiproject.citation.impl.BaseCitationService.Storage#updateSchema(org.sakaiproject.citation.api.Schema) */ public void updateSchema(Schema schema) { this.m_schemas.put(schema.getIdentifier(), schema); }
/* (non-Javadoc) * @see org.sakaiproject.citation.impl.BaseCitationService.Storage#putSchema(org.sakaiproject.citation.api.Schema) */ public Schema addSchema(Schema schema) { m_schemas.put(schema.getIdentifier(), schema); return schema; }