mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-24 14:32:01 +00:00
Compare commits
15 Commits
25.3.0.45
...
fix/update
Author | SHA1 | Date | |
---|---|---|---|
|
629c874bc8 | ||
|
19ec861873 | ||
|
7f8dd30305 | ||
|
40c7b5fd9f | ||
|
3f6a1c6880 | ||
|
b3f2cb95c8 | ||
|
d694959587 | ||
|
56aae78015 | ||
|
edba5b8754 | ||
|
5f8879feb7 | ||
|
ca575bc47e | ||
|
4fcb962a3c | ||
|
5397d88f4a | ||
|
448e49d8bb | ||
|
b825b5f18e |
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -147,4 +147,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -33,9 +33,9 @@ function main()
|
||||
{
|
||||
// Log debug message
|
||||
logger.log("Record " + node.name + " has been superseded. Sending notification");
|
||||
|
||||
|
||||
// Send notification
|
||||
rmService.sendSupersededNotification(node);
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -143,4 +143,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -141,4 +141,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -35,4 +35,4 @@ function main()
|
||||
logger.log("Sample RM script. No-op run on node " + node.name);
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -139,4 +139,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -148,4 +148,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -110,4 +110,4 @@
|
||||
${transferNode.properties["declaredOn"]?string(message("file.report.date.format"))?html}
|
||||
</#if>
|
||||
</div>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
<#include "classes.get.json.ftl">
|
||||
<#include "classes.get.json.ftl">
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
<#include "properties.get.json.ftl">
|
||||
<#include "properties.get.json.ftl">
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
{}
|
||||
{}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
{}
|
||||
{}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -27,4 +27,4 @@
|
||||
{
|
||||
"responsestatus" : "${responsestatus?json_string}",
|
||||
"message" : "${message?json_string}"
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
<#include "actionconditiondefinitions.get.json.ftl">
|
||||
<#include "actionconditiondefinitions.get.json.ftl">
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
<#include "actiondefinitions.get.json.ftl">
|
||||
<#include "actiondefinitions.get.json.ftl">
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -27,4 +27,4 @@
|
||||
{
|
||||
"responsestatus" : "${responsestatus?json_string}",
|
||||
"message" : "${message?json_string}"
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"${substitution}"<#if substitution_has_next>,</#if>
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -99,10 +99,10 @@ function main()
|
||||
{
|
||||
version = versionHistory[i];
|
||||
p = getPerson(version.creator);
|
||||
|
||||
|
||||
recordNodeRef = version.getVersionProperty("recordNodeRef");
|
||||
isRecordedVersionDestroyed = version.getVersionProperty("RecordedVersionDestroyed");
|
||||
|
||||
|
||||
versions[versions.length] =
|
||||
{
|
||||
nodeRef: version.node.nodeRef.toString(),
|
||||
@@ -148,4 +148,4 @@ function main()
|
||||
model.versions = versions;
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -45,4 +45,4 @@
|
||||
}<#if (v_has_next)>,</#if>
|
||||
</#list>
|
||||
]
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
{
|
||||
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
{
|
||||
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -37,4 +37,4 @@
|
||||
]
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
{
|
||||
"data": <@emailmapLib.emailmapJSON emailmap=emailmap />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -36,4 +36,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -41,4 +41,4 @@ function existsTitle(caveatConfig, title)
|
||||
}
|
||||
|
||||
return alreadyExists;
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -26,19 +26,19 @@
|
||||
*/
|
||||
/**
|
||||
* Delete the rm constraint list
|
||||
*/
|
||||
*/
|
||||
function main()
|
||||
{
|
||||
// Get the shortname
|
||||
var shortName = url.extension;
|
||||
|
||||
|
||||
// Get the constraint
|
||||
var constraint = caveatConfig.getConstraint(shortName);
|
||||
|
||||
|
||||
if (constraint != null)
|
||||
{
|
||||
caveatConfig.deleteConstraintList(shortName);
|
||||
|
||||
|
||||
// Pass the constraint name to the template
|
||||
model.constraintName = shortName;
|
||||
}
|
||||
@@ -50,4 +50,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"data": { }
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -26,15 +26,15 @@
|
||||
*/
|
||||
/**
|
||||
* Get the detail of the rm constraint
|
||||
*/
|
||||
*/
|
||||
function main()
|
||||
{
|
||||
// Get the shortname
|
||||
var shortName = url.extension;
|
||||
|
||||
|
||||
// Get the constraint
|
||||
var constraint = caveatConfig.getConstraint(shortName);
|
||||
|
||||
|
||||
if (constraint != null)
|
||||
{
|
||||
// Pass the constraint detail to the template
|
||||
@@ -48,4 +48,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"data": <@rmconstraintLib.constraintJSON constraint=constraint />
|
||||
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -84,4 +84,4 @@
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -34,4 +34,4 @@
|
||||
"message" : "${msg(errorMessage, title)}"
|
||||
</#if>
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -4,7 +4,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -84,4 +84,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -26,14 +26,14 @@
|
||||
*/
|
||||
/**
|
||||
* List the names of the rm constraints
|
||||
*/
|
||||
*/
|
||||
function main()
|
||||
{
|
||||
var wel = true;
|
||||
var withEmptyLists = args["withEmptyLists"];
|
||||
// Pass the information to the template
|
||||
if (withEmptyLists != null && withEmptyLists === 'false')
|
||||
{
|
||||
{
|
||||
model.constraints = caveatConfig.constraintsWithoutEmptyList;
|
||||
}
|
||||
else
|
||||
@@ -42,4 +42,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -36,4 +36,4 @@
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -34,4 +34,4 @@
|
||||
"message" : "${msg(errorMessage, title)}"
|
||||
</#if>
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -4,7 +4,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -78,4 +78,4 @@ function main()
|
||||
model.constraint = caveatConfig.createConstraint(name, title, allowedValues);
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -26,15 +26,15 @@
|
||||
*/
|
||||
/**
|
||||
* Get the detail of the rm constraint
|
||||
*/
|
||||
*/
|
||||
function main()
|
||||
{
|
||||
var urlElements = url.extension.split("/");
|
||||
var shortName = urlElements[0];
|
||||
|
||||
|
||||
// Get the constraint
|
||||
var constraint = caveatConfig.getConstraint(shortName);
|
||||
|
||||
|
||||
if (constraint != null)
|
||||
{
|
||||
// Pass the constraint detail to the template
|
||||
@@ -48,4 +48,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
{
|
||||
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
{
|
||||
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -26,33 +26,33 @@
|
||||
*/
|
||||
/**
|
||||
* Update the details of a value in an rm constraint
|
||||
*/
|
||||
*/
|
||||
function main()
|
||||
{
|
||||
var urlElements = url.extension.split("/");
|
||||
var shortName = urlElements[0];
|
||||
|
||||
|
||||
var values = null;
|
||||
|
||||
|
||||
if (json.has("values"))
|
||||
{
|
||||
values = json.getJSONArray("values");
|
||||
}
|
||||
|
||||
|
||||
if (values == null)
|
||||
{
|
||||
status.setCode(status.STATUS_BAD_REQUEST, "Values missing");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Get the constraint
|
||||
var constraint = caveatConfig.getConstraint(shortName);
|
||||
|
||||
|
||||
if (constraint != null)
|
||||
{
|
||||
constraint.updateValues(values);
|
||||
constraint.updateValues(values);
|
||||
model.constraint = caveatConfig.getConstraint(shortName);
|
||||
model.constraintName = shortName;
|
||||
model.constraintName = shortName;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -62,4 +62,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -26,13 +26,13 @@
|
||||
*/
|
||||
/**
|
||||
* Delete the rm constraint list
|
||||
*/
|
||||
*/
|
||||
function main()
|
||||
{
|
||||
var urlElements = url.extension.split("/");
|
||||
var shortName = urlElements[0];
|
||||
var authorityName = urlElements[1];
|
||||
|
||||
|
||||
if (shortName == null)
|
||||
{
|
||||
status.setCode(status.STATUS_BAD_REQUEST, "shortName missing");
|
||||
@@ -43,16 +43,16 @@ function main()
|
||||
status.setCode(status.STATUS_BAD_REQUEST, "value missing");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Get the constraint
|
||||
var constraint = caveatConfig.getConstraint(shortName);
|
||||
|
||||
|
||||
if (constraint != null)
|
||||
{
|
||||
caveatConfig.deleteRMConstraintListValue(shortName, valueName);
|
||||
|
||||
|
||||
var constraint = caveatConfig.getConstraint(shortName);
|
||||
|
||||
|
||||
// Pass the constraint name to the template
|
||||
model.constraint = constraint;
|
||||
}
|
||||
@@ -64,4 +64,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
{
|
||||
"data": <@rmconstraintLib.constraintWithValuesJSON constraint=constraint />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -26,28 +26,28 @@
|
||||
*/
|
||||
/**
|
||||
* Get the detail of the rm constraint
|
||||
*/
|
||||
*/
|
||||
function main()
|
||||
{
|
||||
var urlElements = url.extension.split("/");
|
||||
var shortName = decodeURIComponent(urlElements[0]);
|
||||
var valueName = decodeURIComponent(urlElements[2])
|
||||
|
||||
|
||||
// Get the constraint
|
||||
var constraint = caveatConfig.getConstraint(shortName);
|
||||
|
||||
|
||||
if (constraint != null)
|
||||
{
|
||||
// Pass the constraint detail to the template
|
||||
var value = constraint.getValue(valueName);
|
||||
|
||||
|
||||
if(value == null)
|
||||
{
|
||||
// Return 404
|
||||
status.setCode(404, "Constraint List: " + shortName + " value: " + valueName + "does not exist");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
model.value = value;
|
||||
model.constraint = constraint;
|
||||
}
|
||||
@@ -59,4 +59,4 @@ function main()
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
{
|
||||
"data": <@rmconstraintLib.constraintWithValueJSON constraint=constraint value=value/>
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
{}
|
||||
{}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"data":
|
||||
<@rmEventLib.eventJSON event=event />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -34,5 +34,4 @@
|
||||
"eventType":"${event.type}"
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"data":
|
||||
<@rmEventLib.eventJSON event=event />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -36,4 +36,4 @@
|
||||
</#list>
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -32,4 +32,4 @@
|
||||
<@rmEventLib.eventJSON event=event />
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -39,4 +39,4 @@
|
||||
</#list>
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
{}
|
||||
{}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"data":
|
||||
<@rmRoleLib.roleJSON role=role />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -62,4 +62,4 @@
|
||||
</#if>
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"data":
|
||||
<@rmRoleLib.roleJSON role=role />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -36,4 +36,4 @@
|
||||
</#list>
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"data":
|
||||
<@rmRoleLib.roleJSON role=role />
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"success": ${success?string}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"success": ${success?string}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"success": ${success?string}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -56,4 +56,4 @@
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -37,4 +37,4 @@
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -31,4 +31,4 @@
|
||||
"customProperty": "${propertyqname}"
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
"url": "${url!""}",
|
||||
"message": "${errorMessage!""}"
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -30,4 +30,4 @@
|
||||
"url": "${url!""}",
|
||||
"message": "${errorMessage!""}"
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -66,4 +66,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -26,4 +26,4 @@
|
||||
-->
|
||||
{
|
||||
"success": ${success?string}
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"success": ${success?string}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -33,4 +33,4 @@
|
||||
"url": "${url?string}"
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -29,4 +29,4 @@
|
||||
"refId": "${refId}",
|
||||
"url": "${url}"
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -39,4 +39,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -50,4 +50,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -29,4 +29,4 @@
|
||||
"success": ${success?string},
|
||||
"message": "${message}"
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -38,4 +38,4 @@
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
<#include "dispositionschedule.get.json.ftl">
|
||||
<#include "dispositionschedule.get.json.ftl">
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -42,4 +42,4 @@
|
||||
"eligibleOnFirstCompleteEvent": ${action.eligibleOnFirstCompleteEvent?string}
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"data":
|
||||
<@actionDefLib.actionJSON action=action/>
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"data":
|
||||
<@actionDefLib.actionJSON action=action/>
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -63,4 +63,4 @@
|
||||
</#if>
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -37,4 +37,4 @@
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -52,4 +52,4 @@
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -39,4 +39,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -42,4 +42,4 @@
|
||||
</script>
|
||||
</#if>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Records Management Module
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -114,7 +114,7 @@ function getRecordSeries(seriesNode)
|
||||
// Create Record Series object
|
||||
var recordSerie = {
|
||||
parentPath: "/",
|
||||
name: seriesNode.name,
|
||||
name: seriesNode.name,
|
||||
identifier: seriesNode.properties["rma:identifier"],
|
||||
description: seriesNode.properties["description"]
|
||||
};
|
||||
@@ -154,7 +154,7 @@ function getRecordCategory(categoryNode, parentPath)
|
||||
name: categoryNode.name,
|
||||
identifier: categoryNode.properties["rma:identifier"],
|
||||
vitalRecordIndicator: categoryNode.properties["vitalRecordIndicator"],
|
||||
dispositionAuthority: categoryNode.properties["dispositionAuthority"],
|
||||
dispositionAuthority: categoryNode.properties["dispositionAuthority"],
|
||||
recordFolders: [],
|
||||
dispositionActions: []
|
||||
};
|
||||
@@ -218,5 +218,4 @@ function getRecordFolder(recordFolder, parentPath)
|
||||
}
|
||||
|
||||
// Start webscript
|
||||
main();
|
||||
|
||||
main();
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -42,4 +42,4 @@
|
||||
"printDate": "<@dateFormat date=date/>"
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -69,4 +69,4 @@
|
||||
}<#if (recordFolder_has_next)>,</#if>
|
||||
</#list>]
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
{}
|
||||
{}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -24,4 +24,4 @@
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
#L%
|
||||
-->
|
||||
{}
|
||||
{}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -39,4 +39,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -37,4 +37,4 @@
|
||||
</script>
|
||||
</#if>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -28,4 +28,4 @@
|
||||
{
|
||||
"success": ${success?string}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -25,4 +25,4 @@
|
||||
#L%
|
||||
-->
|
||||
<#import "listofvalues.lib.ftl" as listsLib/>
|
||||
<@listsLib.listsJSON lists=lists/>
|
||||
<@listsLib.listsJSON lists=lists/>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -98,4 +98,4 @@
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -40,4 +40,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -26,4 +26,4 @@
|
||||
-->
|
||||
{
|
||||
"success": ${success?string}
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -39,4 +39,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -38,4 +38,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#escape>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -37,4 +37,4 @@
|
||||
</#list>
|
||||
}
|
||||
</#if>
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -25,4 +25,4 @@
|
||||
#L%
|
||||
-->
|
||||
<#import "rmauditlog.lib.ftl" as auditLib/>
|
||||
<@auditLib.auditStatusJSON auditstatus=auditstatus/>
|
||||
<@auditLib.auditStatusJSON auditstatus=auditstatus/>
|
@@ -2,7 +2,7 @@
|
||||
#%L
|
||||
Alfresco Records Management Module
|
||||
%%
|
||||
Copyright (C) 2005 - 2024 Alfresco Software Limited
|
||||
Copyright (C) 2005 - 2025 Alfresco Software Limited
|
||||
%%
|
||||
This file is part of the Alfresco software.
|
||||
-
|
||||
@@ -35,4 +35,4 @@
|
||||
}
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
</#macro>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user