Skip to main content
Version: 2026.0

CommonLoadRowsConfig

Shared base config object for loading entity rows in any form.

Methods

addParameter

addParameter(pName, pValue): CommonLoadRowsConfig

Adds a parameter value when loading the entity

Parameters

pName
string | number | boolean

name of parameter

pValue
string | number | boolean

value of parameter

Returns

CommonLoadRowsConfig

applyRecordSorting

applyRecordSorting(pRecordSortingMode): CommonLoadRowsConfig

Sets a flag that specifies whether the record order should be applied when loading the entity data.

If not set, this property is per default entities.RECORD_SORTING_NONE.

Loading and applying the record order costs resources and time but is necessary sometimes. This property will not affect required sorting columns, for example when the database requires a guaranteed order like the UID-column.

Parameters

pRecordSortingMode
string | number | boolean

when entities.RECORD_SORTING_FULL, the record order is calculated and applied when loading the rows. when entities.RECORD_SORTING_NONE, no record order is calculated and thus none is applied.

Returns

CommonLoadRowsConfig

consumer

consumer(pConsumer): CommonLoadRowsConfig

Sets the name of the consumer, which points to the entity to use

Parameters

pConsumer
string | number | boolean

name of consumer

Returns

CommonLoadRowsConfig

count

count(pCount): CommonLoadRowsConfig

Sets the maximum number of rows to load.

Parameters

pCount
number

number of rows

Returns

CommonLoadRowsConfig

entity

entity(pEntity): CommonLoadRowsConfig

Sets the name of the entity to load

Parameters

pEntity
string | number | boolean

name of entity

Returns

CommonLoadRowsConfig

fields

fields(pFields): CommonLoadRowsConfig

Sets the name of the fields to load

Parameters

pFields
string[]

the name of fields

Returns

CommonLoadRowsConfig

fieldValues

fieldValues(pNewFieldValues): CommonLoadRowsConfig

Sets the field values for this entity

Parameters

pNewFieldValues
any

the new field values

Returns

CommonLoadRowsConfig

filter

filter(pFilter): CommonLoadRowsConfig

Sets a filter when loading the entity. Can contain the filter in json format as a string or a filter builder using neonFilter.createFilterGroup()

Parameters

pFilter
any

the filter, JSON - format as defined for entity-filters

Returns

CommonLoadRowsConfig

ignorePermissions

ignorePermissions(pIgnore): CommonLoadRowsConfig

Ignores permissions, which are set for this entity

Parameters

pIgnore
boolean

true ignores permissions, default is false

Returns

CommonLoadRowsConfig

locale

locale(pLocale): CommonLoadRowsConfig

Overwrites the locale to be used for execution. Only possible in a server process.

Parameters

pLocale
string | number | boolean

the locale to be used for execution

Returns

CommonLoadRowsConfig

provider

provider(pProvider): CommonLoadRowsConfig

Sets the name of the provider for loading the entity

Parameters

pProvider
string | number | boolean

name of provider

Returns

CommonLoadRowsConfig

skipPrevalidation

skipPrevalidation(pSkip): CommonLoadRowsConfig

Skips the pre-validation of changes in the entity

Parameters

pSkip
boolean

true skips the pre-validation false

Returns

CommonLoadRowsConfig

startrow

startrow(pStartRow): CommonLoadRowsConfig

Sets the starting row to load. Useful for paging

Parameters

pStartRow
number

the number of the row to start, 0 ist first

Returns

CommonLoadRowsConfig

timezone

timezone(pTimezone): CommonLoadRowsConfig

Overwrites the timezone to be used for execution. Only possible in a server process.

Parameters

pTimezone
string | number | boolean

the timezone to be used for execution

Returns

CommonLoadRowsConfig

uid

uid(pUid): CommonLoadRowsConfig

Set a single uid to load when loading the entity. Overrides uids().

Parameters

pUid
string | number | boolean

value of uid

Returns

CommonLoadRowsConfig

uids

uids(pUids): CommonLoadRowsConfig

Sets multiple uids to load when loading the entity. Overrides uid().

Parameters

pUids
string[]

values if uids

Returns

CommonLoadRowsConfig

user

user(pUser): CommonLoadRowsConfig

Overwrites the user to be used for execution. Only possible in a server process.

To perform an entities-action in a serverProcess with a user given here the process itself has to be run under an user-context. So this will only overwrite which user is used but it is not possible to run a serverProcess without an user-context and then set the user with this method. That is due to technical restrictions how and when the Package entities.*** is created within JDito.

In short: Set at least a technical user to execute the serverProcess when using this property in a serverProcess.

Parameters

pUser
string | number | boolean

the title for the user to be used for execution

Returns

CommonLoadRowsConfig