code: public void loadInitialDefinition(
          final String entityId,
          final String newLink,
          final CmsUUID modelFileId,
          final String postCreateHandler,
          final String mode,
          final String mainLocale,
          final CmsEditHandlerData editHandlerData,
          Map<String, String> settingPresets,
          final I_CmsSimpleCallback<CmsContentDefinition> callback) {
  
          CmsRpcAction<CmsContentDefinition> action = new CmsRpcAction<CmsContentDefinition>() {
  
              @Override
              public void execute() {
  
                  start(0, true);
                  getService().loadInitialDefinition(
                      entityId,
                      m_clientId,
                      newLink,
                      modelFileId,
                      CmsCoreProvider.get().getUri(),
                      mainLocale,
                      postCreateHandler,
                      mode,
                      editHandlerData,
                      settingPresets,
                      this);
              }
  
              @Override
              protected void onResponse(final CmsContentDefinition result) {
  
                  if (result.isModelInfo()) {
                      stop(false);
                      callback.execute(result);
                  } else {
                      registerContentDefinition(result);
                      WidgetRegistry.getInstance().registerExternalWidgets(
                          result.getExternalWidgetConfigurations(),
                          new Command() {
  
                              public void execute() {
  
                                  stop(false);
                                  callback.execute(result);
                              }
                          });
                  }
              }
          };
          action.execute();
      }
docs: Loads the content definition for the given entity and executes the callback on success.<p>
  
  @param entityId the entity id
  @param newLink the new link
  @param modelFileId  the model file id
  @param postCreateHandler the post-create handler class name (optional)
  @param mode the content creation mode
  @param mainLocale the main language to copy in case the element language node does not exist yet
  @param editHandlerData the data for the edit handler, if one is used to create a new content; null otherwise
  @param settingPresets the presets for container element settings
  @param callback the callback