code: void save() {
  
          saveAndDeleteEntities(false, new I_CmsSimpleCallback<Boolean>() {
  
              public void execute(Boolean hasChangedSettings) {
  
                  setSaved();
                  setUnchanged();
                  m_hasChangedSettings = m_hasChangedSettings || hasChangedSettings.booleanValue();
              }
          });
      }
docs: Saves the content and closes the editor.<p>