Class NodeAPI
Extends
Chainback.
Defined in: node.js.
Constructor Attributes | Constructor Name and Description |
---|---|
NodeAPI()
Node object.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
NodeAPI.constructs(success, error)
Retrieves a list of constructs and constructs categories that are
assigned to this node and passes it as the only argument into the
the `success()' callback.
|
<static> |
NodeAPI.remove(success, error)
Removes this node object.
|
<static> |
NodeAPI.save(success, error)
Saves the locally modified changes back to the system.
|
Method Detail
<static>
NodeAPI.constructs(success, error)
Retrieves a list of constructs and constructs categories that are
assigned to this node and passes it as the only argument into the
the `success()' callback.
- Parameters:
- {function(Array. success
- Callback to receive an array of constructs.
- {function(GCNError):boolean=} error
- Custom error handler.
- Throws:
- INVALID_ARGUMENTS
- Returns:
- undefined
<static>
NodeAPI.remove(success, error)
Removes this node object.
- Parameters:
- {function=} success
- Callback function to be invoked when this operation has completed successfully.
- {function(GCNError):boolean=} error
- Custom error handler.
<static>
NodeAPI.save(success, error)
Saves the locally modified changes back to the system.
This is currently not yet implemented.
- Parameters:
- {function=} success
- Callback function to be invoked when this operation has completed successfully.
- {function(GCNError):boolean=} error
- Custom error handler.