Web Script: org/alfresco/indexlifecycle.get
Generated from /share/service/script/org/alfresco/indexlifecycle.get on Jun 14, 2026 12:26:54 AM

Script Properties
Id:org/alfresco/indexlifecycle.get
Short Name:Web Script Lifecycle Index
Description:Provide an index of Web Scripts in the various lifecycle states
none
This web script is not part of a lifecycle.
sample
This web script is a sample and is not intended for production use.
draft
This method may be incomplete, experimental or still subject to change.
public_api
This method is part of the Alfresco public api and should be stable and well tested.
draft_public_api
This method is intended to eventually become part of the public api but is incomplete or still subject to change.
deprecated
This method should be avoided. It may be removed in future versions of Alfresco.
internal
This script is for Alfresco use only. This script should not be relied upon between versions. It is likely to change.
Authentication:none
Transaction:none
Method:GET
URL Template:/index/lifecycle/{lifecycle}
Format Style:any
Default Format:html
Negotiated Formats:[undefined]
Implementation:class org.alfresco.web.scripts.bean.IndexLifecycle
Extensions:[undefined]

Store: classpath:alfresco/site-webscripts

[No implementation files]

Store: classpath:alfresco/webscripts

File: org/alfresco/indexlifecycle.get.desc.xml
<webscript>
  <shortname>Web Script Lifecycle Index</shortname>
  <description><![CDATA[Provide an index of Web Scripts in the various lifecycle states
  <BR>

  <dl>
  <dt>none</dt><dd>This web script is not part of a lifecycle.</dd>
  <dt>sample</dt><dd>This web script is a sample and is not intended for production use.</dd>
  <dt>draft</dt><dd>This method may be incomplete, experimental or still subject to change.</dd>
  <dt>public_api</dt><dd>This method is part of the Alfresco public api and should be stable and well tested.</dd>
  <dt>draft_public_api</dt><dd>This method is intended to eventually become part of the public api but is incomplete or still subject to change.</dd>
  <dt>deprecated</dt><dd>This method should be avoided.  It may be removed in future versions of Alfresco.</dd>
  <dt>internal</dt><dd>This script is for Alfresco use only. This script should not be relied upon between versions.  It is likely to change.</dd>
  </dl>
  
  ]]>
  </description>
  <url>/index/lifecycle/{lifecycle}</url>
  <lifecycle>internal</lifecycle>
</webscript>
File: org/alfresco/indexlifecycle.get.html.ftl
<#import "/org/alfresco/webscripts.lib.html.ftl" as wsLib/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <@wsLib.head>Index of Web Scripts Lifecycle '${lifecycle.path}'</@wsLib.head>
  <body>
    <div>
    <@wsLib.indexheader size=lifecycle.scripts?size>Index of Web Scripts Lifecycle '${lifecycle.path}'</@wsLib.indexheader>
    <br>
    <@wsLib.home/>
    <@wsLib.parent path=lifecycle pathname="lifecycle"/>
    <br>
    <#if lifecycle.children?size &gt; 0>
       <table>
          <@recurseuri lifecycle=lifecycle/>
       </table>
       <br>
    </#if>
    <#macro recurseuri lifecycle>
       <#list lifecycle.children as childpath>
          <#if childpath.scripts?size &gt; 0>
            <tr><td><a href="${url.serviceContext}/index/lifecycle${childpath.path}">${childpath.name}</a>
          </#if>
          <@recurseuri lifecycle=childpath/>
       </#list>  
    </#macro>
    <#list lifecycle.scripts as webscript>
    <#assign desc = webscript.description>
    <span class="mainSubTitle">${desc.shortName}</span>
    <table>
      <#list desc.URIs as uri>
        <tr><td><a href="${url.serviceContext}${uri}">${desc.method} ${url.serviceContext}${uri}</a>
      </#list>
      <tr><td>
    </table>
    <#if desc.description??>
    <table>
       <tr><td>---</td></tr>
       <tr><td>${desc.description}</td></tr>
       <tr><td>---</td></tr>
    </table>
    </#if>
    <table>
      <tr><td>Authentication:</td><td>${desc.requiredAuthentication}</td></tr>
      <tr><td>Transaction:</td><td>${desc.requiredTransaction}</td></tr>
      <tr><td>Format Style:</td><td>${desc.formatStyle}</td><tr>
      <tr><td>Default Format:</td><td>${desc.defaultFormat!"<i>Determined at run-time</i>"}</td></tr>
      <tr><td>Lifecycle:</td><td>${desc.lifecycle}</td></tr>
      <tr><td></td><td></td></tr>
      <tr><td>Id:</td><td><a href="${url.serviceContext}/script/${desc.id}">${desc.id}</a></td></tr>
      <tr><td>Descriptor:</td><td><a href="${url.serviceContext}/description/${desc.id}">${desc.storePath}/${desc.descPath}</a></td></tr>
    </table>
    <br>
    </#list>
    </div>
  </body>
</html>