コード例 #1
0
 /* (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);
   }
 }
コード例 #2
0
 /* (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());
 }
コード例 #3
0
 /* (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);
 }
コード例 #4
0
 /* (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;
 }