Package org.jresearch.flexess.core

Examples of org.jresearch.flexess.core.SecurityModelInfo


  private final Map<String, SecurityModelInfo> models = Collections.synchronizedMap(new HashMap<String, SecurityModelInfo>());

  @Override
  public void addModel(SecurityModel secModel, String modelString) {
    SecurityModelInfo info = new SecurityModelInfo();
    info.setOriginalModel(modelString);
    info.setSecurityModel(secModel);
    models.put(secModel.getId(), info);
  }
View Full Code Here


    models.put(secModel.getId(), info);
  }

  @Override
  public SecurityModel getModel(String modelId) {
    SecurityModelInfo info = models.get(modelId);
    if (info == null) {
      return null;
    }
    return info.getSecurityModel();
  }
View Full Code Here

    return models.isEmpty();
  }

  @Override
  public String getOriginalModel(String modelId) {
    SecurityModelInfo info = models.get(modelId);
    if (info == null) {
      return null;
    }
    return info.getOriginalModel();
  }
View Full Code Here

TOP

Related Classes of org.jresearch.flexess.core.SecurityModelInfo

Copyright © 2018 www.massapicom. 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.