CreateRowConfig
Methods
addParameter
addParameter(
pName,pValue):CreateRowConfig
Adds a parameter value when loading the entity
Parameters
string | number | booleanname of parameter
string | number | booleanvalue of parameter
Returns
CreateRowConfigconsumer
consumer(
pConsumer):CreateRowConfig
Sets the name of the consumer, which points to the entity to use
Parameters
string | number | booleanname of consumer
Returns
CreateRowConfigcount
count(
pCount):CreateRowConfig
Sets the maximum number of rows to load.
Parameters
numbernumber of rows
Returns
CreateRowConfigentity
entity(
pEntity):CreateRowConfig
Sets the name of the entity to load
Parameters
string | number | booleanname of entity
Returns
CreateRowConfigfields
fields(
pFields):CreateRowConfig
Sets the name of the fields to load
Parameters
string[]the name of fields
Returns
CreateRowConfigfieldValues
fieldValues(
pNewFieldValues):CreateRowConfig
Sets the field values for this entity
Parameters
anythe new field values
Returns
CreateRowConfigfilter
filter(
pFilter):CreateRowConfig
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
CreateRowConfigfromEntityRecordsRecipe
fromEntityRecordsRecipe(
pEntityRecordsRecipe):CreateRowConfig
This method is reserved for future use.
Parameters
anyReturns
CreateRowConfigThrows
May throw an exception.
ignorePermissions
ignorePermissions(
pIgnore):CreateRowConfig
Ignores permissions, which are set for this entity
Parameters
booleantrue ignores permissions, default is false
Returns
CreateRowConfiglocale
locale(
pLocale):CreateRowConfig
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
CreateRowConfigprovider
provider(
pProvider):CreateRowConfig
Sets the name of the provider for loading the entity
Parameters
string | number | booleanname of provider
Returns
CreateRowConfigskipPrevalidation
skipPrevalidation(
pSkip):CreateRowConfig
Skips the pre-validation of changes in the entity
Parameters
booleantrue skips the pre-validation false
Returns
CreateRowConfigstartrow
startrow(
pStartRow):CreateRowConfig
Sets the starting row to load. Useful for paging
Parameters
numberthe number of the row to start, 0 ist first
Returns
CreateRowConfigtimezone
timezone(
pTimezone):CreateRowConfig
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
CreateRowConfiguid
uid(
pUid):CreateRowConfig
Set a single uid to load when loading the entity. Overrides uids().
Parameters
string | number | booleanvalue of uid
Returns
CreateRowConfiguids
uids(
pUids):CreateRowConfig
Sets multiple uids to load when loading the entity. Overrides uid().
Parameters
string[]values if uids
Returns
CreateRowConfiguser
user(
pUser):CreateRowConfig
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
CreateRowConfig