Examples of ISettings


Examples of org.jresearch.flexess.umi.provider.ISettings

    return dao.getSettingsList();
  }

  @Override
  public ISettings saveSettings(ISettings settings) {
    ISettings dbsettings = dao.saveSettings(settings);
    managers.remove(dbsettings.getId());
    return dbsettings;
  }
View Full Code Here

Examples of org.jresearch.flexess.umi.provider.ISettings

    managers.remove(id);
  }

  @Override
  public IUmiUserManager getUserManager(String id) throws UmiUserManagementException {
    ISettings settings = getSettings(id);
    if (settings == null) {
      String message = "unable to retrive settings by id= " + id; //$NON-NLS-1$
      logger.debug(message);
      throw new UmiUserManagementException(message);
    }
View Full Code Here

Examples of org.jresearch.flexess.umi.provider.ISettings

   * @param existSettings
   */
  private void check(final Collection<ISettings> existSettings) {
    final Iterator<ISettings> iterator = existSettings.iterator();
    while (iterator.hasNext()) {
      final ISettings settings = iterator.next();
      final IPropertyGroup group = settings.getPropertyGroups().get(GROUP_NAME);
      if (group != null) {
        final String beanId = group.getPropertyValue(PROPERTY);
        if (beanId != null && applicationContext.containsBean(beanId)) {
          continue;
        }
      }
      umiManagement.deleteSettings(settings.getId());
      iterator.remove();
    }
  }
View Full Code Here

Examples of org.jresearch.flexess.umi.provider.ISettings

  }

  private String getUserManagerId() throws AuthenticationException {
    final List<IApplicationMetaInfo> applications = applicationService.getApplications();
    for (final IApplicationMetaInfo app : applications) {
      final ISettings umiSettings = app.getUmiSettings();
      if (umiSettings != null) {
        return umiSettings.getId();
      }
    }
    throw new AuthenticationException("No usermanager specified in any application model"); //$NON-NLS-1$
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.