Package | Description |
---|---|
com.tailf.dp |
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
|
Modifier and Type | Method and Description |
---|---|
Properties |
DpServiceCallback.create(ServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque)
Create callback method.
|
Properties |
DpServiceCallback.postModification(ServiceContext context,
ServiceOperationType operation,
ConfPath path,
Properties opaque)
Post modification callback
If registered this method will be called after a CREATE, UPDATE or
DELETE of the service.
|
Properties |
DpServiceCallback.preLockCreate(ServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque)
Deprecated.
use
DpServiceCallback.create(ServiceContext context,
NavuNode service, NavuNode root, Properties opaque)
This method is called when a service instance committed due to a create
or update event in the same way as the create() callback. The difference
being that this method is called outside of the transaction lock of the
current transaction making it parallel to other pre_lock_create() service
calls.
Care must be taken by the programmer so that the preLockCreate() is
designed in a thread safe manner.
This method returns a opaque as a Properties object that can be null.
If not null it is stored persistently by Ncs.
This object is then delivered as argument to new calls of the create
method for this service (fastmap algorithm).
This way the user can store and later modify persistent data outside
the service model that might be needed. |
Properties |
DpServiceCallback.preModification(ServiceContext context,
ServiceOperationType operation,
ConfPath path,
Properties opaque)
Pre modification callback
If registered this method will be called before a CREATE, UPDATE or
DELETE of the service.
|