congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TransferCapability.getQueryOptions
Code IndexAdd Tabnine to your IDE (free)

How to use
getQueryOptions
method
in
org.dcm4che3.net.TransferCapability

Best Java code snippets using org.dcm4che3.net.TransferCapability.getQueryOptions (Showing top 8 results out of 315)

origin: dcm4che/dcm4che

private byte[] negotiate(ExtendedNegotiation exneg, TransferCapability tc) {
  if (exneg == null)
    return null;
  StorageOptions storageOptions = tc.getStorageOptions();
  if (storageOptions != null)
    return storageOptions.toExtendedNegotiationInformation();
  EnumSet<QueryOption> queryOptions = tc.getQueryOptions();
  if (queryOptions != null) {
    EnumSet<QueryOption> commonOpts = QueryOption.toOptions(exneg);
    commonOpts.retainAll(queryOptions);
    return QueryOption.toExtendedNegotiationInformation(commonOpts);
  }
  return null;
}
origin: org.dcm4che/dcm4che-net

private byte[] negotiate(ExtendedNegotiation exneg, TransferCapability tc) {
  if (exneg == null)
    return null;
  StorageOptions storageOptions = tc.getStorageOptions();
  if (storageOptions != null)
    return storageOptions.toExtendedNegotiationInformation();
  EnumSet<QueryOption> queryOptions = tc.getQueryOptions();
  if (queryOptions != null) {
    EnumSet<QueryOption> commonOpts = QueryOption.toOptions(exneg);
    commonOpts.retainAll(queryOptions);
    return QueryOption.toExtendedNegotiationInformation(commonOpts);
  }
  return null;
}
origin: dcm4che/dcm4che

private List<ModificationItem> storeDiffs(ConfigurationChanges.ModifiedObject ldapObj, TransferCapability a,
                     TransferCapability b, List<ModificationItem> mods) {
  LdapUtils.storeDiffObject(ldapObj, mods, "dicomSOPClass",
      a.getSopClass(),
      b.getSopClass(), null);
  LdapUtils.storeDiffObject(ldapObj, mods, "dicomTransferRole",
      a.getRole(),
      b.getRole(), null);
  LdapUtils.storeDiff(ldapObj, mods, "dicomTransferSyntax",
      a.getTransferSyntaxes(),
      b.getTransferSyntaxes());
  if (!extended)
    return mods;
  LdapUtils.storeDiffWithOrdinalPrefix(ldapObj, mods, "dcmPreferredTransferSyntax",
      a.getPreferredTransferSyntaxes(),
      b.getPreferredTransferSyntaxes());
  storeDiffs(ldapObj, a.getQueryOptions(), b.getQueryOptions(), mods);
  storeDiffs(ldapObj, a.getStorageOptions(), b.getStorageOptions(), mods);
  return mods;
}
origin: org.dcm4che/dcm4che-conf-ldap

private List<ModificationItem> storeDiffs(ConfigurationChanges.ModifiedObject ldapObj, TransferCapability a,
                     TransferCapability b, List<ModificationItem> mods) {
  LdapUtils.storeDiffObject(ldapObj, mods, "dicomSOPClass",
      a.getSopClass(),
      b.getSopClass(), null);
  LdapUtils.storeDiffObject(ldapObj, mods, "dicomTransferRole",
      a.getRole(),
      b.getRole(), null);
  LdapUtils.storeDiff(ldapObj, mods, "dicomTransferSyntax",
      a.getTransferSyntaxes(),
      b.getTransferSyntaxes());
  if (!extended)
    return mods;
  LdapUtils.storeDiffWithOrdinalPrefix(ldapObj, mods, "dcmPreferredTransferSyntax",
      a.getPreferredTransferSyntaxes(),
      b.getPreferredTransferSyntaxes());
  storeDiffs(ldapObj, a.getQueryOptions(), b.getQueryOptions(), mods);
  storeDiffs(ldapObj, a.getStorageOptions(), b.getStorageOptions(), mods);
  return mods;
}
origin: dcm4che/dcm4che

LdapUtils.storeNotEmpty(ldapObj, attrs, "dcmPreferredTransferSyntax",
    LdapUtils.addOrdinalPrefix(tc.getPreferredTransferSyntaxes()));
EnumSet<QueryOption> queryOpts = tc.getQueryOptions();
if (queryOpts != null) {
  LdapUtils.storeNotDef(ldapObj, attrs, "dcmRelationalQueries",
origin: dcm4che/dcm4che

if (extended) {
  writer.writeNotEmpty("dcmPreferredTransferSyntax", tc.getPreferredTransferSyntaxes());
  EnumSet<QueryOption> queryOpts = tc.getQueryOptions();
  StorageOptions storageOpts = tc.getStorageOptions();
  if (queryOpts != null || storageOpts != null) {
origin: org.dcm4che/dcm4che-conf-ldap

LdapUtils.storeNotEmpty(ldapObj, attrs, "dcmPreferredTransferSyntax",
    LdapUtils.addOrdinalPrefix(tc.getPreferredTransferSyntaxes()));
EnumSet<QueryOption> queryOpts = tc.getQueryOptions();
if (queryOpts != null) {
  LdapUtils.storeNotDef(ldapObj, attrs, "dcmRelationalQueries",
origin: org.dcm4che/dcm4che-conf-json

if (extended) {
  writer.writeNotEmpty("dcmPreferredTransferSyntax", tc.getPreferredTransferSyntaxes());
  EnumSet<QueryOption> queryOpts = tc.getQueryOptions();
  StorageOptions storageOpts = tc.getStorageOptions();
  if (queryOpts != null || storageOpts != null) {
org.dcm4che3.netTransferCapabilitygetQueryOptions

Popular methods of TransferCapability

  • <init>
  • getSopClass
    Get the SOP Class of this Transfer Capability object.
  • getTransferSyntaxes
    Get the transfer syntax(es) that may be requested as an SCU or that are offered as an SCP.
  • setCommonName
  • setRole
  • setTransferSyntaxes
  • getCommonName
    get the name of the Transfer Capability object. Can be a meaningful name or any unique sequence of c
  • getRole
    Get the role for this TransferCapabilityinstance.
  • getStorageOptions
  • setQueryOptions
  • setSopClass
  • getPreferredTransferSyntaxes
  • setSopClass,
  • getPreferredTransferSyntaxes,
  • setPreferredTransferSyntaxes,
  • setStorageOptions,
  • containsTransferSyntax,
  • deepCopy,
  • promptTo,
  • retainAcceptable,
  • selectTransferSyntax

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now