Changes
Created page with "{{Attention|This page is under construction.}} == Basics == A Document Proxy object contains the logic of a basic [[Proxy]] object combined with the capability to handle file..."
{{Attention|This page is under construction.}}
== Basics ==
A Document Proxy object contains the logic of a basic [[Proxy]] object combined with the capability to handle file documents from an interface.
One Document Proxy object can handle both import and export of the same Ubik FileDocument instance via one interface.
{{Hint|A Document Proxy object '''MUST HAVE''' PX_DOCUMENT or a derivative of it defined as its [[MetaClass]]!}}
The TargetType for DocumentMetaProxy has to be a FileDocument MetaClass.
== Properties ==
Besides the properties known from the basic [[Proxy]], a DocumentProxy provides the following ProxyMetaProperties:
{| class="wikitable" | width = "50%"
|-
! Property!! Description
|-
| Key|| External primary key. Can be the file path to the external document or a document as a byte stream.
|-
| File name|| The name of the external file (including its extension).
|-
| File path|| The full path of the external file.
|-
| File content type|| The content type (extension) of the external file.
|-
| File creation time|| The creation timestamp of the external file.
|-
|}
== Batch Document Import ==
== Basics ==
A Document Proxy object contains the logic of a basic [[Proxy]] object combined with the capability to handle file documents from an interface.
One Document Proxy object can handle both import and export of the same Ubik FileDocument instance via one interface.
{{Hint|A Document Proxy object '''MUST HAVE''' PX_DOCUMENT or a derivative of it defined as its [[MetaClass]]!}}
The TargetType for DocumentMetaProxy has to be a FileDocument MetaClass.
== Properties ==
Besides the properties known from the basic [[Proxy]], a DocumentProxy provides the following ProxyMetaProperties:
{| class="wikitable" | width = "50%"
|-
! Property!! Description
|-
| Key|| External primary key. Can be the file path to the external document or a document as a byte stream.
|-
| File name|| The name of the external file (including its extension).
|-
| File path|| The full path of the external file.
|-
| File content type|| The content type (extension) of the external file.
|-
| File creation time|| The creation timestamp of the external file.
|-
|}
== Batch Document Import ==