Class Index | File Index

Classes


Class ops.Session


Defined in: Session.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ops.Session(odfCanvas)
An editing session and what belongs to it.
Method Summary
Method Attributes Method Name and Description
 
close(callback,)
 
destroy(callback,)
 
enqueue(ops)
Controller sends operations to this method.
<inner>  
Forward the router's batch end signal on to the document
<inner>  
Forward the router's batch start signal on to the document
 
 
<inner>  
init()
 
 
Class Detail
ops.Session(odfCanvas)
An editing session and what belongs to it.
Parameters:
{!odf.OdfCanvas} odfCanvas
Method Detail
{undefined} close(callback,)
Parameters:
{!function(!Object=)} callback,
passing an error object in case of error
Returns:
{undefined}

{undefined} destroy(callback,)
Parameters:
{!function(!Error=)} callback,
passing an error object in case of error
Returns:
{undefined}

{undefined} enqueue(ops)
Controller sends operations to this method.
Parameters:
{!Array.} ops
Returns:
{undefined}

<inner> {undefined} forwardBatchEnd(args)
Forward the router's batch end signal on to the document
Parameters:
{*} args
Returns:
{undefined}

<inner> {undefined} forwardBatchStart(args)
Forward the router's batch start signal on to the document
Parameters:
{*} args
Returns:
{undefined}

{!ops.OdtDocument} getOdtDocument()
Returns:
{!ops.OdtDocument}

{!ops.OperationFactory} getOperationFactory()
Returns:
{!ops.OperationFactory}

<inner> {undefined} init()
Returns:
{undefined}

setOperationFactory(opFactory)
Parameters:
{!ops.OperationFactory} opFactory

{undefined} setOperationRouter(opRouter)
Parameters:
{!ops.OperationRouter} opRouter
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:42 GMT+0200 (MESZ)