private void loadFrom(WebApplication webapp, Attributes attrs) throws NamingException { webapp.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); webapp.setServicePath(LdapUtils.stringValue(attrs.get("dcmWebServicePath"), null)); webapp.setServiceClasses(LdapUtils.enumArray(WebApplication.ServiceClass.class, attrs.get("dcmWebServiceClass"))); webapp.setAETitle(LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); webapp.setApplicationClusters(LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); webapp.setInstalled(LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); }
private void loadFrom(WebApplication webapp, Attributes attrs) throws NamingException { webapp.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); webapp.setServicePath(LdapUtils.stringValue(attrs.get("dcmWebServicePath"), null)); webapp.setServiceClasses(LdapUtils.enumArray(WebApplication.ServiceClass.class, attrs.get("dcmWebServiceClass"))); webapp.setAETitle(LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); webapp.setApplicationClusters(LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); webapp.setInstalled(LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); }
private void loadFrom(WebApplicationInfo webappInfo, Attributes attrs, String deviceName) throws NamingException { webappInfo.setDeviceName(deviceName); webappInfo.setApplicationName(LdapUtils.stringValue(attrs.get("dcmWebAppName"), null)); webappInfo.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); webappInfo.setServicePath(LdapUtils.stringValue(attrs.get("dcmWebServicePath"), null)); webappInfo.setServiceClasses(LdapUtils.enumArray(WebApplication.ServiceClass.class, attrs.get("dcmWebServiceClass"))); webappInfo.setAETitle(LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); webappInfo.setApplicationClusters(LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); webappInfo.setInstalled(LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference"))) webappInfo.getConnections().add(findConnection(connDN)); }
private void loadFrom(WebApplicationInfo webappInfo, Attributes attrs, String deviceName) throws NamingException { webappInfo.setDeviceName(deviceName); webappInfo.setApplicationName(LdapUtils.stringValue(attrs.get("dcmWebAppName"), null)); webappInfo.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); webappInfo.setServicePath(LdapUtils.stringValue(attrs.get("dcmWebServicePath"), null)); webappInfo.setServiceClasses(LdapUtils.enumArray(WebApplication.ServiceClass.class, attrs.get("dcmWebServiceClass"))); webappInfo.setAETitle(LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); webappInfo.setApplicationClusters(LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); webappInfo.setInstalled(LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference"))) webappInfo.getConnections().add(findConnection(connDN)); }