/alfresco-jscript-extensions

Alfresco repository module with helpful javascript root object extensions which are helpful inn much scenarios

Primary LanguageJavaApache License 2.0Apache-2.0

alfresco-jscript-extensions

Alfresco repository module with helpful javascript root object extensions which are helpful in much scenarios.

Following root objects are provided:

  • auth

    • to change the authentication to another user during the javascript execution
    • to get the current executing authenticated user
    • example: tbd
  • batch

  • policies

    • to temporarly disable or enable policy behavours during javascript extecution
    • policy behaviours can be enabled or disabled on a specific node or a certain aspect/type
    • example: https://gist.github.com/jgoldhammer/6941414
  • jmxClient

  • jobs

  • solr

    • currently get the index state of a node (currently not working due to a bug in the SolrIndexService)
    • example: tbd
  • trans

    • create a new transaction
    • start, commit and rollback (database) transactions during the javascript execution
    • example: tbd