Class: verify_mixin
Class Hierarchy:
cObjectMixinverify_mixinClass Definition
Properties
integerprivate.Verify_Data_Loss_Msg
integerprivate.Verify_Delete_Msg
integerprivate.Verify_Save_Msg
Functions and Procedures
define_verify()
Description
This procedure defines the properties which are required to support
the verification of saves, deletes, and losses of changed data.
Assumptions/Preconditions
None.
Exceptions
None.
Notes
Though defined as private, access procedures and functions are defined
for these properties below (to make them public).
Verify_Save_Msg holds the message id to be sent to verify a Save
operation.
Verify_Delete_Msg holds the message id to be sent to verify a Delete
operation.
Verify_Data_Loss_Msg holds the message id to be sent to verify an
action which may cause the user to lose changes to the data in items.
Set(Integer val)
Description
This procedure sets the value of the Verify_Save_Msg property.
Assumptions/Preconditions
None.
Exceptions
None.
Notes
None.
Set(Integer val)
Description
This procedure sets the value of the Verify_Delete_Msg property.
Assumptions/Preconditions
None.
Exceptions
None.
Notes
None.
Set(Integer val)
Description
This procedure sets the value of the Verify_Data_Loss_Msg property.
Assumptions/Preconditions
None.
Exceptions
None.
Notes
None.
integerVerify_Data_Loss()
Description
This function confirms an operation (which may cause the loss of changed
data in items) with the user, returning 0 if the operation should
continue, or non-zero if the operation should be aborted.
Assumptions/Preconditions
None.
Exceptions
If the Verify_Data_Loss_Msg function returns 0, no action is taken.
Notes
None.
integerVerify_Data_Loss_Msg()
Description
This function returns the message id to be used to verify an operation
which may cause the user to lose changes to the data in items.
Assumptions/Preconditions
This object must understand Component_State.
Exceptions
If this object's Verify_Data_Loss_Msg is 0, the value of this object's
parent's Verify_Data_Loss_Msg is returned, if any.
Notes
None.
integerVerify_Delete()
Description
This function confirms a Delete operation with the user, returning 0 if
the Delete should continue, or non-zero if the Delete should be aborted.
Assumptions/Preconditions
None.
Exceptions
If the Verify_Delete_Msg function returns 0, no action is taken.
Notes
None.
integerVerify_Delete_Msg()
Description
This function returns the message id to be used to verify a Delete
operation.
Assumptions/Preconditions
This object must understand Component_State.
Exceptions
If this object's Verify_Delete_Msg is 0, the value of this object's
parent's Verify_Delete_Msg is returned, if any.
Notes
None.
integerVerify_Save()
Description
This function confirms a Save operation with the user, returning 0 if
the Save should continue, or non-zero if the Save should be aborted.
Assumptions/Preconditions
None.
Exceptions
If the Verify_Save_Msg function returns 0, no action is taken.
Notes
None.
integerVerify_Save_Msg()
Description
This function returns the message id to be used to verify a Save
operation.
Assumptions/Preconditions
This object must understand Component_State.
Exceptions
If this object's Verify_Save_Msg is 0, the value of this object's
parent's Verify_Save_Msg is returned, if any.
Notes
None.