The following table lists root objects that expose additional APIs:
Root Object | Type in Script Runtime | Description |
---|---|---|
actions | org.alfresco.repo.jscript.Actions | Root object providing invocation of registered actions (see Actions). |
activities | org.alfresco.repo.activities.script.Activity | Root object providing access to the Alfresco Process Services API. |
appUtils | org.alfresco.repo.jscript.ApplicationScriptUtils | Root object providing access to methods specifically for external application use |
bulkFSImport | org.alfresco.repo.bulkimport.script.BulkImport | Bulk Import object |
classification | org.alfresco.repo.jscript.Classification | Access to the root elements of the Classification API |
cmis | org.alfresco.repo.cmis.client.CMISLocalConnectionManagerImpl | CMIS client |
cmisServer | org.alfresco.repo.cmis.rest.CMISScript | CMIS server REST access |
crossRepoCopy | org.alfresco.repo.jscript.CrossRepositoryCopy | Cross repository copy support. |
imap | org.alfresco.repo.jscript.Imap | Root object providing access to IMAP methods for mailbox support |
format | org.springframework.extensions.webscripts.FormatModel | Format model |
jsonUtils | org.springframework.extensions.webscripts.json.JSONUtils | JSON utilities. Web scripts only. |
logger | org.alfresco.repo.jscript.ScriptLogger | Root object providing access to console logging facilities for script debugging |
msg | org.springframework.extensions.webscripts.ScriptMessage | Web scripts only |
paging | org.alfresco.repo.web.util.paging.Paging | Paging API. web scripts only. |
people | org.alfresco.repo.jscript.People | Root object providing access to and manipulation of person objects and groups |
presence | org.alfresco.repo.jscript.Presence | Root object providing access to methods for detecting online presence of users |
search | org.alfresco.repo.jscript.Search | Root object providing access to the various Content Services search interfaces such as FTS-Alfresco, Lucene, XPath, and Saved Search results |
session | org.alfresco.repo.jscript.Session | Session-related information such as the current authentication ticket |
slingshotDocLib | org.alfresco.repo.jscript.SlingshotDocLibCustomResponse | Slingshot |
stringUtils | org.springframework.extensions.webscripts.ScriptableUtils | String utilities |
test | org.alfresco.repo.jscript.ScriptTestUtils | Root object providing access to test utilities |
utils | org.alfresco.repo.jscript.ScriptUtils | Root object providing access to a library of helper functions that are not provided as part of generic JavaScript |
workflow | org.alfresco.repo.workflow.jscript.WorkflowManager | Root object providing access to the workflow service. |