mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'master' into feature/RM-2718_ViewCaveatMarks
Conflicts: README.txt rm-community/rm-community-share/pom.xml rm-enterprise/rm-enterprise-repo/src/main/java/org/alfresco/module/org_alfresco_module_rm/caveat/model/CaveatModel.java rm-enterprise/rm-enterprise-share/src/main/amp/web/js/alfresco/rm/renderers/CaveatGroup.js
This commit is contained in:
@@ -50,6 +50,15 @@ To run the automated UI tests, change to the rm-automation directory and run:
|
|||||||
|
|
||||||
Depending on your local Firefox version, you may need to modify the rm-automation/pom.xml to use version 1.7 of selenium-grid
|
Depending on your local Firefox version, you may need to modify the rm-automation/pom.xml to use version 1.7 of selenium-grid
|
||||||
|
|
||||||
|
|
||||||
|
Updating License Headers:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
In order to refesh out of date license source headers run the following command:
|
||||||
|
|
||||||
|
mvn clean install -Dlicense.update.dryrun=false
|
||||||
|
|
||||||
|
|
||||||
SNAPSHOT dependencies:
|
SNAPSHOT dependencies:
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
18
license/alfresco_community/header.txt
Normal file
18
license/alfresco_community/header.txt
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
165
license/alfresco_community/license.txt
Normal file
165
license/alfresco_community/license.txt
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
|
||||||
|
This version of the GNU Lesser General Public License incorporates
|
||||||
|
the terms and conditions of version 3 of the GNU General Public
|
||||||
|
License, supplemented by the additional permissions listed below.
|
||||||
|
|
||||||
|
0. Additional Definitions.
|
||||||
|
|
||||||
|
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||||
|
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||||
|
General Public License.
|
||||||
|
|
||||||
|
"The Library" refers to a covered work governed by this License,
|
||||||
|
other than an Application or a Combined Work as defined below.
|
||||||
|
|
||||||
|
An "Application" is any work that makes use of an interface provided
|
||||||
|
by the Library, but which is not otherwise based on the Library.
|
||||||
|
Defining a subclass of a class defined by the Library is deemed a mode
|
||||||
|
of using an interface provided by the Library.
|
||||||
|
|
||||||
|
A "Combined Work" is a work produced by combining or linking an
|
||||||
|
Application with the Library. The particular version of the Library
|
||||||
|
with which the Combined Work was made is also called the "Linked
|
||||||
|
Version".
|
||||||
|
|
||||||
|
The "Minimal Corresponding Source" for a Combined Work means the
|
||||||
|
Corresponding Source for the Combined Work, excluding any source code
|
||||||
|
for portions of the Combined Work that, considered in isolation, are
|
||||||
|
based on the Application, and not on the Linked Version.
|
||||||
|
|
||||||
|
The "Corresponding Application Code" for a Combined Work means the
|
||||||
|
object code and/or source code for the Application, including any data
|
||||||
|
and utility programs needed for reproducing the Combined Work from the
|
||||||
|
Application, but excluding the System Libraries of the Combined Work.
|
||||||
|
|
||||||
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
You may convey a covered work under sections 3 and 4 of this License
|
||||||
|
without being bound by section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
2. Conveying Modified Versions.
|
||||||
|
|
||||||
|
If you modify a copy of the Library, and, in your modifications, a
|
||||||
|
facility refers to a function or data to be supplied by an Application
|
||||||
|
that uses the facility (other than as an argument passed when the
|
||||||
|
facility is invoked), then you may convey a copy of the modified
|
||||||
|
version:
|
||||||
|
|
||||||
|
a) under this License, provided that you make a good faith effort to
|
||||||
|
ensure that, in the event an Application does not supply the
|
||||||
|
function or data, the facility still operates, and performs
|
||||||
|
whatever part of its purpose remains meaningful, or
|
||||||
|
|
||||||
|
b) under the GNU GPL, with none of the additional permissions of
|
||||||
|
this License applicable to that copy.
|
||||||
|
|
||||||
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
|
|
||||||
|
The object code form of an Application may incorporate material from
|
||||||
|
a header file that is part of the Library. You may convey such object
|
||||||
|
code under terms of your choice, provided that, if the incorporated
|
||||||
|
material is not limited to numerical parameters, data structure
|
||||||
|
layouts and accessors, or small macros, inline functions and templates
|
||||||
|
(ten or fewer lines in length), you do both of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the object code that the
|
||||||
|
Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
4. Combined Works.
|
||||||
|
|
||||||
|
You may convey a Combined Work under terms of your choice that,
|
||||||
|
taken together, effectively do not restrict modification of the
|
||||||
|
portions of the Library contained in the Combined Work and reverse
|
||||||
|
engineering for debugging such modifications, if you also do each of
|
||||||
|
the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the Combined Work that
|
||||||
|
the Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
c) For a Combined Work that displays copyright notices during
|
||||||
|
execution, include the copyright notice for the Library among
|
||||||
|
these notices, as well as a reference directing the user to the
|
||||||
|
copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
d) Do one of the following:
|
||||||
|
|
||||||
|
0) Convey the Minimal Corresponding Source under the terms of this
|
||||||
|
License, and the Corresponding Application Code in a form
|
||||||
|
suitable for, and under terms that permit, the user to
|
||||||
|
recombine or relink the Application with a modified version of
|
||||||
|
the Linked Version to produce a modified Combined Work, in the
|
||||||
|
manner specified by section 6 of the GNU GPL for conveying
|
||||||
|
Corresponding Source.
|
||||||
|
|
||||||
|
1) Use a suitable shared library mechanism for linking with the
|
||||||
|
Library. A suitable mechanism is one that (a) uses at run time
|
||||||
|
a copy of the Library already present on the user's computer
|
||||||
|
system, and (b) will operate properly with a modified version
|
||||||
|
of the Library that is interface-compatible with the Linked
|
||||||
|
Version.
|
||||||
|
|
||||||
|
e) Provide Installation Information, but only if you would otherwise
|
||||||
|
be required to provide such information under section 6 of the
|
||||||
|
GNU GPL, and only to the extent that such information is
|
||||||
|
necessary to install and execute a modified version of the
|
||||||
|
Combined Work produced by recombining or relinking the
|
||||||
|
Application with a modified version of the Linked Version. (If
|
||||||
|
you use option 4d0, the Installation Information must accompany
|
||||||
|
the Minimal Corresponding Source and Corresponding Application
|
||||||
|
Code. If you use option 4d1, you must provide the Installation
|
||||||
|
Information in the manner specified by section 6 of the GNU GPL
|
||||||
|
for conveying Corresponding Source.)
|
||||||
|
|
||||||
|
5. Combined Libraries.
|
||||||
|
|
||||||
|
You may place library facilities that are a work based on the
|
||||||
|
Library side by side in a single library together with other library
|
||||||
|
facilities that are not Applications and are not covered by this
|
||||||
|
License, and convey such a combined library under terms of your
|
||||||
|
choice, if you do both of the following:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work based
|
||||||
|
on the Library, uncombined with any other library facilities,
|
||||||
|
conveyed under the terms of this License.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library that part of it
|
||||||
|
is a work based on the Library, and explaining where to find the
|
||||||
|
accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the GNU Lesser General Public License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Library as you received it specifies that a certain numbered version
|
||||||
|
of the GNU Lesser General Public License "or any later version"
|
||||||
|
applies to it, you have the option of following the terms and
|
||||||
|
conditions either of that published version or of any later version
|
||||||
|
published by the Free Software Foundation. If the Library as you
|
||||||
|
received it does not specify a version number of the GNU Lesser
|
||||||
|
General Public License, you may choose any version of the GNU Lesser
|
||||||
|
General Public License ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Library as you received it specifies that a proxy can decide
|
||||||
|
whether future versions of the GNU Lesser General Public License shall
|
||||||
|
apply, that proxy's public statement of acceptance of any version is
|
||||||
|
permanent authorization for you to choose that version for the
|
||||||
|
Library.
|
1
license/description.ftl
Normal file
1
license/description.ftl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Alfresco Records Management Module
|
2
license/licenses.properties
Normal file
2
license/licenses.properties
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
alfresco_community=Alfresco Community
|
||||||
|
alfresco_enterprise=Alfresco Enterprise
|
57
pom.xml
57
pom.xml
@@ -89,6 +89,11 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<argLine>-Xmx1024m -XX:MaxPermSize=256m -Duser.language=en -Dcom.sun.management.jmxremote</argLine>
|
<argLine>-Xmx1024m -XX:MaxPermSize=256m -Duser.language=en -Dcom.sun.management.jmxremote</argLine>
|
||||||
|
|
||||||
|
<!-- license properties -->
|
||||||
|
<license.update.dryrun>true</license.update.dryrun>
|
||||||
|
<license.verbose>false</license.verbose>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
@@ -241,6 +246,58 @@
|
|||||||
<artifactId>sql-maven-plugin</artifactId>
|
<artifactId>sql-maven-plugin</artifactId>
|
||||||
<version>1.5</version>
|
<version>1.5</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- License header generation -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
<version>1.8</version>
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
<verbose>${license.verbose}</verbose>
|
||||||
|
<addSvnKeyWords>false</addSvnKeyWords>
|
||||||
|
|
||||||
|
<!-- header configuration -->
|
||||||
|
<organizationName>Alfresco Software Limited</organizationName>
|
||||||
|
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
||||||
|
<canUpdateCopyright>true</canUpdateCopyright>
|
||||||
|
<canUpdateDescription>true</canUpdateDescription>
|
||||||
|
|
||||||
|
<!-- licence configuration -->
|
||||||
|
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
||||||
|
|
||||||
|
<!-- dry run options -->
|
||||||
|
<dryRun>${license.update.dryrun}</dryRun>
|
||||||
|
<failOnMissingHeader>true</failOnMissingHeader>
|
||||||
|
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
||||||
|
|
||||||
|
<!-- default root -->
|
||||||
|
<roots>
|
||||||
|
<root>src</root>
|
||||||
|
</roots>
|
||||||
|
|
||||||
|
<!-- exculsions -->
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/package-info.java</exclude>
|
||||||
|
<exclude>**/*.properties</exclude>
|
||||||
|
<exclude>**/*.css</exclude>
|
||||||
|
<exclude>**/*.xml</exclude>
|
||||||
|
<exclude>**/*.json</exclude>
|
||||||
|
<exclude>**/*.txt</exclude>
|
||||||
|
<exclude>**/*.html</exclude>
|
||||||
|
</excludes>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>first</id>
|
||||||
|
<goals>
|
||||||
|
<goal>update-file-header</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>process-sources</phase>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
@@ -13,11 +13,13 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
||||||
<selenium.version>2.45.0</selenium.version>
|
<selenium.version>2.45.0</selenium.version>
|
||||||
<spring.version>4.0.5.RELEASE</spring.version>
|
<spring.version>4.0.5.RELEASE</spring.version>
|
||||||
<maven.build.sourceVersion>1.8</maven.build.sourceVersion>
|
<maven.build.sourceVersion>1.8</maven.build.sourceVersion>
|
||||||
<suiteXmlFile>testng.xml</suiteXmlFile>
|
<suiteXmlFile>testng.xml</suiteXmlFile>
|
||||||
<skip.automationtests>true</skip.automationtests>
|
<skip.automationtests>true</skip.automationtests>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
@@ -65,7 +67,56 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- License header generation -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<licenseName>alfresco_enterprise</licenseName>
|
||||||
|
<licenseResolver>file:${project.parent.basedir}/license</licenseResolver>
|
||||||
|
<descriptionTemplate>${project.parent.basedir}/license/description.ftl</descriptionTemplate>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
<configuration>
|
||||||
|
<lifecycleMappingMetadata>
|
||||||
|
<pluginExecutions>
|
||||||
|
<pluginExecution>
|
||||||
|
<pluginExecutionFilter>
|
||||||
|
<groupId>
|
||||||
|
org.codehaus.mojo
|
||||||
|
</groupId>
|
||||||
|
<artifactId>
|
||||||
|
license-maven-plugin
|
||||||
|
</artifactId>
|
||||||
|
<versionRange>
|
||||||
|
[1.8,)
|
||||||
|
</versionRange>
|
||||||
|
<goals>
|
||||||
|
<goal>
|
||||||
|
update-file-header
|
||||||
|
</goal>
|
||||||
|
</goals>
|
||||||
|
</pluginExecutionFilter>
|
||||||
|
<action>
|
||||||
|
<ignore></ignore>
|
||||||
|
</action>
|
||||||
|
</pluginExecution>
|
||||||
|
</pluginExecutions>
|
||||||
|
</lifecycleMappingMetadata>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style type="text/css"><!--
|
<style type="text/css"><!--
|
||||||
@@ -121,4 +147,4 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Main entrypoint for script.
|
* Main entrypoint for script.
|
||||||
*
|
*
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style type="text/css"><!--
|
<style type="text/css"><!--
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style type="text/css"><!--
|
<style type="text/css"><!--
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Main entrypoint for script.
|
* Main entrypoint for script.
|
||||||
* This sample script simply echoes the name of the node with the changed property.
|
* This sample script simply echoes the name of the node with the changed property.
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style type="text/css"><!--
|
<style type="text/css"><!--
|
||||||
@@ -113,4 +139,4 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style type="text/css"><!--
|
<style type="text/css"><!--
|
||||||
@@ -117,4 +143,4 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<#assign isAccession=node.properties["rma:transferAccessionIndicator"]>
|
<#assign isAccession=node.properties["rma:transferAccessionIndicator"]>
|
||||||
@@ -84,4 +110,4 @@
|
|||||||
${transferNode.properties["declaredOn"]?string(message("file.report.date.format"))?html}
|
${transferNode.properties["declaredOn"]?string(message("file.report.date.format"))?html}
|
||||||
</#if>
|
</#if>
|
||||||
</div>
|
</div>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
<#include "classes.get.json.ftl">
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#include "classes.get.json.ftl">
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
<#include "properties.get.json.ftl">
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#include "properties.get.json.ftl">
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
{}
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
{}
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
{}
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
{}
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
<#include "actionconditiondefinitions.get.json.ftl">
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#include "actionconditiondefinitions.get.json.ftl">
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
<#include "actiondefinitions.get.json.ftl">
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#include "actiondefinitions.get.json.ftl">
|
||||||
|
@@ -1,8 +1,34 @@
|
|||||||
{
|
<#--
|
||||||
"substitutions":
|
#%L
|
||||||
[
|
Alfresco Records Management Module
|
||||||
<#list substitutions as substitution>
|
%%
|
||||||
"${substitution}"<#if substitution_has_next>,</#if>
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
</#list>
|
%%
|
||||||
]
|
This file is part of the Alfresco software.
|
||||||
}
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
{
|
||||||
|
"substitutions":
|
||||||
|
[
|
||||||
|
<#list substitutions as substitution>
|
||||||
|
"${substitution}"<#if substitution_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
var PeopleCache = {};
|
var PeopleCache = {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -122,4 +148,4 @@ function main()
|
|||||||
model.versions = versions;
|
model.versions = versions;
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
[
|
[
|
||||||
<#list versions as v>
|
<#list versions as v>
|
||||||
@@ -19,4 +45,4 @@
|
|||||||
}<#if (v_has_next)>,</#if>
|
}<#if (v_has_next)>,</#if>
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "emailmap.lib.ftl" as emailmapLib/>
|
<#import "emailmap.lib.ftl" as emailmapLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "emailmap.lib.ftl" as emailmapLib/>
|
<#import "emailmap.lib.ftl" as emailmapLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#-- renders an email map object -->
|
<#-- renders an email map object -->
|
||||||
|
|
||||||
<#macro emailmapJSON emailmap>
|
<#macro emailmapJSON emailmap>
|
||||||
@@ -11,4 +37,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "emailmap.lib.ftl" as emailmapLib/>
|
<#import "emailmap.lib.ftl" as emailmapLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data" :
|
"data" :
|
||||||
@@ -10,4 +36,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
function existsTitle(caveatConfig, title)
|
function existsTitle(caveatConfig, title)
|
||||||
{
|
{
|
||||||
var constraints = caveatConfig.allConstraints;
|
var constraints = caveatConfig.allConstraints;
|
||||||
@@ -15,4 +41,4 @@ function existsTitle(caveatConfig, title)
|
|||||||
}
|
}
|
||||||
|
|
||||||
return alreadyExists;
|
return alreadyExists;
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Delete the rm constraint list
|
* Delete the rm constraint list
|
||||||
*/
|
*/
|
||||||
@@ -24,4 +50,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,5 +1,31 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": { }
|
"data": { }
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Get the detail of the rm constraint
|
* Get the detail of the rm constraint
|
||||||
*/
|
*/
|
||||||
@@ -22,4 +48,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
@@ -5,4 +31,4 @@
|
|||||||
"data": <@rmconstraintLib.constraintJSON constraint=constraint />
|
"data": <@rmconstraintLib.constraintJSON constraint=constraint />
|
||||||
|
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#-- renders an rm constraint object -->
|
<#-- renders an rm constraint object -->
|
||||||
|
|
||||||
<#macro constraintSummaryJSON constraint>
|
<#macro constraintSummaryJSON constraint>
|
||||||
@@ -58,4 +84,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
@@ -8,4 +34,4 @@
|
|||||||
"message" : "${msg(errorMessage, title)}"
|
"message" : "${msg(errorMessage, title)}"
|
||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,5 +1,32 @@
|
|||||||
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/rma/admin/rmconstraint/rmconstraint-utils.js">
|
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/rma/admin/rmconstraint/rmconstraint-utils.js">
|
||||||
|
|
||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update an rm constraint
|
* Update an rm constraint
|
||||||
*/
|
*/
|
||||||
@@ -57,4 +84,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* List the names of the rm constraints
|
* List the names of the rm constraints
|
||||||
*/
|
*/
|
||||||
@@ -16,4 +42,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
@@ -10,4 +36,4 @@
|
|||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
@@ -8,4 +34,4 @@
|
|||||||
"message" : "${msg(errorMessage, title)}"
|
"message" : "${msg(errorMessage, title)}"
|
||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,5 +1,32 @@
|
|||||||
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/rma/admin/rmconstraint/rmconstraint-utils.js">
|
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/rma/admin/rmconstraint/rmconstraint-utils.js">
|
||||||
|
|
||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new RM Constraint List
|
* Create a new RM Constraint List
|
||||||
*/
|
*/
|
||||||
@@ -51,4 +78,4 @@ function main()
|
|||||||
model.constraint = caveatConfig.createConstraint(name, title, allowedValues);
|
model.constraint = caveatConfig.createConstraint(name, title, allowedValues);
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Get the detail of the rm constraint
|
* Get the detail of the rm constraint
|
||||||
*/
|
*/
|
||||||
@@ -22,4 +48,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Update the details of a value in an rm constraint
|
* Update the details of a value in an rm constraint
|
||||||
*/
|
*/
|
||||||
@@ -36,4 +62,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Delete the rm constraint list
|
* Delete the rm constraint list
|
||||||
*/
|
*/
|
||||||
@@ -38,4 +64,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* Alfresco Records Management Module
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
* %%
|
||||||
|
* This file is part of the Alfresco software.
|
||||||
|
*
|
||||||
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
* provided under the following open source license terms:
|
||||||
|
*
|
||||||
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* Get the detail of the rm constraint
|
* Get the detail of the rm constraint
|
||||||
*/
|
*/
|
||||||
@@ -33,4 +59,4 @@ function main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
<#import "../rmconstraint.lib.ftl" as rmconstraintLib/>
|
||||||
|
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data": <@rmconstraintLib.constraintWithValueJSON constraint=constraint value=value/>
|
"data": <@rmconstraintLib.constraintWithValueJSON constraint=constraint value=value/>
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
{}
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
{}
|
||||||
|
@@ -1,8 +1,34 @@
|
|||||||
<#import "rmevent.lib.ftl" as rmEventLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<@rmEventLib.eventJSON event=event />
|
%%
|
||||||
}
|
This file is part of the Alfresco software.
|
||||||
</#escape>
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmevent.lib.ftl" as rmEventLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
<@rmEventLib.eventJSON event=event />
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#-- renders an rm event object -->
|
<#-- renders an rm event object -->
|
||||||
|
|
||||||
<#macro eventJSON event>
|
<#macro eventJSON event>
|
||||||
|
@@ -1,8 +1,34 @@
|
|||||||
<#import "rmevent.lib.ftl" as rmEventLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<@rmEventLib.eventJSON event=event />
|
%%
|
||||||
}
|
This file is part of the Alfresco software.
|
||||||
</#escape>
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmevent.lib.ftl" as rmEventLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
<@rmEventLib.eventJSON event=event />
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,13 +1,39 @@
|
|||||||
<#import "rmevent.lib.ftl" as rmEventLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
{
|
%%
|
||||||
<#list events as event>
|
This file is part of the Alfresco software.
|
||||||
"${event.name}":
|
|
||||||
<@rmEventLib.eventJSON event=event /><#if event_has_next>,</#if>
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
</#list>
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
}
|
provided under the following open source license terms:
|
||||||
}
|
|
||||||
</#escape>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmevent.lib.ftl" as rmEventLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
<#list events as event>
|
||||||
|
"${event.name}":
|
||||||
|
<@rmEventLib.eventJSON event=event /><#if event_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,9 +1,35 @@
|
|||||||
<#import "rmevent.lib.ftl" as rmEventLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<@rmEventLib.eventJSON event=event />
|
%%
|
||||||
}
|
This file is part of the Alfresco software.
|
||||||
}
|
|
||||||
</#escape>
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmevent.lib.ftl" as rmEventLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
<@rmEventLib.eventJSON event=event />
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,16 +1,42 @@
|
|||||||
<#import "rmevent.lib.ftl" as rmEventLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
{
|
%%
|
||||||
<#list eventtypes as eventtype>
|
This file is part of the Alfresco software.
|
||||||
"${eventtype.name}":
|
|
||||||
{
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
"eventTypeName" : "${eventtype.name}",
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
"eventTypeDisplayLabel" : "<#if eventtype.displayLabel??>${eventtype.displayLabel}<#else></#if>"
|
provided under the following open source license terms:
|
||||||
}<#if eventtype_has_next>,</#if>
|
|
||||||
</#list>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
}
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
}
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
</#escape>
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmevent.lib.ftl" as rmEventLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
<#list eventtypes as eventtype>
|
||||||
|
"${eventtype.name}":
|
||||||
|
{
|
||||||
|
"eventTypeName" : "${eventtype.name}",
|
||||||
|
"eventTypeDisplayLabel" : "<#if eventtype.displayLabel??>${eventtype.displayLabel}<#else></#if>"
|
||||||
|
}<#if eventtype_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
{}
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
{}
|
||||||
|
@@ -1,8 +1,34 @@
|
|||||||
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<@rmRoleLib.roleJSON role=role />
|
%%
|
||||||
}
|
This file is part of the Alfresco software.
|
||||||
</#escape>
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
<@rmRoleLib.roleJSON role=role />
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#-- renders an rm role object -->
|
<#-- renders an rm role object -->
|
||||||
<#macro roleJSON role>
|
<#macro roleJSON role>
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
@@ -36,4 +62,4 @@
|
|||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
@@ -1,8 +1,34 @@
|
|||||||
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<@rmRoleLib.roleJSON role=role />
|
%%
|
||||||
}
|
This file is part of the Alfresco software.
|
||||||
</#escape>
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
<@rmRoleLib.roleJSON role=role />
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,13 +1,39 @@
|
|||||||
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
{
|
%%
|
||||||
<#list roles as role>
|
This file is part of the Alfresco software.
|
||||||
"${role.name}":
|
|
||||||
<@rmRoleLib.roleJSON role=role /><#if role_has_next>,</#if>
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
</#list>
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
}
|
provided under the following open source license terms:
|
||||||
}
|
|
||||||
</#escape>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
<#list roles as role>
|
||||||
|
"${role.name}":
|
||||||
|
<@rmRoleLib.roleJSON role=role /><#if role_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,8 +1,34 @@
|
|||||||
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
<#--
|
||||||
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"data":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<@rmRoleLib.roleJSON role=role />
|
%%
|
||||||
}
|
This file is part of the Alfresco software.
|
||||||
</#escape>
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "rmrole.lib.ftl" as rmRoleLib/>
|
||||||
|
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
<@rmRoleLib.roleJSON role=role />
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"success": ${success?string}
|
"success": ${success?string}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"success": ${success?string}
|
"success": ${success?string}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"success": ${success?string}
|
"success": ${success?string}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
@@ -30,4 +56,4 @@
|
|||||||
]
|
]
|
||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,14 +1,40 @@
|
|||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#--
|
||||||
{
|
#%L
|
||||||
"data":
|
Alfresco Records Management Module
|
||||||
[
|
%%
|
||||||
<#list items as item>
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
{
|
%%
|
||||||
"name" : "${item.name}",
|
This file is part of the Alfresco software.
|
||||||
"isAspect" : ${item.isAspect?string},
|
|
||||||
"title" : "${item.title}"
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
}<#if item_has_next>,</#if>
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
</#list>
|
provided under the following open source license terms:
|
||||||
]
|
|
||||||
}
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
</#escape>
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
[
|
||||||
|
<#list items as item>
|
||||||
|
{
|
||||||
|
"name" : "${item.name}",
|
||||||
|
"isAspect" : ${item.isAspect?string},
|
||||||
|
"title" : "${item.title}"
|
||||||
|
}<#if item_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"propId": "${propId!""}",
|
"propId": "${propId!""}",
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"propId": "${propId!""}",
|
"propId": "${propId!""}",
|
||||||
|
@@ -1,43 +1,69 @@
|
|||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#--
|
||||||
{
|
#%L
|
||||||
"data":
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"customProperties":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
{
|
%%
|
||||||
<#list customProps as prop>
|
This file is part of the Alfresco software.
|
||||||
"${prop.name.toPrefixString()}":
|
|
||||||
{
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
"dataType": "<#if prop.dataType??>${prop.dataType.name.toPrefixString()}</#if>",
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
"label": "${prop.title!""}",
|
provided under the following open source license terms:
|
||||||
"description": "${prop.description!""}",
|
|
||||||
"mandatory": ${prop.mandatory?string},
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
"multiValued": ${prop.multiValued?string},
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
"defaultValue": "${prop.defaultValue!""}",
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
"protected": ${prop.protected?string},
|
(at your option) any later version.
|
||||||
"propId": "${prop.name.localName}",
|
|
||||||
"constraintRefs":
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
[
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
<#list prop.constraints as con>
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
{
|
GNU Lesser General Public License for more details.
|
||||||
"name": "${con.constraint.shortName!""}",
|
|
||||||
"title": "${msg(con.constraint.title)!""}",
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
"type": "${con.constraint.type!""}",
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"parameters":
|
#L%
|
||||||
{
|
-->
|
||||||
<#-- Basic implementation. Only providing 2 hardcoded parameters. -->
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
<#assign lov = con.constraint.parameters["allowedValues"]>
|
{
|
||||||
"caseSensitive": ${con.constraint.parameters["caseSensitive"]?string},
|
"data":
|
||||||
"listOfValues" :
|
{
|
||||||
[
|
"customProperties":
|
||||||
<#list lov as val>"${val}"<#if val_has_next>,</#if></#list>
|
{
|
||||||
]
|
<#list customProps as prop>
|
||||||
}
|
"${prop.name.toPrefixString()}":
|
||||||
}<#if con_has_next>,</#if>
|
{
|
||||||
</#list>
|
"dataType": "<#if prop.dataType??>${prop.dataType.name.toPrefixString()}</#if>",
|
||||||
]
|
"label": "${prop.title!""}",
|
||||||
}<#if prop_has_next>,</#if>
|
"description": "${prop.description!""}",
|
||||||
</#list>
|
"mandatory": ${prop.mandatory?string},
|
||||||
}
|
"multiValued": ${prop.multiValued?string},
|
||||||
}
|
"defaultValue": "${prop.defaultValue!""}",
|
||||||
}
|
"protected": ${prop.protected?string},
|
||||||
</#escape>
|
"propId": "${prop.name.localName}",
|
||||||
|
"constraintRefs":
|
||||||
|
[
|
||||||
|
<#list prop.constraints as con>
|
||||||
|
{
|
||||||
|
"name": "${con.constraint.shortName!""}",
|
||||||
|
"title": "${msg(con.constraint.title)!""}",
|
||||||
|
"type": "${con.constraint.type!""}",
|
||||||
|
"parameters":
|
||||||
|
{
|
||||||
|
<#-- Basic implementation. Only providing 2 hardcoded parameters. -->
|
||||||
|
<#assign lov = con.constraint.parameters["allowedValues"]>
|
||||||
|
"caseSensitive": ${con.constraint.parameters["caseSensitive"]?string},
|
||||||
|
"listOfValues" :
|
||||||
|
[
|
||||||
|
<#list lov as val>"${val}"<#if val_has_next>,</#if></#list>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}<#if con_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
|
}<#if prop_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
{
|
{
|
||||||
"success": ${success?string}
|
"success": ${success?string}
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,31 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"success": ${success?string}
|
"success": ${success?string}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"success": ${success?string},
|
"success": ${success?string},
|
||||||
@@ -7,4 +33,4 @@
|
|||||||
"url": "${url?string}"
|
"url": "${url?string}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"refId": "${refId}",
|
"refId": "${refId}",
|
||||||
|
@@ -1,16 +1,42 @@
|
|||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#--
|
||||||
{
|
#%L
|
||||||
"data":
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"customReferences":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
[
|
%%
|
||||||
<#list customRefs as ref>
|
This file is part of the Alfresco software.
|
||||||
{
|
|
||||||
<#assign keys = ref?keys>
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
}<#if ref_has_next>,</#if>
|
provided under the following open source license terms:
|
||||||
</#list>
|
|
||||||
]
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
}
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
}
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
</#escape>
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
"customReferences":
|
||||||
|
[
|
||||||
|
<#list customRefs as ref>
|
||||||
|
{
|
||||||
|
<#assign keys = ref?keys>
|
||||||
|
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
|
||||||
|
}<#if ref_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,27 +1,53 @@
|
|||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#--
|
||||||
{
|
#%L
|
||||||
"data":
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"nodeName": "${nodeName!""}",
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
"nodeTitle": "${nodeTitle!""}",
|
%%
|
||||||
"customReferencesFrom":
|
This file is part of the Alfresco software.
|
||||||
[
|
|
||||||
<#list customRefsFrom as ref>
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
{
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
<#assign keys = ref?keys>
|
provided under the following open source license terms:
|
||||||
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
|
|
||||||
}<#if ref_has_next>,</#if>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
</#list>
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
],
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
"customReferencesTo":
|
(at your option) any later version.
|
||||||
[
|
|
||||||
<#list customRefsTo as ref>
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
{
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
<#assign keys = ref?keys>
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
|
GNU Lesser General Public License for more details.
|
||||||
}<#if ref_has_next>,</#if>
|
|
||||||
</#list>
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
]
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}
|
#L%
|
||||||
}
|
-->
|
||||||
</#escape>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
"nodeName": "${nodeName!""}",
|
||||||
|
"nodeTitle": "${nodeTitle!""}",
|
||||||
|
"customReferencesFrom":
|
||||||
|
[
|
||||||
|
<#list customRefsFrom as ref>
|
||||||
|
{
|
||||||
|
<#assign keys = ref?keys>
|
||||||
|
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
|
||||||
|
}<#if ref_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
],
|
||||||
|
"customReferencesTo":
|
||||||
|
[
|
||||||
|
<#list customRefsTo as ref>
|
||||||
|
{
|
||||||
|
<#assign keys = ref?keys>
|
||||||
|
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
|
||||||
|
}<#if ref_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,6 +1,32 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"success": ${success?string},
|
"success": ${success?string},
|
||||||
"message": "${message}"
|
"message": "${message}"
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
@@ -12,4 +38,4 @@
|
|||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
<#include "dispositionschedule.get.json.ftl">
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#include "dispositionschedule.get.json.ftl">
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#macro actionJSON action>
|
<#macro actionJSON action>
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
@@ -15,4 +41,4 @@
|
|||||||
"eligibleOnFirstCompleteEvent": ${action.eligibleOnFirstCompleteEvent?string}
|
"eligibleOnFirstCompleteEvent": ${action.eligibleOnFirstCompleteEvent?string}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
@@ -1,5 +1,31 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
|
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
<@actionDefLib.actionJSON action=action/>
|
<@actionDefLib.actionJSON action=action/>
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
|
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
@@ -37,4 +63,4 @@
|
|||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
{
|
{
|
||||||
"data" :
|
"data" :
|
||||||
{
|
{
|
||||||
@@ -11,4 +37,4 @@
|
|||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
|
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
|
||||||
|
|
||||||
<@scheduleJSON schedule=schedule/>
|
<@scheduleJSON schedule=schedule/>
|
||||||
@@ -26,4 +52,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
@@ -1,16 +1,42 @@
|
|||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#--
|
||||||
{
|
#%L
|
||||||
"data":
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"dodCustomTypes":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
[
|
%%
|
||||||
<#list dodCustomTypes as aspDef>
|
This file is part of the Alfresco software.
|
||||||
{
|
|
||||||
"name": "${aspDef.name.prefixString}",
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
"title": "${aspDef.title!""}"
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
}<#if aspDef_has_next>,</#if>
|
provided under the following open source license terms:
|
||||||
</#list>
|
|
||||||
]
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
}
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
}
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
</#escape>
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
"dodCustomTypes":
|
||||||
|
[
|
||||||
|
<#list dodCustomTypes as aspDef>
|
||||||
|
{
|
||||||
|
"name": "${aspDef.name.prefixString}",
|
||||||
|
"title": "${aspDef.title!""}"
|
||||||
|
}<#if aspDef_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,19 +1,45 @@
|
|||||||
<html>
|
<#--
|
||||||
<head>
|
#%L
|
||||||
<title>Export failure</title>
|
Alfresco Records Management Module
|
||||||
</head>
|
%%
|
||||||
<body>
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<#if (args.failureCallbackFunction?exists)>
|
%%
|
||||||
<script type="text/javascript">
|
This file is part of the Alfresco software.
|
||||||
${args.failureCallbackFunction}.call(${args.failureCallbackScope!'window'}, {
|
|
||||||
status: {
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
"code" : ${status.code},
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
"name" : "${status.codeName}",
|
provided under the following open source license terms:
|
||||||
"description" : "${status.codeDescription}"
|
|
||||||
},
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
message: "${jsonUtils.encodeJSONString(status.message)}"
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
});
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
</script>
|
(at your option) any later version.
|
||||||
</#if>
|
|
||||||
</body>
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
</html>
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Export failure</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<#if (args.failureCallbackFunction?exists)>
|
||||||
|
<script type="text/javascript">
|
||||||
|
${args.failureCallbackFunction}.call(${args.failureCallbackScope!'window'}, {
|
||||||
|
status: {
|
||||||
|
"code" : ${status.code},
|
||||||
|
"name" : "${status.codeName}",
|
||||||
|
"description" : "${status.codeDescription}"
|
||||||
|
},
|
||||||
|
message: "${jsonUtils.encodeJSONString(status.message)}"
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</#if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
@@ -1,196 +1,222 @@
|
|||||||
/**
|
/*
|
||||||
* Main entry point for this webscript.
|
* #%L
|
||||||
* Builds a nodeRef from the url and creates a records series, category and/or folder
|
* Alfresco Records Management Module
|
||||||
* template model depending on what nodeRef that has been given.
|
* %%
|
||||||
*
|
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
* @method main
|
* %%
|
||||||
*/
|
* This file is part of the Alfresco software.
|
||||||
function main()
|
*
|
||||||
{
|
* If the software was purchased under a paid Alfresco license, the terms of
|
||||||
// Get the node from the URL
|
* the paid license agreement will prevail. Otherwise, the software is
|
||||||
var pathSegments = url.match.split("/");
|
* provided under the following open source license terms:
|
||||||
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
*
|
||||||
var node = search.findNode(pathSegments[2], reference);
|
* Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
// 404 if the node is not found
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
if (node == null)
|
* (at your option) any later version.
|
||||||
{
|
*
|
||||||
status.setCode(status.STATUS_NOT_FOUND, "The node could not be found");
|
* Alfresco is distributed in the hope that it will be useful,
|
||||||
return;
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
}
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
// Get rid of the model URL to enable support for both older DOD5015 and new recordsmanagement model namespaces
|
*
|
||||||
var nodeType = node.type.split("}")[1];
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// Get the record series, categories and/or folders
|
* #L%
|
||||||
if(nodeType == "filePlan")
|
*/
|
||||||
{
|
/**
|
||||||
var recordSeries = [],
|
* Main entry point for this webscript.
|
||||||
seriesNodes = node.children,
|
* Builds a nodeRef from the url and creates a records series, category and/or folder
|
||||||
seriesNode;
|
* template model depending on what nodeRef that has been given.
|
||||||
for (var rsi = 0, rsl = seriesNodes.length; rsi < rsl; rsi++)
|
*
|
||||||
{
|
* @method main
|
||||||
var seriesNode = seriesNodes[rsi];
|
*/
|
||||||
if(seriesNode.type.split("}")[1] == "recordSeries")
|
function main()
|
||||||
{
|
{
|
||||||
recordSeries.push(getRecordSeries(seriesNode));
|
// Get the node from the URL
|
||||||
}
|
var pathSegments = url.match.split("/");
|
||||||
}
|
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
||||||
recordSeries.sort(sortByName);
|
var node = search.findNode(pathSegments[2], reference);
|
||||||
model.recordSeries = recordSeries;
|
|
||||||
}
|
// 404 if the node is not found
|
||||||
else if(nodeType == "recordSeries")
|
if (node == null)
|
||||||
{
|
{
|
||||||
var recordSeries = [];
|
status.setCode(status.STATUS_NOT_FOUND, "The node could not be found");
|
||||||
recordSeries.push(getRecordSeries(node));
|
return;
|
||||||
model.recordSeries = recordSeries;
|
}
|
||||||
}
|
|
||||||
else if(nodeType == "recordCategory")
|
// Get rid of the model URL to enable support for both older DOD5015 and new recordsmanagement model namespaces
|
||||||
{
|
var nodeType = node.type.split("}")[1];
|
||||||
var recordCategories = [];
|
|
||||||
recordCategories.push(getRecordCategory(node, "/" + node.parent.name + "/"));
|
// Get the record series, categories and/or folders
|
||||||
model.recordCategories = recordCategories;
|
if(nodeType == "filePlan")
|
||||||
}
|
{
|
||||||
else if(nodeType == "recordFolder")
|
var recordSeries = [],
|
||||||
{
|
seriesNodes = node.children,
|
||||||
var recordFolders = [];
|
seriesNode;
|
||||||
var recordCategory = node.parent;
|
for (var rsi = 0, rsl = seriesNodes.length; rsi < rsl; rsi++)
|
||||||
recordFolders.push(getRecordFolder(node, "" + recordCategory.parent.name + "/" + recordCategory.name + "/"));
|
{
|
||||||
model.recordFolders = recordFolders;
|
var seriesNode = seriesNodes[rsi];
|
||||||
} else
|
if(seriesNode.type.split("}")[1] == "recordSeries")
|
||||||
{
|
{
|
||||||
// Throw an error if we don't recognise the node type
|
recordSeries.push(getRecordSeries(seriesNode));
|
||||||
status.setCode(status.STATUS_INTERNAL_SERVER_ERROR, "Unrecognised node type: " + node.type)
|
}
|
||||||
return;
|
}
|
||||||
}
|
recordSeries.sort(sortByName);
|
||||||
}
|
model.recordSeries = recordSeries;
|
||||||
|
}
|
||||||
/**
|
else if(nodeType == "recordSeries")
|
||||||
* Sort helper function for objects with names
|
{
|
||||||
*
|
var recordSeries = [];
|
||||||
* @method sortByName
|
recordSeries.push(getRecordSeries(node));
|
||||||
* @param obj1
|
model.recordSeries = recordSeries;
|
||||||
* @param obj2
|
}
|
||||||
*/
|
else if(nodeType == "recordCategory")
|
||||||
function sortByName(obj1, obj2)
|
{
|
||||||
{
|
var recordCategories = [];
|
||||||
return (obj1.name > obj2.name) ? 1 : (obj1.name < obj2.name) ? -1 : 0;
|
recordCategories.push(getRecordCategory(node, "/" + node.parent.name + "/"));
|
||||||
}
|
model.recordCategories = recordCategories;
|
||||||
|
}
|
||||||
/**
|
else if(nodeType == "recordFolder")
|
||||||
* Takes a ScriptNode and builds a Record Series template model from it
|
{
|
||||||
*
|
var recordFolders = [];
|
||||||
* @method getRecordSeries
|
var recordCategory = node.parent;
|
||||||
* @param seriesNode {ScriptNode} A ScriptNode of type "rma:recordSeries"
|
recordFolders.push(getRecordFolder(node, "" + recordCategory.parent.name + "/" + recordCategory.name + "/"));
|
||||||
*/
|
model.recordFolders = recordFolders;
|
||||||
function getRecordSeries(seriesNode)
|
} else
|
||||||
{
|
{
|
||||||
// Create Record Series object
|
// Throw an error if we don't recognise the node type
|
||||||
var recordSerie = {
|
status.setCode(status.STATUS_INTERNAL_SERVER_ERROR, "Unrecognised node type: " + node.type)
|
||||||
parentPath: "/",
|
return;
|
||||||
name: seriesNode.name,
|
}
|
||||||
identifier: seriesNode.properties["rma:identifier"],
|
}
|
||||||
description: seriesNode.properties["description"]
|
|
||||||
};
|
/**
|
||||||
|
* Sort helper function for objects with names
|
||||||
// Find all Record Categories
|
*
|
||||||
var recordCategories = [],
|
* @method sortByName
|
||||||
categoryNodes = seriesNode.children,
|
* @param obj1
|
||||||
categoryNode;
|
* @param obj2
|
||||||
for (var rci = 0, rcl = categoryNodes.length; rci < rcl; rci++)
|
*/
|
||||||
{
|
function sortByName(obj1, obj2)
|
||||||
categoryNode = categoryNodes[rci];
|
{
|
||||||
if(categoryNode.type == "{http://www.alfresco.org/model/dod5015/1.0}recordCategory")
|
return (obj1.name > obj2.name) ? 1 : (obj1.name < obj2.name) ? -1 : 0;
|
||||||
{
|
}
|
||||||
// Create and add Record Category object
|
|
||||||
recordCategories.push(getRecordCategory(categoryNode, "/" + seriesNode.name + "/"));
|
/**
|
||||||
}
|
* Takes a ScriptNode and builds a Record Series template model from it
|
||||||
}
|
*
|
||||||
recordCategories.sort(sortByName);
|
* @method getRecordSeries
|
||||||
recordSerie.recordCategories = recordCategories;
|
* @param seriesNode {ScriptNode} A ScriptNode of type "rma:recordSeries"
|
||||||
|
*/
|
||||||
// Return Record Series
|
function getRecordSeries(seriesNode)
|
||||||
return recordSerie;
|
{
|
||||||
}
|
// Create Record Series object
|
||||||
|
var recordSerie = {
|
||||||
/**
|
parentPath: "/",
|
||||||
* Takes a ScriptNode and builds a Record Category template model from it
|
name: seriesNode.name,
|
||||||
*
|
identifier: seriesNode.properties["rma:identifier"],
|
||||||
* @method getRecordCategory
|
description: seriesNode.properties["description"]
|
||||||
* @param categoryNode {ScriptNode} A ScriptNode of type "rma:recordCategory"
|
};
|
||||||
* @param parentPath {string} The file path starting from the top of the fileplan
|
|
||||||
*/
|
// Find all Record Categories
|
||||||
function getRecordCategory(categoryNode, parentPath)
|
var recordCategories = [],
|
||||||
{
|
categoryNodes = seriesNode.children,
|
||||||
// Create Record Category object
|
categoryNode;
|
||||||
var recordCategory = {
|
for (var rci = 0, rcl = categoryNodes.length; rci < rcl; rci++)
|
||||||
parentPath: parentPath,
|
{
|
||||||
name: categoryNode.name,
|
categoryNode = categoryNodes[rci];
|
||||||
identifier: categoryNode.properties["rma:identifier"],
|
if(categoryNode.type == "{http://www.alfresco.org/model/dod5015/1.0}recordCategory")
|
||||||
vitalRecordIndicator: categoryNode.properties["vitalRecordIndicator"],
|
{
|
||||||
dispositionAuthority: categoryNode.properties["dispositionAuthority"],
|
// Create and add Record Category object
|
||||||
recordFolders: [],
|
recordCategories.push(getRecordCategory(categoryNode, "/" + seriesNode.name + "/"));
|
||||||
dispositionActions: []
|
}
|
||||||
};
|
}
|
||||||
|
recordCategories.sort(sortByName);
|
||||||
// Find all Record Folders & Disposition information
|
recordSerie.recordCategories = recordCategories;
|
||||||
var recordFolders = [],
|
|
||||||
dispositionActions = [],
|
// Return Record Series
|
||||||
categoryChildren = categoryNode.children,
|
return recordSerie;
|
||||||
categoryChild,
|
}
|
||||||
dispScheduleChildren,
|
|
||||||
dispScheduleChild;
|
/**
|
||||||
for (var cci = 0, ccil = categoryChildren.length; cci < ccil; cci++)
|
* Takes a ScriptNode and builds a Record Category template model from it
|
||||||
{
|
*
|
||||||
categoryChild = categoryChildren[cci]
|
* @method getRecordCategory
|
||||||
if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}recordFolder")
|
* @param categoryNode {ScriptNode} A ScriptNode of type "rma:recordCategory"
|
||||||
{
|
* @param parentPath {string} The file path starting from the top of the fileplan
|
||||||
// Create and add Record Folder object
|
*/
|
||||||
recordFolders.push(getRecordFolder(categoryChild, parentPath + categoryNode.name + "/"));
|
function getRecordCategory(categoryNode, parentPath)
|
||||||
}
|
{
|
||||||
else if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionSchedule")
|
// Create Record Category object
|
||||||
{
|
var recordCategory = {
|
||||||
// Get Disposition authority
|
parentPath: parentPath,
|
||||||
recordCategory.dispositionAuthority = categoryChild.properties["rma:dispositionAuthority"];
|
name: categoryNode.name,
|
||||||
dispScheduleChildren = categoryChild.children;
|
identifier: categoryNode.properties["rma:identifier"],
|
||||||
for (var dsi = 0, dsil = dispScheduleChildren.length; dsi < dsil; dsi++)
|
vitalRecordIndicator: categoryNode.properties["vitalRecordIndicator"],
|
||||||
{
|
dispositionAuthority: categoryNode.properties["dispositionAuthority"],
|
||||||
dispScheduleChild = dispScheduleChildren[dsi];
|
recordFolders: [],
|
||||||
if (dispScheduleChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionActionDefinition")
|
dispositionActions: []
|
||||||
{
|
};
|
||||||
// Add Disposition Action description
|
|
||||||
dispositionActions.push({
|
// Find all Record Folders & Disposition information
|
||||||
dispositionDescription: dispScheduleChild.properties["rma:dispositionDescription"]
|
var recordFolders = [],
|
||||||
});
|
dispositionActions = [],
|
||||||
}
|
categoryChildren = categoryNode.children,
|
||||||
}
|
categoryChild,
|
||||||
}
|
dispScheduleChildren,
|
||||||
}
|
dispScheduleChild;
|
||||||
|
for (var cci = 0, ccil = categoryChildren.length; cci < ccil; cci++)
|
||||||
// Add Record Category to the list
|
{
|
||||||
recordFolders.sort(sortByName);
|
categoryChild = categoryChildren[cci]
|
||||||
recordCategory.recordFolders = recordFolders;
|
if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}recordFolder")
|
||||||
recordCategory.dispositionActions = dispositionActions;
|
{
|
||||||
return recordCategory;
|
// Create and add Record Folder object
|
||||||
}
|
recordFolders.push(getRecordFolder(categoryChild, parentPath + categoryNode.name + "/"));
|
||||||
|
}
|
||||||
/**
|
else if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionSchedule")
|
||||||
* Takes a ScriptNode and builds a Record Category template model from it
|
{
|
||||||
*
|
// Get Disposition authority
|
||||||
* @method getRecordFolder
|
recordCategory.dispositionAuthority = categoryChild.properties["rma:dispositionAuthority"];
|
||||||
* @param recordFolder {ScriptNode} A ScriptNode of type "rma:recordrecordFolder"
|
dispScheduleChildren = categoryChild.children;
|
||||||
* @param parentPath {string} The file path starting from the top of the fileplan
|
for (var dsi = 0, dsil = dispScheduleChildren.length; dsi < dsil; dsi++)
|
||||||
*/
|
{
|
||||||
function getRecordFolder(recordFolder, parentPath)
|
dispScheduleChild = dispScheduleChildren[dsi];
|
||||||
{
|
if (dispScheduleChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionActionDefinition")
|
||||||
return {
|
{
|
||||||
parentPath: parentPath,
|
// Add Disposition Action description
|
||||||
name: recordFolder.name,
|
dispositionActions.push({
|
||||||
identifier: recordFolder.properties["rma:identifier"],
|
dispositionDescription: dispScheduleChild.properties["rma:dispositionDescription"]
|
||||||
vitalRecordIndicator: recordFolder.properties["vitalRecordIndicator"]
|
});
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Start webscript
|
}
|
||||||
main();
|
|
||||||
|
// Add Record Category to the list
|
||||||
|
recordFolders.sort(sortByName);
|
||||||
|
recordCategory.recordFolders = recordFolders;
|
||||||
|
recordCategory.dispositionActions = dispositionActions;
|
||||||
|
return recordCategory;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Takes a ScriptNode and builds a Record Category template model from it
|
||||||
|
*
|
||||||
|
* @method getRecordFolder
|
||||||
|
* @param recordFolder {ScriptNode} A ScriptNode of type "rma:recordrecordFolder"
|
||||||
|
* @param parentPath {string} The file path starting from the top of the fileplan
|
||||||
|
*/
|
||||||
|
function getRecordFolder(recordFolder, parentPath)
|
||||||
|
{
|
||||||
|
return {
|
||||||
|
parentPath: parentPath,
|
||||||
|
name: recordFolder.name,
|
||||||
|
identifier: recordFolder.properties["rma:identifier"],
|
||||||
|
vitalRecordIndicator: recordFolder.properties["vitalRecordIndicator"]
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// Start webscript
|
||||||
|
main();
|
||||||
|
|
||||||
|
@@ -1,19 +1,45 @@
|
|||||||
<#import "fileplanreport.lib.ftl" as reportLib/>
|
<#--
|
||||||
<#macro dateFormat date>${date?string("dd MMM yyyy HH:mm:ss 'GMT'Z '('zzz')'")}</#macro>
|
#%L
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
data:
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
{
|
%%
|
||||||
"firstName": <#if person.properties.firstName??>"${person.properties.firstName}"<#else>null</#if>,
|
This file is part of the Alfresco software.
|
||||||
"lastName": <#if person.properties.lastName??>"${person.properties.lastName}"<#else>null</#if>,
|
|
||||||
<#if (recordSeries??)>
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
"recordSeries": <@reportLib.recordSeriesJSON recordSeries=recordSeries/>,
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
<#elseif (recordCategories??)>
|
provided under the following open source license terms:
|
||||||
"recordCategories": <@reportLib.recordCategoriesJSON recordCategories=recordCategories/>,
|
|
||||||
<#elseif (recordFolders??)>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
"recordFolders": <@reportLib.recordFoldersJSON recordFolders=recordFolders/>,
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
</#if>
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
"printDate": "<@dateFormat date=date/>"
|
(at your option) any later version.
|
||||||
}
|
|
||||||
}
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
</#escape>
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#import "fileplanreport.lib.ftl" as reportLib/>
|
||||||
|
<#macro dateFormat date>${date?string("dd MMM yyyy HH:mm:ss 'GMT'Z '('zzz')'")}</#macro>
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
data:
|
||||||
|
{
|
||||||
|
"firstName": <#if person.properties.firstName??>"${person.properties.firstName}"<#else>null</#if>,
|
||||||
|
"lastName": <#if person.properties.lastName??>"${person.properties.lastName}"<#else>null</#if>,
|
||||||
|
<#if (recordSeries??)>
|
||||||
|
"recordSeries": <@reportLib.recordSeriesJSON recordSeries=recordSeries/>,
|
||||||
|
<#elseif (recordCategories??)>
|
||||||
|
"recordCategories": <@reportLib.recordCategoriesJSON recordCategories=recordCategories/>,
|
||||||
|
<#elseif (recordFolders??)>
|
||||||
|
"recordFolders": <@reportLib.recordFoldersJSON recordFolders=recordFolders/>,
|
||||||
|
</#if>
|
||||||
|
"printDate": "<@dateFormat date=date/>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,46 +1,72 @@
|
|||||||
<#macro recordSeriesJSON recordSeries>
|
<#--
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
#%L
|
||||||
[<#list recordSeries as recordSerie>
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"parentPath": "${recordSerie.parentPath}",
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
"name": "${recordSerie.name}",
|
%%
|
||||||
"identifier": "${recordSerie.identifier}",
|
This file is part of the Alfresco software.
|
||||||
"description": "${recordSerie.description}",
|
|
||||||
"recordCategories": <@recordCategoriesJSON recordCategories=recordSerie.recordCategories/>
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
}<#if (recordSerie_has_next)>,</#if>
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
</#list>]
|
provided under the following open source license terms:
|
||||||
</#escape>
|
|
||||||
</#macro>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
<#macro recordCategoriesJSON recordCategories>
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
(at your option) any later version.
|
||||||
[<#list recordCategories as recordCategory>
|
|
||||||
{
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
"parentPath": "${recordCategory.parentPath}",
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
"name": "${recordCategory.name}",
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
"identifier": "${recordCategory.identifier}",
|
GNU Lesser General Public License for more details.
|
||||||
<#if (recordCategory.vitalRecordIndicator??)>"vitalRecordIndicator": ${recordCategory.vitalRecordIndicator?string},</#if>
|
|
||||||
<#if (recordCategory.dispositionAuthority??)>"dispositionAuthority": "${recordCategory.dispositionAuthority}",</#if>
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
"recordFolders": <@recordFoldersJSON recordFolders=recordCategory.recordFolders/>,
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"dispositionActions": [<#list recordCategory.dispositionActions as dispositionAction>
|
#L%
|
||||||
{
|
-->
|
||||||
"dispositionDescription": "${dispositionAction.dispositionDescription!""}"
|
<#macro recordSeriesJSON recordSeries>
|
||||||
}<#if (dispositionAction_has_next)>,</#if>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
</#list>]
|
[<#list recordSeries as recordSerie>
|
||||||
}<#if (recordCategory_has_next)>,</#if>
|
{
|
||||||
</#list>]
|
"parentPath": "${recordSerie.parentPath}",
|
||||||
</#escape>
|
"name": "${recordSerie.name}",
|
||||||
</#macro>
|
"identifier": "${recordSerie.identifier}",
|
||||||
|
"description": "${recordSerie.description}",
|
||||||
<#macro recordFoldersJSON recordFolders>
|
"recordCategories": <@recordCategoriesJSON recordCategories=recordSerie.recordCategories/>
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
}<#if (recordSerie_has_next)>,</#if>
|
||||||
[<#list recordFolders as recordFolder>
|
</#list>]
|
||||||
{
|
</#escape>
|
||||||
"parentPath": "${recordFolder.parentPath}",
|
</#macro>
|
||||||
"name": "${recordFolder.name}",
|
|
||||||
"identifier": "${recordFolder.identifier}",
|
<#macro recordCategoriesJSON recordCategories>
|
||||||
<#if (recordFolder.vitalRecordIndicator??)>"vitalRecordIndicator": "${recordFolder.vitalRecordIndicator?string}"</#if>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
}<#if (recordFolder_has_next)>,</#if>
|
[<#list recordCategories as recordCategory>
|
||||||
</#list>]
|
{
|
||||||
</#escape>
|
"parentPath": "${recordCategory.parentPath}",
|
||||||
</#macro>
|
"name": "${recordCategory.name}",
|
||||||
|
"identifier": "${recordCategory.identifier}",
|
||||||
|
<#if (recordCategory.vitalRecordIndicator??)>"vitalRecordIndicator": ${recordCategory.vitalRecordIndicator?string},</#if>
|
||||||
|
<#if (recordCategory.dispositionAuthority??)>"dispositionAuthority": "${recordCategory.dispositionAuthority}",</#if>
|
||||||
|
"recordFolders": <@recordFoldersJSON recordFolders=recordCategory.recordFolders/>,
|
||||||
|
"dispositionActions": [<#list recordCategory.dispositionActions as dispositionAction>
|
||||||
|
{
|
||||||
|
"dispositionDescription": "${dispositionAction.dispositionDescription!""}"
|
||||||
|
}<#if (dispositionAction_has_next)>,</#if>
|
||||||
|
</#list>]
|
||||||
|
}<#if (recordCategory_has_next)>,</#if>
|
||||||
|
</#list>]
|
||||||
|
</#escape>
|
||||||
|
</#macro>
|
||||||
|
|
||||||
|
<#macro recordFoldersJSON recordFolders>
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
[<#list recordFolders as recordFolder>
|
||||||
|
{
|
||||||
|
"parentPath": "${recordFolder.parentPath}",
|
||||||
|
"name": "${recordFolder.name}",
|
||||||
|
"identifier": "${recordFolder.identifier}",
|
||||||
|
<#if (recordFolder.vitalRecordIndicator??)>"vitalRecordIndicator": "${recordFolder.vitalRecordIndicator?string}"</#if>
|
||||||
|
}<#if (recordFolder_has_next)>,</#if>
|
||||||
|
</#list>]
|
||||||
|
</#escape>
|
||||||
|
</#macro>
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
{}
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
{}
|
||||||
|
@@ -1 +1,27 @@
|
|||||||
{}
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
{}
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
@@ -13,4 +39,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,14 +1,40 @@
|
|||||||
<html>
|
<#--
|
||||||
<head>
|
#%L
|
||||||
<title>Upload success</title>
|
Alfresco Records Management Module
|
||||||
</head>
|
%%
|
||||||
<body>
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
<#if (args.successCallback?exists)>
|
%%
|
||||||
<script type="text/javascript">
|
This file is part of the Alfresco software.
|
||||||
${args.successCallback}.call(${args.successScope},
|
|
||||||
{
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
});
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
</script>
|
provided under the following open source license terms:
|
||||||
</#if>
|
|
||||||
</body>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
</html>
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Upload success</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<#if (args.successCallback?exists)>
|
||||||
|
<script type="text/javascript">
|
||||||
|
${args.successCallback}.call(${args.successScope},
|
||||||
|
{
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</#if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
@@ -1,5 +1,31 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
"success": ${success?string}
|
"success": ${success?string}
|
||||||
}
|
}
|
||||||
</#escape>
|
</#escape>
|
||||||
|
@@ -1,2 +1,28 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#import "listofvalues.lib.ftl" as listsLib/>
|
<#import "listofvalues.lib.ftl" as listsLib/>
|
||||||
<@listsLib.listsJSON lists=lists/>
|
<@listsLib.listsJSON lists=lists/>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
<#macro listsJSON lists>
|
<#macro listsJSON lists>
|
||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
{
|
{
|
||||||
|
@@ -1,17 +1,43 @@
|
|||||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
<#--
|
||||||
{
|
#%L
|
||||||
"data":
|
Alfresco Records Management Module
|
||||||
{
|
%%
|
||||||
"recordMetaDataAspects":
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
[
|
%%
|
||||||
<#list aspects as aspect>
|
This file is part of the Alfresco software.
|
||||||
{
|
|
||||||
"id" : "${aspect.id}",
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
"value" : "${aspect.value}"
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
}
|
provided under the following open source license terms:
|
||||||
<#if aspect_has_next>,</#if>
|
|
||||||
</#list>
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
]
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
}
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
}
|
(at your option) any later version.
|
||||||
</#escape>
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
|
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||||
|
{
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
"recordMetaDataAspects":
|
||||||
|
[
|
||||||
|
<#list aspects as aspect>
|
||||||
|
{
|
||||||
|
"id" : "${aspect.id}",
|
||||||
|
"value" : "${aspect.value}"
|
||||||
|
}
|
||||||
|
<#if aspect_has_next>,</#if>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#escape>
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
<#--
|
||||||
|
#%L
|
||||||
|
Alfresco Records Management Module
|
||||||
|
%%
|
||||||
|
Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||||
|
%%
|
||||||
|
This file is part of the Alfresco software.
|
||||||
|
|
||||||
|
If the software was purchased under a paid Alfresco license, the terms of
|
||||||
|
the paid license agreement will prevail. Otherwise, the software is
|
||||||
|
provided under the following open source license terms:
|
||||||
|
|
||||||
|
Alfresco is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Alfresco is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#L%
|
||||||
|
-->
|
||||||
{
|
{
|
||||||
"success": ${success?string}
|
"success": ${success?string}
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user