Interface IMethod
Interface for a generic server method (e.g. called directly with AML such as
<Item action='{Method name}' />
)
Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public interface IMethod
Remarks
For help deciding which interface to use for which type of method, consult the following table
Event | Preferred interface |
---|---|
Item->GetKeyedName | IGetKeyedName |
Item->onAdd | IOnAction |
Item->onAfterAdd | IAfterAddUpdate |
Item->onAfterCopy | IMethod |
Item->onAfterDelete | IMethod |
Item->onAfterGet | IAfterGet |
Item->onAfterLock | IMethod |
Item->onAfterMethod | IMethod |
Item->onAfterUnlock | IMethod |
Item->onAfterUpdate | IAfterAddUpdate |
Item->onAfterVersion | IAfterVersion |
Item->onBeforeAdd | IBeforeAddUpdate |
Item->onBeforeCopy | IMethod |
Item->onBeforeDelete | IMethod |
Item->onBeforeGet | IBeforeGet |
Item->onBeforeLock | IMethod |
Item->onBeforeMethod | IMethod |
Item->onBeforeUnlock | IMethod |
Item->onBeforeUpdate | IBeforeAddUpdate |
Item->onBeforeVersion | IBeforeVersion |
Item->onDelete | IOnAction |
Item->onGet | IOnGet |
Item->onUpdate | IOnAction |
Life Cycle->Transition->Pre | IPromotion |
Life Cycle->Transition->Post | IPromotion |
Workflow->onActivate | IWorkflow |
Workflow->onAssign | IWorkflow |
Workflow->onClose | IWorkflow |
Workflow->onDelegate | IDelegate |
Workflow->onDue | IWorkflow |
Workflow->onEscalate | IWorkflow |
Workflow->onRefuse | IRefuse |
Workflow->onRemind | IWorkflow |
Workflow->onVote | IVote |
Workflow->Path->Pre | IWorkflow |
Workflow->Path->Post | IWorkflow |
Methods
| Improve this Doc View SourceExecute(ISingleItemContext)
Executes the server event.
Declaration
IReadOnlyResult Execute(ISingleItemContext arg)
Parameters
Type | Name | Description |
---|---|---|
ISingleItemContext | arg | The server context (server connection, context item, and other helper methods). |
Returns
Type | Description |
---|---|
IReadOnlyResult | A result to be returned to the caller (either another method or client) |