org.alfresco.repo.jscript
Interface Scopeable
- All Known Implementing Classes:
- Actions, Activity, Association, AVM, AVMNode, BaseScopableProcessorExtension, Behaviour, CategoryNode, ChildAssociation, Classification, CrossRepositoryCopy, Imap, JBPMNode, JscriptWorkflowTask, People, Presence, ScriptAction, ScriptAuthorityService, ScriptFormService, ScriptInvitationService, ScriptNode, ScriptPreferenceService, ScriptRenditionDefinition, ScriptRenditionService, ScriptSiteService, ScriptTaggingService, ScriptTestUtils, ScriptThumbnail, ScriptThumbnailService, ScriptTransferService, ScriptUtils, Search, WebProjects, 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.
Method Summary |
void |
setScope(org.mozilla.javascript.Scriptable scope)
Set the Scriptable global scope |
setScope
void setScope(org.mozilla.javascript.Scriptable scope)
- Set the Scriptable global scope
- Parameters:
script
- relative global scope
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.