public void commitResource(ContentResourceEdit edit) throws ServerOverloadException { // keep the body out of the XML boolean goin = in(); try { if (resolver != null && goin) { resolver.commitResource(edit); } else { BaseResourceEdit redit = (BaseResourceEdit) edit; if (redit.m_contentStream != null) { } else if (redit.m_body != null) { } else { } m_resourceStore.commitResource(edit); } resourceCache.remove(edit.getId()); } finally { out(); } }
public void commitCollection(ContentCollectionEdit edit) { boolean goin = in(); try { if (resolver != null && goin) { resolver.commitCollection(edit); } else { m_collectionStore.commitResource(edit); } collectionCache.remove(edit.getId()); } finally { out(); } }