Operation
Operation
Operation Objects
class Operation()This is a abstract class, it must be extended to another class that defined the specific search. This class is responsible to manage execute operations request to OpenGate North API
constructor
function constructor()Constructor
Arguments:
ogapiInternalOpenGateAPI - this is ogapi instanceresourcestring - this is a base url resourcepostObjobject - it will be sent as a data on post action
execute
function execute() -> 'Promise'This invoke a request to OpenGate North API and the callback is managed by promises
Returns:
Promise
updatePeriodicity
function updatePeriodicity() -> 'Promise'This invoke a request to OpenGate North API and the callback is managed by promises
Returns:
Promise