org.alfresco.repo.jscript
Interface Scopeable

All Known Implementing Classes:
Actions, ActivitiScriptNode, Activity, ApplicationScriptUtils, Association, AVM, AVMNode, BaseScopableProcessorExtension, Behaviour, CategoryNode, ChildAssociation, Classification, CrossRepositoryCopy, Imap, JBPMNode, JscriptWorkflowTask, People, Presence, ScriptAction, ScriptActionTrackingService, ScriptAuthorityService, ScriptExecutionDetails, ScriptFormService, ScriptInvitationService, ScriptNode, ScriptPreferenceService, ScriptRatingService, ScriptRenditionDefinition, ScriptRenditionService, ScriptReplicationDefinition, ScriptReplicationService, ScriptSiteService, ScriptTaggingService, ScriptTestUtils, ScriptThumbnail, ScriptThumbnailService, ScriptTransferService, ScriptUtils, Search, SlingshotDocLibCustomResponse, 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
 

Method Detail

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.