public class DeferredProgramWrapper extends ExternalProgramWrapper
RUN ... {SINGLETON|SINGLE-RUN} SET h
is executed.
This saves a DeferredProgram
instance, with the details of the program to be ran, when
one if its internal-entries (or methods, for legacy classes) is accessed.
referent
Constructor and Description |
---|
DeferredProgramWrapper(DeferredProgram deferred)
Create a new wrapper.
|
Modifier and Type | Method and Description |
---|---|
logical |
addSuperProcedure(handle h)
Add the given handle as a super-procedure for the current handle.
|
logical |
addSuperProcedure(handle h,
int mode)
Add the given handle as a super-procedure for the current handle, using
the search-mode set as a string (one of the
SEARCH-TARGET
or SEARCH-SELF string literals). |
logical |
addSuperProcedure(handle h,
integer mode)
Add the given handle as a super-procedure for the current handle, using
the search-mode set as a string (one of the
SEARCH-TARGET
or SEARCH-SELF string literals). |
logical |
addSuperProcedure(handle h,
ProcedureManager.SearchMode mode)
Add the given handle as a super-procedure for the current handle, using
the explicit
mode . |
void |
delete()
Perform actual delete of this procedure, by calling
ProcedureManager.delete(Object, boolean) . |
handle |
getNextSibling()
Get the
NEXT-SIBLING attribute of this instance. |
handle |
getPrevSibling()
Get the
PREV-SIBLING attribute of this instance. |
character |
getPublishedEvents()
Get the named events published by this procedure.
|
character |
getSignature(character internalEntry)
Execute the
GET-SIGNATURE method of this instance. |
boolean |
handleMultipleDeletes()
A deferred program wrapper is eligible for multiple deletes only if there is no server instance.
|
character |
internalEntries()
Get the
INTERNAL-ENTRIES attribute of this instance. |
logical |
isPersistent()
Get the
persistent attribute of this instance. |
logical |
isProxy()
Indicates if the procedure is a proxy procedure.
|
logical |
removeSuperProcedure(handle h)
Remove the given handle from this handle's list of super-procedures.
|
character |
superProcedures()
Get the
SUPER-PROCEDURES attribute of this instance. |
applyCallback, currentWindow, deferredDelete, getADMData, getAsyncRequestCount, getCallbackProcContext, getCallbackProcName, getFileName, getPrivateData, getResourceType, getServerHandle, getSignature, getTransaction, getUniqueID, initFileInfo, initFileInfo, instantiatingProcedure, isRemote, isSingleRun, isSingleton, name, name, name, readOnlyError, readOnlyError, setADMData, setADMData, setCallback, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCurrentWindow, setCurrentWindow, setPrivateData, setPrivateData, valid
equals, get, hashCode, id, id, set, unknown
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
applyCallback, getCallbackProcContext, getCallbackProcName, setCallback, setCallback, setCallback, setCallback, setCallback, setCallback
id, id, unknown
setPersistent, setPersistent
setServerHandle
public DeferredProgramWrapper(DeferredProgram deferred)
deferred
- The configuration to defer this invocation.public logical isPersistent()
persistent
attribute of this instance.isPersistent
in interface PersistableProcedure
isPersistent
in class ExternalProgramWrapper
false
.public character internalEntries()
INTERNAL-ENTRIES
attribute of this instance.internalEntries
in interface PersistentProcedure
internalEntries
in class ExternalProgramWrapper
public character getSignature(character internalEntry)
GET-SIGNATURE
method of this instance.getSignature
in interface PersistentProcedure
getSignature
in class ExternalProgramWrapper
internalEntry
- The legacy name of the internal-entry for which the signature is needed.public character superProcedures()
SUPER-PROCEDURES
attribute of this instance.superProcedures
in interface CommonProcedure
superProcedures
in class ExternalProgramWrapper
public logical addSuperProcedure(handle h)
addSuperProcedure
in interface CommonProcedure
addSuperProcedure
in class ExternalProgramWrapper
h
- The handle to be added as a super-procedure.false
.public logical addSuperProcedure(handle h, ProcedureManager.SearchMode mode)
mode
.addSuperProcedure
in interface CommonProcedure
addSuperProcedure
in class ExternalProgramWrapper
h
- The handle to be added as a super-procedure.mode
- The ProcedureManager.SearchMode
to be set for the h
handle.false
.public logical addSuperProcedure(handle h, int mode)
SEARCH-TARGET
or SEARCH-SELF
string literals).addSuperProcedure
in interface CommonProcedure
addSuperProcedure
in class ExternalProgramWrapper
h
- The handle to be added as a super-procedure.mode
- The search-mode to be set for the h
handle.false
.public logical addSuperProcedure(handle h, integer mode)
SEARCH-TARGET
or SEARCH-SELF
string literals).addSuperProcedure
in interface CommonProcedure
addSuperProcedure
in class ExternalProgramWrapper
h
- The handle to be added as a super-procedure.mode
- The search-mode to be set for the h
handle.false
.public logical removeSuperProcedure(handle h)
removeSuperProcedure
in interface CommonProcedure
removeSuperProcedure
in class ExternalProgramWrapper
h
- The procedure handle to be removed.false
.public logical isProxy()
isProxy
in interface PersistentProcedure
isProxy
in class ExternalProgramWrapper
true
public character getPublishedEvents()
getPublishedEvents
in interface PersistentProcedure
getPublishedEvents
in class ExternalProgramWrapper
public handle getNextSibling()
NEXT-SIBLING
attribute of this instance.getNextSibling
in interface CommonHandleChain
getNextSibling
in class ExternalProgramWrapper
public handle getPrevSibling()
PREV-SIBLING
attribute of this instance.getPrevSibling
in interface CommonHandleChain
getPrevSibling
in class ExternalProgramWrapper
public void delete()
ProcedureManager.delete(Object, boolean)
.delete
in interface Deletable
delete
in class ExternalProgramWrapper
public boolean handleMultipleDeletes()
handleMultipleDeletes
in interface MultiDeletable
handleMultipleDeletes
in class ExternalProgramWrapper
false
if this can't handle an invalid delete or true
otherwise.