new DataPortalAction()

Creates a new enumeration to define the data portal actions. Members:

  • create
  • fetch
  • insert
  • update
  • remove
  • execute
Extends
bo.system.Enumeration

Properties

read-only
$name  string

The name of the enumeration. The default value is the name of the constructor.

Inherited from
bo.system.Enumeration#$name

read-only
create  number

The user tries to initialize the values of a new model from the repository.

Default value

read-only
execute  number

The user tries to execute a command in the repository.

Default value

read-only
fetch  number

The user tries to retrieve the values of a model from the repository.

Default value

read-only
insert  number

The user tries to save the values of a new model to the repository.

Default value

read-only
remove  number

The user tries to delete the values of a model from the repository.

Default value

read-only
update  number

The user tries to save the changed values of a model to the repository.

Default value

Method

hasValue(name) → boolean

Determines if the enumeration has an item with the given name.

Parameter

Name Type Optional Description

name

 

 

The name of the enumeration item.

Inherited from
bo.system.Enumeration#hasValue
Returns

True if the name is an enumeration item, otherwise false.