<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>The File Registry API on sillysky.net</title>
    <link>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/</link>
    <description>Recent content in The File Registry API on sillysky.net</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 09 Dec 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CRecordFileRegistryAddFileInfos</title>
      <link>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryaddfileinfos/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryaddfileinfos/</guid>
      <description>&lt;p&gt;This message is used for registering files in the FileRegistry. It contains an&#xA;array with file information: relative path, hash value, file timestamps, and&#xA;the address of the FileStore where the file is stored.&lt;/p&gt;&#xA;&lt;p&gt;This message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/&#34;&gt;The File Registry API&lt;/a&gt; API.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;{&#xA;  &#34;id&#34;: &#34;1b7e5d1b-9da8-40d4-9aa4-accb093e7f96&#34;,&#xA;  &#34;name&#34;: &#34;FILE_REGISTRY_ADD_FILE_INFOS&#34;,&#xA;  &#34;isNanoService&#34;: false,&#xA;  &#34;type&#34;: &#34;REQUEST&#34;,&#xA;  &#34;description&#34;: &#34;Add information about files to the file registry.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;rec&#34;,&#xA;      &#34;name&#34;: &#34;FILE_INFO&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;RECORD_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;The information about files to store in the file registry.&#xA;                      Records are from type &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;FILE_REGISTRY_FILE_INFO&lt;/a&gt;&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;slot-description&#34;&gt;Slot Description&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/id/&#34;&gt;Key&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Name&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/libraries/ny_recorddatabase/etransportdirection/&#34;&gt;Direction&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/libraries/ny_recorddatabase/epresenceconstraint/&#34;&gt;Presence Constraint&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/slot-types/&#34;&gt;Type&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Description&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;rec&lt;/td&gt;&#xA;          &lt;td&gt;FILE_INFO&lt;/td&gt;&#xA;          &lt;td&gt;REQUEST&lt;/td&gt;&#xA;          &lt;td&gt;MANDATORY&lt;/td&gt;&#xA;          &lt;td&gt;RECORD_ARRAY&lt;/td&gt;&#xA;          &lt;td&gt;The information about files to store in the file registry.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;Records are from type &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;FILE_REGISTRY_FILE_INFO&lt;/a&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;p&gt;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;// create a list of records with file information&#xA;final List&lt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt;&gt; list = new ArrayList&lt;&gt;();&#xA;for (...)&#xA;{&#xA;    final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt; rec = &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.create();&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setPath(rec,&#xA;                                        ...);&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setHash(rec,&#xA;                                        ...);&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setTimeOfLastModification(rec,&#xA;                                                          ...);&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setSourceAddress(rec,&#xA;                                                 ...);&#xA;    list.add(rec);&#xA;}&#xA;&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt;[] arr = list.toArray(new &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt;[0]);&#xA;&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/id/&#34;&gt;IId&lt;/a&gt; microServiceId = &lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/cidfactory/&#34;&gt;CIdFactory&lt;/a&gt;.fromObject(&#34;file.registry&#34;);&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt; env = &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt;.forMicroService(microServiceId);&#xA;&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt; record = &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryaddfileinfos/&#34;&gt;CRecordFileRegistryAddFileInfos&lt;/a&gt;.create();&#xA;&lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryaddfileinfos/&#34;&gt;CRecordFileRegistryAddFileInfos&lt;/a&gt;.setFileInfo(record,&#xA;                                            arr);&#xA;&#xA;sendNotification(env,&#xA;                 record);&lt;/code&gt;&lt;/pre&gt;&#xA; &lt;h2 class=&#34;uk-h2&#34;&gt;Record Usage&lt;/h2&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>CRecordFileRegistryFileInfo</title>
      <link>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/</guid>
      <description>&lt;p&gt;This record contains information about a file.&lt;/p&gt;&#xA;&lt;p&gt;This message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/&#34;&gt;The File Registry API&lt;/a&gt; API.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;{&#xA;  &#34;id&#34;: &#34;e8994dd7-39e6-4acb-ab91-e680f2daf591&#34;,&#xA;  &#34;name&#34;: &#34;FILE_REGISTRY_FILE_INFO&#34;,&#xA;  &#34;isNanoService&#34;: false,&#xA;  &#34;type&#34;: &#34;DATA_RECORD&#34;,&#xA;  &#34;description&#34;: &#34;information about a file.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;PATH&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The relative path of the file.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;2&#34;,&#xA;      &#34;name&#34;: &#34;HASH&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The base-32-encoded hash of the file.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;3&#34;,&#xA;      &#34;name&#34;: &#34;TIME_OF_LAST_MODIFICATION&#34;,&#xA;      &#34;type&#34;: &#34;INSTANT&#34;,&#xA;      &#34;description&#34;: &#34;The time of the last modification of the file.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;4&#34;,&#xA;      &#34;name&#34;: &#34;SOURCE_ADDRESS&#34;,&#xA;      &#34;type&#34;: &#34;TARGET_ADDRESS&#34;,&#xA;      &#34;description&#34;: &#34;The target address of the source of the file (optional, if missing the sender address will be used).&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;slot-description&#34;&gt;Slot Description&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/id/&#34;&gt;Key&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Name&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/slot-types/&#34;&gt;Type&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Description&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;1&lt;/td&gt;&#xA;          &lt;td&gt;PATH&lt;/td&gt;&#xA;          &lt;td&gt;STRING&lt;/td&gt;&#xA;          &lt;td&gt;The relative path of the file.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;2&lt;/td&gt;&#xA;          &lt;td&gt;HASH&lt;/td&gt;&#xA;          &lt;td&gt;STRING&lt;/td&gt;&#xA;          &lt;td&gt;The base-32-encoded hash of the file.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;3&lt;/td&gt;&#xA;          &lt;td&gt;TIME_OF_LAST_MODIFICATION&lt;/td&gt;&#xA;          &lt;td&gt;INSTANT&lt;/td&gt;&#xA;          &lt;td&gt;The time of the last modification of the file.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;4&lt;/td&gt;&#xA;          &lt;td&gt;SOURCE_ADDRESS&lt;/td&gt;&#xA;          &lt;td&gt;TARGET_ADDRESS&lt;/td&gt;&#xA;          &lt;td&gt;The target address of the source of the file (optional, if missing the sender address will be used).&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;p&gt;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;// create a list of records with file information&#xA;final List&lt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt;&gt; list = new ArrayList&lt;&gt;();&#xA;for (...)&#xA;{&#xA;    final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt; rec = &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.create();&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setPath(rec,&#xA;                                        ...);&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setHash(rec,&#xA;                                        ...);&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setTimeOfLastModification(rec,&#xA;                                                          ...);&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;CRecordFileRegistryFileInfo&lt;/a&gt;.setSourceAddress(rec,&#xA;                                                 ...);&#xA;    list.add(rec);&#xA;}&#xA;&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt;[] arr = list.toArray(new &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt;[0]);&#xA;&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/id/&#34;&gt;IId&lt;/a&gt; microServiceId = &lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/cidfactory/&#34;&gt;CIdFactory&lt;/a&gt;.fromObject(&#34;file.registry&#34;);&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt; env = &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt;.forMicroService(microServiceId);&#xA;&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt; record = &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryaddfileinfos/&#34;&gt;CRecordFileRegistryAddFileInfos&lt;/a&gt;.create();&#xA;&lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryaddfileinfos/&#34;&gt;CRecordFileRegistryAddFileInfos&lt;/a&gt;.setFileInfo(record,&#xA;                                            arr);&#xA;&#xA;sendNotification(env,&#xA;                 record);&lt;/code&gt;&lt;/pre&gt;&#xA; &lt;h2 class=&#34;uk-h2&#34;&gt;Record Usage&lt;/h2&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>CRecordFileRegistryGetFileInfo</title>
      <link>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfileinfo/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfileinfo/</guid>
      <description>&lt;p&gt;With it, we retrieve information about available files. The key to the files&#xA;is the provided relative path of the desired file.&lt;/p&gt;&#xA;&lt;p&gt;This message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/&#34;&gt;The File Registry API&lt;/a&gt; API.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;{&#xA;  &#34;id&#34;: &#34;18124fad-2724-4d9f-bc85-1b835fde5a8d&#34;,&#xA;  &#34;name&#34;: &#34;FILE_REGISTRY_GET_FILE_INFO&#34;,&#xA;  &#34;isNanoService&#34;: false,&#xA;  &#34;type&#34;: &#34;REQUEST&#34;,&#xA;  &#34;description&#34;: &#34;Get information about a file from the file registry.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;path&#34;,&#xA;      &#34;name&#34;: &#34;PATH&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The relative path of the file.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;rec&#34;,&#xA;      &#34;name&#34;: &#34;FILE_INFO&#34;,&#xA;      &#34;direction&#34;: &#34;RESPONSE&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;OPTIONAL&#34;,&#xA;      &#34;type&#34;: &#34;RECORD_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;The information about files in the file registry.\nRecords are from type &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;FILE_REGISTRY_FILE_INFO&lt;/a&gt;&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;slot-description&#34;&gt;Slot Description&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/id/&#34;&gt;Key&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Name&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/libraries/ny_recorddatabase/etransportdirection/&#34;&gt;Direction&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/libraries/ny_recorddatabase/epresenceconstraint/&#34;&gt;Presence Constraint&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/slot-types/&#34;&gt;Type&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Description&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;path&lt;/td&gt;&#xA;          &lt;td&gt;PATH&lt;/td&gt;&#xA;          &lt;td&gt;REQUEST&lt;/td&gt;&#xA;          &lt;td&gt;MANDATORY&lt;/td&gt;&#xA;          &lt;td&gt;STRING&lt;/td&gt;&#xA;          &lt;td&gt;The relative path of the file.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;rec&lt;/td&gt;&#xA;          &lt;td&gt;FILE_INFO&lt;/td&gt;&#xA;          &lt;td&gt;RESPONSE&lt;/td&gt;&#xA;          &lt;td&gt;OPTIONAL&lt;/td&gt;&#xA;          &lt;td&gt;RECORD_ARRAY&lt;/td&gt;&#xA;          &lt;td&gt;The information about files in the file registry.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;Records are from type &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistryfileinfo/&#34;&gt;FILE_REGISTRY_FILE_INFO&lt;/a&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;p&gt;Send a request to the FileRegistry microservice.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CRecordFileRegistryGetFilePaths</title>
      <link>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfilepaths/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfilepaths/</guid>
      <description>&lt;p&gt;Retrieve all relative paths of files registered in the &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/&#34;&gt;The File Registry API&lt;/a&gt;&#xA;that correspond to the given subdirectory. The number of returned files is&#xA;limited to 1000.&lt;/p&gt;&#xA;&lt;p&gt;This message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/&#34;&gt;The File Registry API&lt;/a&gt; API.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;{&#xA;  &#34;id&#34;: &#34;fcbfda81-b40d-4bae-ad11-5a5d0a2da8f7&#34;,&#xA;  &#34;name&#34;: &#34;FILE_REGISTRY_GET_FILE_PATHS&#34;,&#xA;  &#34;isNanoService&#34;: false,&#xA;  &#34;type&#34;: &#34;REQUEST&#34;,&#xA;  &#34;description&#34;: &#34;Get information about all (max 1000) file paths registered in the registry for a given directory.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;DIRECTORY&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;OPTIONAL&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The relative directory to search for. Default is an empty String, i.e. all files registered in the file registry.&#34;&#xA;    }&#xA;    {&#xA;      &#34;key&#34;: &#34;2&#34;,&#xA;      &#34;name&#34;: &#34;PATHS&#34;,&#xA;      &#34;direction&#34;: &#34;RESPONSE&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;OPTIONAL&#34;,&#xA;      &#34;type&#34;: &#34;STRING_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;All file paths registered in the file registry.&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;slot-description&#34;&gt;Slot Description&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/id/&#34;&gt;Key&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Name&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/libraries/ny_recorddatabase/etransportdirection/&#34;&gt;Direction&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/libraries/ny_recorddatabase/epresenceconstraint/&#34;&gt;Presence Constraint&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;&lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/slot-types/&#34;&gt;Type&lt;/a&gt;&lt;/th&gt;&#xA;          &lt;th&gt;Description&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;1&lt;/td&gt;&#xA;          &lt;td&gt;DIRECTORY&lt;/td&gt;&#xA;          &lt;td&gt;REQUEST&lt;/td&gt;&#xA;          &lt;td&gt;OPTIONAL&lt;/td&gt;&#xA;          &lt;td&gt;STRING&lt;/td&gt;&#xA;          &lt;td&gt;The relative directory to search for. Default is an empty String, i.e. all files registered in the file registry.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;2&lt;/td&gt;&#xA;          &lt;td&gt;PATHS&lt;/td&gt;&#xA;          &lt;td&gt;RESPONSE&lt;/td&gt;&#xA;          &lt;td&gt;OPTIONAL&lt;/td&gt;&#xA;          &lt;td&gt;STRING_ARRAY&lt;/td&gt;&#xA;          &lt;td&gt;All file paths registered in the file registry.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;h3 id=&#34;request&#34;&gt;Request&lt;/h3&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/id/&#34;&gt;IId&lt;/a&gt; microServiceId = &lt;a href=&#34;https://sillysky.net/docs/nyssr/ids-and-addresses/cidfactory/&#34;&gt;CIdFactory&lt;/a&gt;.fromObject(&#34;file.registry&#34;);&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt; env = &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt;.forMicroService(microServiceId);&#xA;&#xA;final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt; record = &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfilepaths/&#34;&gt;CRecordFileRegistryGetFilePaths&lt;/a&gt;.create();&#xA;&lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfilepaths/&#34;&gt;CRecordFileRegistryGetFilePaths&lt;/a&gt;.setDirectory(record,&#xA;                                             &#34;lib/&#34;);&#xA;&#xA;sendRequest(env,&#xA;            record);&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3 id=&#34;catch-the-response&#34;&gt;Catch the response&lt;/h3&gt;&#xA;&lt;p&gt;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;// in Target constructor&#xA;addMessageHandler(&lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfilepaths/&#34;&gt;CRecordFileRegistryGetFilePaths&lt;/a&gt;.ID,&#xA;              this::asyncGetFilePaths);&#xA;&#xA;// message handler&#xA;private boolean asyncGetFilePaths(@NotNull final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt; aEnvelope,&#xA;                                  @NotNull final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt; aRecord)&#xA;{&#xA;    if (aEnvelope.isAnswer())&#xA;    {&#xA;        if (aEnvelope.getResult()&#xA;                     .hasSuccess())&#xA;        {&#xA;            final String[] arr = &lt;a href=&#34;https://sillysky.net/docs/nyssr/plugins/supplied-plugins/plugin-jars/ny_localfilestoreplugin/message-api-of-the-fileregistry/crecordfileregistrygetfilepaths/&#34;&gt;CRecordFileRegistryGetFilePaths&lt;/a&gt;.getPaths(aRecord,&#xA;                                                                          null);&#xA;            ...&#xA;        }&#xA;        return true;&#xA;    }&#xA;    else&#xA;    {&#xA;        return false;&#xA;    }&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA; &lt;h2 class=&#34;uk-h2&#34;&gt;Record Usage&lt;/h2&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
