Skip to content

/AWS1/CL_IDSPHOTO

Contains information about a user's photo. Users can have up to 3 photos, with one designated as primary. Supports common image formats, including jpg, jpeg, png, and gif.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_value TYPE /AWS1/IDSSENSITIVESTRINGTYPE /AWS1/IDSSENSITIVESTRINGTYPE

The photo data or URL. Supported formats include jpg, jpeg, png, and gif. This field is required for all photo entries.

Optional arguments:

iv_type TYPE /AWS1/IDSSENSITIVESTRINGTYPE /AWS1/IDSSENSITIVESTRINGTYPE

The type of photo. This field is optional and can be used to categorize different types of photos.

iv_display TYPE /AWS1/IDSSENSITIVESTRINGTYPE /AWS1/IDSSENSITIVESTRINGTYPE

A human-readable description of the photo for display purposes. This optional field provides context about the photo.

iv_primary TYPE /AWS1/IDSSENSITIVEBOOLEANTYPE /AWS1/IDSSENSITIVEBOOLEANTYPE

Specifies whether this is the user's primary photo. Default value is false. Only one photo can be designated as primary per user.


Queryable Attributes

Value

The photo data or URL. Supported formats include jpg, jpeg, png, and gif. This field is required for all photo entries.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
HAS_VALUE() Determine if VALUE has a value

Type

The type of photo. This field is optional and can be used to categorize different types of photos.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

Display

A human-readable description of the photo for display purposes. This optional field provides context about the photo.

Accessible with the following methods

Method Description
GET_DISPLAY() Getter for DISPLAY, with configurable default
ASK_DISPLAY() Getter for DISPLAY w/ exceptions if field has no value
HAS_DISPLAY() Determine if DISPLAY has a value

Primary

Specifies whether this is the user's primary photo. Default value is false. Only one photo can be designated as primary per user.

Accessible with the following methods

Method Description
GET_PRIMARY() Getter for PRIMARY

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PHOTOS

TYPES TT_PHOTOS TYPE STANDARD TABLE OF REF TO /AWS1/CL_IDSPHOTO WITH DEFAULT KEY
.