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.
pmreferent| 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, getServerHandle, getSignature, getTransaction, getUniqueID, initFileInfo, initFileInfo, instantiatingProcedure, isRemote, isSingleRun, isSingleton, name, name, name, readOnlyError, readOnlyError, resourceType, setADMData, setADMData, setCallback, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCurrentWindow, setCurrentWindow, setPrivateData, setPrivateData, validequals, get, hashCode, id, id, set, unknownclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitapplyCallback, getCallbackProcContext, getCallbackProcName, setCallback, setCallback, setCallback, setCallback, setCallback, setCallbackid, id, unknownsetPersistent, setPersistentsetServerHandleallowDeletepublic DeferredProgramWrapper(DeferredProgram deferred)
deferred - The configuration to defer this invocation.public logical isPersistent()
persistent attribute of this instance.isPersistent in interface PersistableProcedureisPersistent in class ExternalProgramWrapperfalse.public character internalEntries()
INTERNAL-ENTRIES attribute of this instance.internalEntries in interface PersistentProcedureinternalEntries in class ExternalProgramWrapperpublic character getSignature(character internalEntry)
GET-SIGNATURE method of this instance.getSignature in interface PersistentProceduregetSignature in class ExternalProgramWrapperinternalEntry - 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 CommonProceduresuperProcedures in class ExternalProgramWrapperpublic logical addSuperProcedure(handle h)
addSuperProcedure in interface CommonProcedureaddSuperProcedure in class ExternalProgramWrapperh - The handle to be added as a super-procedure.false.public logical addSuperProcedure(handle h, ProcedureManager.SearchMode mode)
mode.addSuperProcedure in interface CommonProcedureaddSuperProcedure in class ExternalProgramWrapperh - 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 CommonProcedureaddSuperProcedure in class ExternalProgramWrapperh - 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 CommonProcedureaddSuperProcedure in class ExternalProgramWrapperh - 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 CommonProcedureremoveSuperProcedure in class ExternalProgramWrapperh - The procedure handle to be removed.false.public logical isProxy()
isProxy in interface PersistentProcedureisProxy in class ExternalProgramWrappertruepublic character getPublishedEvents()
getPublishedEvents in interface PersistentProceduregetPublishedEvents in class ExternalProgramWrapperpublic handle getNextSibling()
NEXT-SIBLING attribute of this instance.getNextSibling in interface CommonHandleChaingetNextSibling in class ExternalProgramWrapperpublic handle getPrevSibling()
PREV-SIBLING attribute of this instance.getPrevSibling in interface CommonHandleChaingetPrevSibling in class ExternalProgramWrapperpublic void delete()
ProcedureManager.delete(Object, boolean).delete in interface Deletabledelete in class ExternalProgramWrapperpublic boolean handleMultipleDeletes()
handleMultipleDeletes in interface MultiDeletablehandleMultipleDeletes in class ExternalProgramWrapperfalse if this can't handle an invalid delete or true otherwise.