public interface PersistentProcedure extends ADMData, AsyncRequestCountAttribute, CallbackProcedure, CommonHandleChain, CommonFile, CommonProcedure, Deletable, InstantiatingProcedure, PersistableProcedure, Remotable, UniqueID
attribute or method | API |
---|---|
INTERNAL-ENTRIES | internalEntries() |
PERSISTENT | PersistableProcedure.isPersistent() |
CURRENT-WINDOW | currentWindow() and
setCurrentWindow(com.goldencode.p2j.util.handle)
|
GET-SIGNATURE() | getSignature(character) and getSignature(String)
|
PROXY | isProxy() |
TRANSACTION | getTransaction() |
SET-CALLBACK-PROCEDURE | CallbackProcedure.setCallbackProcedure(java.lang.String, java.lang.String) |
handle.unwrapProcedure()
API, which, depending on the
handle's state and type, it either returns an
ExternalProgramWrapper
instance, or a dynamic proxy using
handle.invalidAttrAccessProxy
.Modifier and Type | Method and Description |
---|---|
handle |
currentWindow()
Get CURRENT-WINDOW attribute for this procedure handle.
|
character |
getPublishedEvents()
Get the named events published by this procedure.
|
character |
getSignature(character internalEntry)
Execute the
get-signature method of this procedure instance. |
character |
getSignature(java.lang.String internalEntry)
Execute the
get-signature method of this procedure instance. |
handle |
getTransaction()
Returns a handle to the current opened transaction.
|
character |
internalEntries()
Get the
internal-entries attribute of this procedure instance. |
logical |
isProxy()
Indicates if the procedure is a proxy procedure.
|
logical |
isSingleRun()
Get the
single-run attribute of this procedure instance. |
logical |
isSingleton()
Get the
singleton attribute of this procedure instance. |
void |
setCurrentWindow(handle h)
Set CURRENT-WINDOW attribute for this procedure handle.
|
void |
setCurrentWindow(WindowWidget win)
Set CURRENT-WINDOW attribute for this procedure handle.
|
getADMData, setADMData, setADMData
getAsyncRequestCount
applyCallback, applyCallback, getCallbackProcContext, getCallbackProcContext, getCallbackProcName, getCallbackProcName, setCallback, setCallback, setCallback, setCallback, setCallback, setCallback, setCallback, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure, setCallbackProcedure
getNextSibling, getPrevSibling, getPrivateData, setPrivateData, setPrivateData
getResourceType, readOnlyError, readOnlyError
id, id, unknown, valid
getFileName, initFileInfo, initFileInfo
addSuperProcedure, addSuperProcedure, addSuperProcedure, addSuperProcedure, isRemote, removeSuperProcedure, superProcedures
instantiatingProcedure
isPersistent, setPersistent, setPersistent
getServerHandle, setServerHandle
getUniqueID
character internalEntries()
internal-entries
attribute of this procedure instance.character getSignature(java.lang.String internalEntry)
get-signature
method of this procedure instance.internalEntry
- The legacy name of the internal-entry for which the signature
is needed.character getSignature(character internalEntry)
get-signature
method of this procedure instance.internalEntry
- The legacy name of the internal-entry for which the signature
is needed.handle currentWindow()
void setCurrentWindow(handle h)
h
- A handle for the window.void setCurrentWindow(WindowWidget win)
win
- Window reference.logical isProxy()
true
if the procedure is a proxy procedure ,
false
otherwise.logical isSingleton()
singleton
attribute of this procedure instance.logical isSingleRun()
single-run
attribute of this procedure instance.handle getTransaction()
character getPublishedEvents()