Package org.rapidcontext.app.proc
Class ProcedureDeleteProcedure
java.lang.Object
org.rapidcontext.core.storage.StorableObject
org.rapidcontext.core.type.Procedure
org.rapidcontext.app.proc.ProcedureDeleteProcedure
- All Implemented Interfaces:
Procedure
The built-in procedure delete procedure.
- Version:
- 1.0
-
Field Summary
Fields inherited from class org.rapidcontext.core.type.Procedure
ACTIVE_MILLIS, KEY_ALIAS, KEY_BINDING, KEY_DEPRECATED, KEY_DESCRIPTION, PATH
Fields inherited from class org.rapidcontext.core.storage.StorableObject
dict, KEY_ACTIVATED_TIME, KEY_CLASSNAME, KEY_ID, KEY_TYPE, PREFIX_COMPUTED, PREFIX_HIDDEN
-
Constructor Summary
ConstructorsConstructorDescriptionProcedureDeleteProcedure
(String id, String type, Dict dict) Creates a new procedure from a serialized representation. -
Method Summary
Modifier and TypeMethodDescriptioncall
(CallContext cx, Bindings bindings) Executes a call of this procedure in the specified context and with the specified call bindings.Methods inherited from class org.rapidcontext.core.type.Procedure
alias, all, deprecated, description, getBindings, getDescription, getName, isActive
Methods inherited from class org.rapidcontext.core.storage.StorableObject
activate, activatedTime, destroy, id, init, isModified, passivate, path, serialize, sterilize, toString, type
-
Constructor Details
-
ProcedureDeleteProcedure
Creates a new procedure from a serialized representation.- Parameters:
id
- the object identifiertype
- the object type namedict
- the serialized representation
-
-
Method Details
-
call
Executes a call of this procedure in the specified context and with the specified call bindings. The semantics of what the procedure actually does, is up to each implementation. Note that the call bindings are normally inherited from the procedure bindings with arguments bound to their call values.- Parameters:
cx
- the procedure call contextbindings
- the call bindings to use- Returns:
- the result of the call, or null if the call produced no result
- Throws:
ProcedureException
- if the call execution caused an error
-