Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ $copy:=$source.copyTo(Folder("/PACKAGE");fk overwrite)
<!-- REF #document.getContent().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---|----|---|---|
|Result | 4D.Blob |<-|File content|
|戻り値| 4D.Blob |<-|File content|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -534,12 +534,12 @@ $copy:=$source.copyTo(Folder("/PACKAGE");fk overwrite)
<!-- REF #document.getText().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---|---|---|---|
|charSetName |Text |-> |Name of character set|
|charSetNum |Integer |-> |Number of character set|
|breakMode|Integer |-> |Processing mode for line breaks|
|Result |Text |<- |Text from the document|
|charSetName |Text |-> |文字セット名|
|charSetNum |Integer |-> |文字セットのID番号|
|breakMode|Integer |-> |改行文字に対する処理モード|
|戻り値|Text |<- |ドキュメントからのテキストhe document|
</div>
<!-- END REF -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ title: Email

Email オブジェクトは次のプロパティを提供します:

> 4D follows the [JMAP specification](https://jmap.io/spec/rfc8621/) to format the Email object.
> 4D は Email オブジェクトのフォーマットは [JMAP specification](https://jmap.io/spec/rfc8621/) に準拠します。

| |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down Expand Up @@ -376,17 +376,17 @@ MailAttachment オブジェクトは [`MAIL New attachment`](MailAttachmentClass
<!-- REF #_command_.MAIL Convert from MIME.Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|mime|Blob, Text|->|Email in MIME|
|Result|Object|<-|Email object|
|mime|Blob, Text|->|MIME形式のEメール|
|戻り値|Object|<-|Email object|
</div>
<!-- END REF -->

#### 説明

`MAIL Convert from MIME` コマンドは、 <!-- REF #_command_.MAIL Convert from MIME.Summary -->MIMEドキュメントを有効な Emailオブジェクトへと変換します<!-- END REF -->。
> 4D follows the [JMAP specification](https://jmap.io/spec/rfc8621/) to format the returned email object.
> 4Dは戻り値の Email オブジェクトのフォーマットは [JMAP specification](https://jmap.io/spec/rfc8621/) に準拠します。

*mime* には、変換する有効な MIME ドキュメントを渡します。 これはどのメールサーバーまたはアプリケーションから提供されたものでも可能です。 *mime* 引数として、BLOB またはテキストを渡すことができます。 MIME がファイルから渡された場合、文字セットと改行コード変換に関する問題を避けるため、BLOB型の引数を使用することが推奨されます。

Expand Down Expand Up @@ -464,11 +464,11 @@ $status:=$transporter.send($email)
<!-- REF #_command_.MAIL Convert to MIME.Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|mail|Object|->|Email object|
|options|Object|->|Charset and encoding mail options|
|Result|Text|<-|Email object converted to MIME|
|mail|Object|->|Email オブジェクト|
|options|Object|->|文字セットおよびエンコーディングのメールオプション|
|戻り値|Text|<-|Email object converted to MIME|
</div>
<!-- END REF -->

Expand All @@ -477,7 +477,7 @@ $status:=$transporter.send($email)
`MAIL Convert to MIME` コマンドは、 <!-- REF #_command_.MAIL Convert to MIME.Summary -->Emailオブジェクトを MIMEテキストへと変換します<!-- END REF -->。 このコマンドは、Email オブジェクトを送信する前に整形する目的で[SMTP_transporter.send()](SMTPTransporterClass.md#send) コマンドによって内部的に呼び出されます。 また、オブジェクトの MIME フォーマットを解析するためにも使用されます。

*mail* には、変換するメールのコンテンツとストラクチャーの詳細を渡します。 この情報には、メールアドレス (送信者と受信者)、メッセージそのもの、メッセージの表示タイプなどが含まれます。
> 4D follows the [JMAP specification](https://jmap.io/spec/rfc8621/) to format the email object.
> 4D は Email オブジェクトのフォーマットは [JMAP specification](https://jmap.io/spec/rfc8621/) に準拠します。

*options* 引数を渡すと、メールに対して特定の文字セットとエンコーディング設定を指定することができます。 次のプロパティを利用することができます:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ title: Entity
<!-- REF #EntityClass.clone().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|4D.Entity|<-|New entity referencing the record|
|戻り値|4D.Entity|<-|New entity referencing the record|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -142,11 +142,11 @@ title: Entity
<!-- REF #EntityClass.diff().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|entityToCompare|4D.Entity|->|Entity to be compared with the original entity|
|attributesToCompare|Collection|-> |Name of attributes to be compared |
|Result|Collection|<-|Differences between the entities|
|entityToCompare|4D.Entity|->|対象エンティティと比較するエンティティ|
|attributesToCompare|Collection|-> |比較する属性の名称|
|戻り値|Collection|<-|Differences between the entities|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -345,10 +345,10 @@ vCompareResult1 (すべての差異が返されています):
<!-- REF #EntityClass.drop().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|mode|Integer|->|`dk force drop if stamp changed`: Forces the drop even if the stamp has changed|
|Result|Object|<-|Result of drop operation|
|mode|Integer|->|`dk force drop if stamp changed`: スタンプが変更されていた場合でも強制的にドロップする|
|戻り値|Object|<-|Result of drop operation|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -454,9 +454,9 @@ vCompareResult1 (すべての差異が返されています):
<!-- REF #EntityClass.first().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|4D.Entity|<-|Reference to first entity of an entity selection (Null if not found)|
|戻り値|4D.Entity|<-|Reference to first entity of an entity selection (Null if not found)|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -495,9 +495,9 @@ vCompareResult1 (すべての差異が返されています):
<!-- REF #EntityClass.fromObject().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|filler|Object|->|Object from which to fill the entity|
|filler|Object|->|エンティティの属性値を設定するオブジェクト|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -582,9 +582,9 @@ vCompareResult1 (すべての差異が返されています):
<!-- REF #EntityClass.getDataClass().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|4D.DataClass|<-|DataClass object to which the entity belongs|
|戻り値|4D.DataClass|<-|DataClass object to which the entity belongs|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -629,10 +629,10 @@ vCompareResult1 (すべての差異が返されています):
<!-- REF #EntityClass.getKey().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|mode|Integer|->|`dk key as string`: primary key is returned as a string, no matter the primary key type|
|Result|any|<-|Value of the primary key of the entity (Integer or Text)|
|mode|Integer|->|`dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します|
|戻り値|any|<-|Value of the primary key of the entity (Integer or Text)|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -671,9 +671,9 @@ vCompareResult1 (すべての差異が返されています):
<!-- REF #EntityClass.getRemoteContextAttributes().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---|---|---|---|
|result|Text|<-|Context attributes linked to the entity, separated by a comma|
|戻り値|Text|<-|Context attributes linked to the entity, separated by a comma|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -731,9 +731,9 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.getSelection().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|4D.EntitySelection|<-|Entity selection to which the entity belongs (Null if not found)|
|戻り値|4D.EntitySelection|<-|Entity selection to which the entity belongs (Null if not found)|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -776,9 +776,9 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.getStamp().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|Integer|<-|Stamp of the entity (0 if entity has just been created)|
|戻り値|Integer|<-|Stamp of the entity (0 if entity has just been created)|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -824,10 +824,10 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.indexOf().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|entitySelection|4D.EntitySelection|->|Position of the entity is given according to this entity selection|
|Result|Integer|<-|Position of the entity in an entity selection|
|entitySelection|4D.EntitySelection|->|エンティティの位置を取得する対象のエンティティセレクション|
|戻り値|Integer|<-|Position of the entity in an entity selection|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -915,9 +915,9 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.last().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|4D.Entity|<-|Reference to last entity of an entity selection (Null if not found)|
|戻り値|4D.Entity|<-|Reference to last entity of an entity selection (Null if not found)|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -956,10 +956,10 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.lock().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|mode|Integer|->|`dk reload if stamp changed`: Reload before locking if stamp changed|
|Result|Object|<-|Result of lock operation|
|mode|Integer|->|`dk reload if stamp changed`: スタンプが変更されていた場合でも強制的にドロップする|
|戻り値|Object|<-|Result of lock operation|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -1081,9 +1081,9 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.next().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|4D.Entity|<-|Reference to next entity in the entity selection (Null if not found)|
|戻り値|4D.Entity|<-|Reference to next entity in the entity selection (Null if not found)|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -1125,9 +1125,9 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.previous().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|Result|4D.Entity|<-|Reference to previous entity in the entity selection (Null if not found)|
|戻り値|4D.Entity|<-|Reference to previous entity in the entity selection (Null if not found)|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -1233,10 +1233,10 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.save().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|mode|Integer|->|`dk auto merge`: Enables the automatic merge mode|
|Result|Object|<-|Result of save operation|
|mode|Integer|->|`dk auto merge`: 自動マージモードを有効化します|
|戻り値|Object|<-|Result of save operation|
</div>
<!-- END REF -->

Expand Down Expand Up @@ -1370,12 +1370,12 @@ $info:=$address.getRemoteContextAttributes()
<!-- REF #EntityClass.toObject().Params -->
<div class="no-index">

|Parameter|Type||Description|
|引数|型||説明|
|---------|--- |:---:|------|
|filterString |Text |->|Attribute(s) to extract (comma-separated string)|
|filterCol |Collection |->|Collection of attribute(s) to extract|
|options|Integer|->|`dk with primary key`: adds the \_\_KEY property;<br/>`dk with stamp`: adds the \_STAMP property|
|Result|Object|<-|Object built from the entity|
|filterString |Text |->|取得する属性 (カンマ区切り)|
|filterCol |Collection |->|取得する属性のコレクション|
|options|Integer|->|`dk with primary key`: \_\_KEY プロパティを追加;<br/>`dk with stamp`: \_STAMP プロパティを追加|
|戻り値|Object|<-|Object built from the entity|
</div>
<!-- END REF -->

Expand Down
Loading
Loading