Skip to content

/AWS1/CL_DOAASSETFILE

Represents a single file within an asset, including its path, content, version, and timestamps.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_path TYPE /AWS1/DOAASSETFILEPATH /AWS1/DOAASSETFILEPATH

The path of this file within the asset

io_content TYPE REF TO /AWS1/CL_DOAASSETFILEBODY /AWS1/CL_DOAASSETFILEBODY

The content of this file

iv_version TYPE /AWS1/DOAINTEGER /AWS1/DOAINTEGER

The asset version this file belongs to

iv_createdat TYPE /AWS1/DOATIMESTAMP /AWS1/DOATIMESTAMP

Timestamp when this file was created

iv_updatedat TYPE /AWS1/DOATIMESTAMP /AWS1/DOATIMESTAMP

Timestamp when this file was last updated

Optional arguments:

io_metadata TYPE REF TO /AWS1/CL_RT_DOCUMENT /AWS1/CL_RT_DOCUMENT

The metadata for this file


Queryable Attributes

path

The path of this file within the asset

Accessible with the following methods

Method Description
GET_PATH() Getter for PATH, with configurable default
ASK_PATH() Getter for PATH w/ exceptions if field has no value
HAS_PATH() Determine if PATH has a value

content

The content of this file

Accessible with the following methods

Method Description
GET_CONTENT() Getter for CONTENT

metadata

The metadata for this file

Accessible with the following methods

Method Description
GET_METADATA() Getter for METADATA, with configurable default
ASK_METADATA() Getter for METADATA w/ exceptions if field has no value
HAS_METADATA() Determine if METADATA has a value

version

The asset version this file belongs to

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value

createdAt

Timestamp when this file was created

Accessible with the following methods

Method Description
GET_CREATEDAT() Getter for CREATEDAT, with configurable default
ASK_CREATEDAT() Getter for CREATEDAT w/ exceptions if field has no value
HAS_CREATEDAT() Determine if CREATEDAT has a value

updatedAt

Timestamp when this file was last updated

Accessible with the following methods

Method Description
GET_UPDATEDAT() Getter for UPDATEDAT, with configurable default
ASK_UPDATEDAT() Getter for UPDATEDAT w/ exceptions if field has no value
HAS_UPDATEDAT() Determine if UPDATEDAT has a value