Package org.alfresco.repo.jscript
Interface Scopeable
- All Known Implementing Classes:
Actions,ActivitiScriptNode,Activity,AlfrescoScriptVirtualContext,ApplicationScriptUtils,Association,BaseScopableProcessorExtension,Behaviour,CategoryNode,ChildAssociation,Classification,Imap,JscriptWorkflowTask,MetaDataExtractAction,People,Presence,ScriptAction,ScriptActionTrackingService,ScriptAuthorityService,ScriptExecutionDetails,ScriptFormService,ScriptInvitationService,ScriptNode,ScriptPreferenceService,ScriptRatingService,ScriptRenditionDefinition,ScriptRenditionService,ScriptRenditionService2,ScriptReplicationDefinition,ScriptReplicationService,ScriptSiteService,ScriptTaggingService,ScriptTestUtils,ScriptThumbnail,ScriptThumbnailService,ScriptTransferService,ScriptUtils,Search,WorkflowManager
public interface Scopeable
Interface contract for objects that supporting setting of the global scripting scope. This is used to mark objects that are not themselves natively scriptable (i.e. they are wrapped Java objects) but need to access the global scope for the purposes of JavaScript object creation etc.
- Author:
- Kevin Roast
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetScope(org.mozilla.javascript.Scriptable scope) Set the Scriptable global scope
-
Method Details
-
setScope
void setScope(org.mozilla.javascript.Scriptable scope) Set the Scriptable global scope- Parameters:
scope- relative global scope
-