public String getModuleContentURL(
      ForegroundModuleDescriptor moduleDescriptor, HttpServletRequest req) {

    String moduleIdentifier;

    if (moduleDescriptor.getModuleID() != null) {

      moduleIdentifier = moduleDescriptor.getModuleID().toString();

    } else {

      moduleIdentifier = moduleDescriptor.getAlias();
    }

    return req.getContextPath()
        + this.sectionInterface.getSectionDescriptor().getFullAlias()
        + "/"
        + this.moduleDescriptor.getAlias()
        + "/f/"
        + moduleDescriptor.getSectionID()
        + "/"
        + moduleIdentifier;
  }
  @Override
  public void update(ForegroundModuleDescriptor moduleDescriptor, DataSource dataSource)
      throws Exception {

    this.moduleDescriptor = moduleDescriptor;

    ModuleUtils.setModuleSettings(
        this,
        StaticContentModule.class,
        moduleDescriptor.getMutableSettingHandler(),
        sectionInterface.getSystemInterface());

    loadGlobalContentLinks();

    checkInstanceHandlerRegistration(registerInInstanceHandler);
  }