ig.scheduler.AppointmentOperationResult
Dependencies
-
ig.scheduler.AppointmentOperationResult
Constructor- new $.ig.scheduler.AppointmentOperationResult( appointment:ig.scheduler.Appointment, operation:ig.scheduler.ActivityOperation, [error:ig.scheduler.DataError] );
Creates a new instance for the specified appointment.
- appointment
- Type:ig.scheduler.Appointment
- operation
- Type:ig.scheduler.ActivityOperation
- error
- Type:ig.scheduler.DataError
- Optional
-
activity
Inherited- .activity( );
- Return Type:
- ig.scheduler.Appointment
- Return Type Description:
- Returns a Appointment.
Returns a reference to the activity associated with this operation.
See Also
-
appointment
- .appointment( );
- Return Type:
- ig.scheduler.Appointment
- Return Type Description:
- Returns a Appointment.
Returns a reference to the AppointmentOperationResult.appointment object associated with the operation.
See Also
-
completedCallback
Inherited- .completedCallback( );
Returns a delegate which is called upon completion of the task associated with this result.
Remarks
Certain ScheduleDataSource methods return a result containing the data yielded by the associated operation.
In cases where the operation executes asynchronously, the CompletedCallback can be used to receive a notification what the operation has completed.
Before assigning a callback, the developer should check the value of the OperationResultBase.status property; if the status is 'Completed', the result is already available, in which case the callback is unnecessary.
-
completedCallback
Inherited- .completedCallback( value:function );
Sets a delegate which is called upon completion of the task associated with this result.
- value
- Type:function
Remarks
Certain ScheduleDataSource methods return a result containing the data yielded by the associated operation.
In cases where the operation executes asynchronously, the CompletedCallback can be used to receive a notification what the operation has completed.
Before assigning a callback, the developer should check the value of the OperationResultBase.status property; if the status is 'Completed', the result is already available, in which case the callback is unnecessary.
-
error
Inherited- .error( );
- Return Type:
- ig.scheduler.DataError
- Return Type Description:
- Returns a DataError.
Returns a DataError object containing detailed information about the reason for failure, or null if the operation was successful.
See Also
-
operation
Inherited- .operation( );
- Return Type:
- ig.scheduler.ActivityOperation
- Return Type Description:
- Returns a ActivityOperation.
Returns a constant which identifies the operation, i.e., create, delete, or update.
See Also
-
status
Inherited- .status( );
- Return Type:
- ig.scheduler.OperationStatus
- Return Type Description:
- Returns a OperationStatus.
Returns a constant which describes the current status of the operation.
See Also