UpdateRowConfig
Methods
addParameter
addParameter(
pName,pValue):UpdateRowConfig
Adds a parameter value when loading the entity
Parameters
string | number | booleanname of parameter
string | number | booleanvalue of parameter
Returns
UpdateRowConfigconsumer
consumer(
pConsumer):UpdateRowConfig
Sets the name of the consumer, which points to the entity to use
Parameters
string | number | booleanname of consumer
Returns
UpdateRowConfigcount
count(
pCount):UpdateRowConfig
Sets the maximum number of rows to load.
Parameters
numbernumber of rows
Returns
UpdateRowConfigentity
entity(
pEntity):UpdateRowConfig
Sets the name of the entity to load
Parameters
string | number | booleanname of entity
Returns
UpdateRowConfigfields
fields(
pFields):UpdateRowConfig
Sets the name of the fields to load
Parameters
string[]the name of fields
Returns
UpdateRowConfigfieldValues
fieldValues(
pNewFieldValues):UpdateRowConfig
Sets the field values for this entity
Parameters
anythe new field values
Returns
UpdateRowConfigfilter
filter(
pFilter):UpdateRowConfig
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
anythe filter, JSON - format as defined for entity-filters
Returns
UpdateRowConfigfromEntityRecordsRecipe
fromEntityRecordsRecipe(
pEntityRecordsRecipe):UpdateRowConfig
This method is reserved for future use.
Parameters
anyReturns
UpdateRowConfigThrows
May throw an exception.
ignorePermissions
ignorePermissions(
pIgnore):UpdateRowConfig
Ignores permissions, which are set for this entity
Parameters
booleantrue ignores permissions, default is false
Returns
UpdateRowConfiglocale
locale(
pLocale):UpdateRowConfig
Overwrites the locale to be used for execution. Only possible in a server process.
Parameters
string | number | booleanthe locale to be used for execution
Returns
UpdateRowConfigprovider
provider(
pProvider):UpdateRowConfig
Sets the name of the provider for loading the entity
Parameters
string | number | booleanname of provider
Returns
UpdateRowConfigskipPrevalidation
skipPrevalidation(
pSkip):UpdateRowConfig
Skips the pre-validation of changes in the entity
Parameters
booleantrue skips the pre-validation false
Returns
UpdateRowConfigstartrow
startrow(
pStartRow):UpdateRowConfig
Sets the starting row to load. Useful for paging
Parameters
numberthe number of the row to start, 0 ist first
Returns
UpdateRowConfigtimezone
timezone(
pTimezone):UpdateRowConfig
Overwrites the timezone to be used for execution. Only possible in a server process.
Parameters
string | number | booleanthe timezone to be used for execution
Returns
UpdateRowConfiguid
uid(
pUid):UpdateRowConfig
Set a single uid to load when loading the entity. Overrides uids().
Parameters
string | number | booleanvalue of uid
Returns
UpdateRowConfiguids
uids(
pUids):UpdateRowConfig
Sets multiple uids to load when loading the entity. Overrides uid().
Parameters
string[]values if uids
Returns
UpdateRowConfiguser
user(
pUser):UpdateRowConfig
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
string | number | booleanthe title for the user to be used for execution
Returns
UpdateRowConfig