Public Instance Methods : IdSstExportSet
export: object
"ACTION
Ensure that @object is externally known. If @object is not
already exported, automatically generate an export key.
Return the export key used.
PARAMETERS
object : <Object>
RETURN VALUE
<IuSstExportKey>
CALLBACKS (if configured)
SstExportCallback : Fired after export with the generated key
and @object as the callData."
export: object as: objectId
"ACTION
Make @object externally known as @objectId. Overwrite
any existing mapping for @objectId. Return @object.
PARAMETERS
object : <Object>
objectId : <IuSstExportKey>
RETURN VALUE
<Object>
CALLBACKS (if configured)
SstExportCallback : Fired after export with @key and @object
as the callData."
exportIdFor: object
"ACTION
Answer the id under which @object is exported. Answer nil if
@object has not been exported.
PARAMETERS
object : <Object>
RETURN VALUE
<IuSstExportKey>"
objectExportedAs: key
"ACTION
Return the object which has been exported using @key in
the receiver. If @key is not found, return nil.
PARAMETERS
key : <IuSstExportKey>
RETURN VALUE
<Object> | nil"
objectExportedAs: key ifAbsent: absentHandler
"ACTION
Return the object which has been exported using @key in
the receiver. If @key is not found, return the result of
evaluating @absentHandler.
PARAMETERS
key : <IuSstExportKey>
absentHandler : <Block>
RETURN VALUE
<Object>"
resolve: key ifAbsent: absentHandler
"ACTION
Return the object exported by the receiver using @key. If @key
is not found, return the result of evaluating @absentHandler.
PARAMETERS
key : <IuSstExportKey>
absentHandler : <Block>
RETURN VALUE
<Object>"
unexportId: key
"ACTION
Remove any mapping for @key from the export list of the
receiver. Return the object exported as @key or nil if none
exists.
PARAMETERS
key : <IuSstExportKey>
RETURN VALUE
<Object> | nil
CALLBACKS (if configured)
SstUnexportCallback : Fired after unexport with @key and
the discovered object as the callData."
unexportObject: object
"ACTION
Remove any export mapping with @object as the value.
Return @object or nil if it cannot be found in the receiver.
PARAMETERS
object : <Object>
RETURN VALUE
<Object> | nil
CALLBACKS (if configured)
SstUnexportCallback : Fired after unexport with the key
associated with @object and @object as the callData."
[FIRST] [PREV] [NEXT] [LAST]