|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Object
|
+--PBEAction
|
+--PBEAttributeAction
|
+--PBEUniqueAction
PBEUniqueAction declares an attribute as unique. PBEUniqueAction can be used in attribute events.
unique
unique
PBEUniqueAction does not support any parameters.
PBE:attributeEvent( "customer", "name", "on:new,save:required if not error unique");This event declares the attribute "name" of object "customer" as required on "new" and "save" method activations. If "name" is specified ("required if not error"), uniqueness is checked and the attribute's status is set to indicate the error in case the provided value does already exist.This example can be found in the file "initdemo.pbt" of the "PBE Demo" module (approx. line 251).
| Fields inherited from class PBEAction |
iParameters,
iType,
name,
procName |
| Constructor Summary | |
PBEUniqueAction(varchar name)
|
|
| Methods inherited from class PBEAction |
actionArguments,
actionCall,
actionParameters,
attributeReference,
callString,
checkEvent,
getObject,
methodReference,
nestedInput,
objectReference,
parameter,
parameters,
perform,
performParameterCount,
printPerform,
tracePerform |
| Constructor Detail |
public PBEUniqueAction(varchar name)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||