class staticbo.shared. DataPortalAction
            Source: shared/
Specifies the operations of models to execute on data access objects.
Method
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-onlycreate
                 number
              The user tries to initialize the values of a new model from the repository.
- Default value
 
read-onlyexecute
                 number
              The user tries to execute a command in the repository.
- Default value
 
read-onlyfetch
                 number
              The user tries to retrieve the values of a model from the repository.
- Default value
 
read-onlyinsert
                 number
              The user tries to save the values of a new model to the repository.
- Default value
 
read-onlyremove
                 number
              The user tries to delete the values of a model from the repository.
- Default value
 
read-onlyupdate
                 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.