Refresh license headers to include changes to community license and module description

This commit is contained in:
Roy Wetherall
2016-03-03 10:38:37 +11:00
parent 04b74bc12b
commit f98f0cb32b
832 changed files with 17463 additions and 12471 deletions

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<html> <html>
<head> <head>
<style type="text/css"><!-- <style type="text/css"><!--
@@ -141,4 +147,4 @@
</tr> </tr>
</table> </table>
</body> </body>
</html> </html>

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Main entrypoint for script. * Main entrypoint for script.
* *

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<html> <html>
<head> <head>
<style type="text/css"><!-- <style type="text/css"><!--

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<html> <html>
<head> <head>
<style type="text/css"><!-- <style type="text/css"><!--

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #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.

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<html> <html>
<head> <head>
<style type="text/css"><!-- <style type="text/css"><!--
@@ -133,4 +139,4 @@
</tr> </tr>
</table> </table>
</body> </body>
</html> </html>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<html> <html>
<head> <head>
<style type="text/css"><!-- <style type="text/css"><!--
@@ -137,4 +143,4 @@
</tr> </tr>
</table> </table>
</body> </body>
</html> </html>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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"]>
@@ -104,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>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#include "classes.get.json.ftl"> <#include "classes.get.json.ftl">

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#include "properties.get.json.ftl"> <#include "properties.get.json.ftl">

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{} {}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{} {}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#include "actionconditiondefinitions.get.json.ftl"> <#include "actionconditiondefinitions.get.json.ftl">

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#include "actiondefinitions.get.json.ftl"> <#include "actiondefinitions.get.json.ftl">

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,16 +19,16 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"substitutions": "substitutions":
[ [
<#list substitutions as substitution> <#list substitutions as substitution>
"${substitution}"<#if substitution_has_next>,</#if> "${substitution}"<#if substitution_has_next>,</#if>
</#list> </#list>
] ]
} }

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
var PeopleCache = {}; var PeopleCache = {};
/** /**
@@ -142,4 +148,4 @@ function main()
model.versions = versions; model.versions = versions;
} }
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
[ [
<#list versions as v> <#list versions as v>
@@ -39,4 +45,4 @@
}<#if (v_has_next)>,</#if> }<#if (v_has_next)>,</#if>
</#list> </#list>
] ]
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,15 +19,15 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,15 +19,15 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#-- renders an email map object --> <#-- renders an email map object -->
<#macro emailmapJSON emailmap> <#macro emailmapJSON emailmap>
@@ -31,4 +37,4 @@
] ]
} }
</#escape> </#escape>
</#macro> </#macro>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,15 +19,15 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data" : "data" :
@@ -30,4 +36,4 @@
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
function existsTitle(caveatConfig, title) function existsTitle(caveatConfig, title)
{ {
var constraints = caveatConfig.allConstraints; var constraints = caveatConfig.allConstraints;
@@ -35,4 +41,4 @@ function existsTitle(caveatConfig, title)
} }
return alreadyExists; return alreadyExists;
} }

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Delete the rm constraint list * Delete the rm constraint list
*/ */
@@ -44,4 +50,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,13 +19,13 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": { } "data": { }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Get the detail of the rm constraint * Get the detail of the rm constraint
*/ */
@@ -42,4 +48,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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)>
@@ -25,4 +31,4 @@
"data": <@rmconstraintLib.constraintJSON constraint=constraint /> "data": <@rmconstraintLib.constraintJSON constraint=constraint />
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#-- renders an rm constraint object --> <#-- renders an rm constraint object -->
<#macro constraintSummaryJSON constraint> <#macro constraintSummaryJSON constraint>
@@ -78,4 +84,4 @@
} }
} }
</#escape> </#escape>
</#macro> </#macro>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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)>
@@ -28,4 +34,4 @@
"message" : "${msg(errorMessage, title)}" "message" : "${msg(errorMessage, title)}"
</#if> </#if>
} }
</#escape> </#escape>

View File

@@ -1,11 +1,17 @@
<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 * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -15,11 +21,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Update an rm constraint * Update an rm constraint
@@ -78,4 +84,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* List the names of the rm constraints * List the names of the rm constraints
*/ */
@@ -36,4 +42,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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)>
@@ -30,4 +36,4 @@
</#list> </#list>
] ]
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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)>
@@ -28,4 +34,4 @@
"message" : "${msg(errorMessage, title)}" "message" : "${msg(errorMessage, title)}"
</#if> </#if>
} }
</#escape> </#escape>

View File

@@ -1,11 +1,17 @@
<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 * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -15,9 +21,9 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
@@ -72,4 +78,4 @@ function main()
model.constraint = caveatConfig.createConstraint(name, title, allowedValues); model.constraint = caveatConfig.createConstraint(name, title, allowedValues);
} }
main(); main();

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Get the detail of the rm constraint * Get the detail of the rm constraint
*/ */
@@ -42,4 +48,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,15 +19,15 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,15 +19,15 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Update the details of a value in an rm constraint * Update the details of a value in an rm constraint
*/ */
@@ -56,4 +62,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Delete the rm constraint list * Delete the rm constraint list
*/ */
@@ -58,4 +64,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,15 +19,15 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Get the detail of the rm constraint * Get the detail of the rm constraint
*/ */
@@ -53,4 +59,4 @@ function main()
} }
} }
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,15 +19,15 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{} {}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,16 +19,16 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmevent.lib.ftl" as rmEventLib/> <#import "rmevent.lib.ftl" as rmEventLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
<@rmEventLib.eventJSON event=event /> <@rmEventLib.eventJSON event=event />
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#-- renders an rm event object --> <#-- renders an rm event object -->
<#macro eventJSON event> <#macro eventJSON event>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,16 +19,16 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmevent.lib.ftl" as rmEventLib/> <#import "rmevent.lib.ftl" as rmEventLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
<@rmEventLib.eventJSON event=event /> <@rmEventLib.eventJSON event=event />
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,21 +19,21 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmevent.lib.ftl" as rmEventLib/> <#import "rmevent.lib.ftl" as rmEventLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
<#list events as event> <#list events as event>
"${event.name}": "${event.name}":
<@rmEventLib.eventJSON event=event /><#if event_has_next>,</#if> <@rmEventLib.eventJSON event=event /><#if event_has_next>,</#if>
</#list> </#list>
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,17 +19,17 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmevent.lib.ftl" as rmEventLib/> <#import "rmevent.lib.ftl" as rmEventLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
<@rmEventLib.eventJSON event=event /> <@rmEventLib.eventJSON event=event />
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,24 +19,24 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmevent.lib.ftl" as rmEventLib/> <#import "rmevent.lib.ftl" as rmEventLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
<#list eventtypes as eventtype> <#list eventtypes as eventtype>
"${eventtype.name}": "${eventtype.name}":
{ {
"eventTypeName" : "${eventtype.name}", "eventTypeName" : "${eventtype.name}",
"eventTypeDisplayLabel" : "<#if eventtype.displayLabel??>${eventtype.displayLabel}<#else></#if>" "eventTypeDisplayLabel" : "<#if eventtype.displayLabel??>${eventtype.displayLabel}<#else></#if>"
}<#if eventtype_has_next>,</#if> }<#if eventtype_has_next>,</#if>
</#list> </#list>
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{} {}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,16 +19,16 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmrole.lib.ftl" as rmRoleLib/> <#import "rmrole.lib.ftl" as rmRoleLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
<@rmRoleLib.roleJSON role=role /> <@rmRoleLib.roleJSON role=role />
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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)>
@@ -56,4 +62,4 @@
</#if> </#if>
} }
</#escape> </#escape>
</#macro> </#macro>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,16 +19,16 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmrole.lib.ftl" as rmRoleLib/> <#import "rmrole.lib.ftl" as rmRoleLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
<@rmRoleLib.roleJSON role=role /> <@rmRoleLib.roleJSON role=role />
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,21 +19,21 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmrole.lib.ftl" as rmRoleLib/> <#import "rmrole.lib.ftl" as rmRoleLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
<#list roles as role> <#list roles as role>
"${role.name}": "${role.name}":
<@rmRoleLib.roleJSON role=role /><#if role_has_next>,</#if> <@rmRoleLib.roleJSON role=role /><#if role_has_next>,</#if>
</#list> </#list>
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,16 +19,16 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmrole.lib.ftl" as rmRoleLib/> <#import "rmrole.lib.ftl" as rmRoleLib/>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
<@rmRoleLib.roleJSON role=role /> <@rmRoleLib.roleJSON role=role />
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"success": ${success?string} "success": ${success?string}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"success": ${success?string} "success": ${success?string}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"success": ${success?string} "success": ${success?string}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"data": "data":
{ {
@@ -50,4 +56,4 @@
] ]
</#if> </#if>
} }
} }

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,22 +19,22 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
[ [
<#list items as item> <#list items as item>
{ {
"name" : "${item.name}", "name" : "${item.name}",
"isAspect" : ${item.isAspect?string}, "isAspect" : ${item.isAspect?string},
"title" : "${item.title}" "title" : "${item.title}"
}<#if item_has_next>,</#if> }<#if item_has_next>,</#if>
</#list> </#list>
] ]
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"propId": "${propId!""}", "propId": "${propId!""}",

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"propId": "${propId!""}", "propId": "${propId!""}",

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,51 +19,51 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
"customProperties": "customProperties":
{ {
<#list customProps as prop> <#list customProps as prop>
"${prop.name.toPrefixString()}": "${prop.name.toPrefixString()}":
{ {
"dataType": "<#if prop.dataType??>${prop.dataType.name.toPrefixString()}</#if>", "dataType": "<#if prop.dataType??>${prop.dataType.name.toPrefixString()}</#if>",
"label": "${prop.title!""}", "label": "${prop.title!""}",
"description": "${prop.description!""}", "description": "${prop.description!""}",
"mandatory": ${prop.mandatory?string}, "mandatory": ${prop.mandatory?string},
"multiValued": ${prop.multiValued?string}, "multiValued": ${prop.multiValued?string},
"defaultValue": "${prop.defaultValue!""}", "defaultValue": "${prop.defaultValue!""}",
"protected": ${prop.protected?string}, "protected": ${prop.protected?string},
"propId": "${prop.name.localName}", "propId": "${prop.name.localName}",
"constraintRefs": "constraintRefs":
[ [
<#list prop.constraints as con> <#list prop.constraints as con>
{ {
"name": "${con.constraint.shortName!""}", "name": "${con.constraint.shortName!""}",
"title": "${msg(con.constraint.title)!""}", "title": "${msg(con.constraint.title)!""}",
"type": "${con.constraint.type!""}", "type": "${con.constraint.type!""}",
"parameters": "parameters":
{ {
<#-- Basic implementation. Only providing 2 hardcoded parameters. --> <#-- Basic implementation. Only providing 2 hardcoded parameters. -->
<#assign lov = con.constraint.parameters["allowedValues"]> <#assign lov = con.constraint.parameters["allowedValues"]>
"caseSensitive": ${con.constraint.parameters["caseSensitive"]?string}, "caseSensitive": ${con.constraint.parameters["caseSensitive"]?string},
"listOfValues" : "listOfValues" :
[ [
<#list lov as val>"${val}"<#if val_has_next>,</#if></#list> <#list lov as val>"${val}"<#if val_has_next>,</#if></#list>
] ]
} }
}<#if con_has_next>,</#if> }<#if con_has_next>,</#if>
</#list> </#list>
] ]
}<#if prop_has_next>,</#if> }<#if prop_has_next>,</#if>
</#list> </#list>
} }
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"success": ${success?string} "success": ${success?string}
} }

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,13 +19,13 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"success": ${success?string} "success": ${success?string}
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"success": ${success?string}, "success": ${success?string},
@@ -27,4 +33,4 @@
"url": "${url?string}" "url": "${url?string}"
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"refId": "${refId}", "refId": "${refId}",

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,24 +19,24 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
"customReferences": "customReferences":
[ [
<#list customRefs as ref> <#list customRefs as ref>
{ {
<#assign keys = ref?keys> <#assign keys = ref?keys>
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list> <#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
}<#if ref_has_next>,</#if> }<#if ref_has_next>,</#if>
</#list> </#list>
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,35 +19,35 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
"nodeName": "${nodeName!""}", "nodeName": "${nodeName!""}",
"nodeTitle": "${nodeTitle!""}", "nodeTitle": "${nodeTitle!""}",
"customReferencesFrom": "customReferencesFrom":
[ [
<#list customRefsFrom as ref> <#list customRefsFrom as ref>
{ {
<#assign keys = ref?keys> <#assign keys = ref?keys>
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list> <#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
}<#if ref_has_next>,</#if> }<#if ref_has_next>,</#if>
</#list> </#list>
], ],
"customReferencesTo": "customReferencesTo":
[ [
<#list customRefsTo as ref> <#list customRefsTo as ref>
{ {
<#assign keys = ref?keys> <#assign keys = ref?keys>
<#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list> <#list keys as key>"${key}": "${ref[key]}"<#if key_has_next>,</#if></#list>
}<#if ref_has_next>,</#if> }<#if ref_has_next>,</#if>
</#list> </#list>
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,14 +19,14 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #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>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"data": "data":
{ {
@@ -32,4 +38,4 @@
</#list> </#list>
] ]
} }
} }

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#include "dispositionschedule.get.json.ftl"> <#include "dispositionschedule.get.json.ftl">

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#macro actionJSON action> <#macro actionJSON action>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
@@ -35,4 +41,4 @@
"eligibleOnFirstCompleteEvent": ${action.eligibleOnFirstCompleteEvent?string} "eligibleOnFirstCompleteEvent": ${action.eligibleOnFirstCompleteEvent?string}
} }
</#escape> </#escape>
</#macro> </#macro>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,13 +19,13 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/> <#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
{ {
"data": "data":
<@actionDefLib.actionJSON action=action/> <@actionDefLib.actionJSON action=action/>
} }

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/> <#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
{ {
"data": "data":

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
@@ -57,4 +63,4 @@
</#if> </#if>
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"data" : "data" :
{ {
@@ -31,4 +37,4 @@
</#list> </#list>
] ]
} }
} }

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "dispositionactiondefinition.lib.ftl" as actionDefLib/> <#import "dispositionactiondefinition.lib.ftl" as actionDefLib/>
<@scheduleJSON schedule=schedule/> <@scheduleJSON schedule=schedule/>
@@ -46,4 +52,4 @@
} }
} }
</#escape> </#escape>
</#macro> </#macro>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,24 +19,24 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
"dodCustomTypes": "dodCustomTypes":
[ [
<#list dodCustomTypes as aspDef> <#list dodCustomTypes as aspDef>
{ {
"name": "${aspDef.name.prefixString}", "name": "${aspDef.name.prefixString}",
"title": "${aspDef.title!""}" "title": "${aspDef.title!""}"
}<#if aspDef_has_next>,</#if> }<#if aspDef_has_next>,</#if>
</#list> </#list>
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,27 +19,27 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<html> <html>
<head> <head>
<title>Export failure</title> <title>Export failure</title>
</head> </head>
<body> <body>
<#if (args.failureCallbackFunction?exists)> <#if (args.failureCallbackFunction?exists)>
<script type="text/javascript"> <script type="text/javascript">
${args.failureCallbackFunction}.call(${args.failureCallbackScope!'window'}, { ${args.failureCallbackFunction}.call(${args.failureCallbackScope!'window'}, {
status: { status: {
"code" : ${status.code}, "code" : ${status.code},
"name" : "${status.codeName}", "name" : "${status.codeName}",
"description" : "${status.codeDescription}" "description" : "${status.codeDescription}"
}, },
message: "${jsonUtils.encodeJSONString(status.message)}" message: "${jsonUtils.encodeJSONString(status.message)}"
}); });
</script> </script>
</#if> </#if>
</body> </body>
</html> </html>

View File

@@ -1,9 +1,15 @@
/* /*
* #%L * #%L
* This file is part of Alfresco. * Alfresco Records Management Module
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * 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 * 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 * 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 * the Free Software Foundation, either version 3 of the License, or
@@ -13,204 +19,204 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
/** /**
* Main entry point for this webscript. * Main entry point for this webscript.
* Builds a nodeRef from the url and creates a records series, category and/or folder * Builds a nodeRef from the url and creates a records series, category and/or folder
* template model depending on what nodeRef that has been given. * template model depending on what nodeRef that has been given.
* *
* @method main * @method main
*/ */
function main() function main()
{ {
// Get the node from the URL // Get the node from the URL
var pathSegments = url.match.split("/"); var pathSegments = url.match.split("/");
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/")); var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
var node = search.findNode(pathSegments[2], reference); var node = search.findNode(pathSegments[2], reference);
// 404 if the node is not found // 404 if the node is not found
if (node == null) if (node == null)
{ {
status.setCode(status.STATUS_NOT_FOUND, "The node could not be found"); status.setCode(status.STATUS_NOT_FOUND, "The node could not be found");
return; return;
} }
// Get rid of the model URL to enable support for both older DOD5015 and new recordsmanagement model namespaces // 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 nodeType = node.type.split("}")[1];
// Get the record series, categories and/or folders // Get the record series, categories and/or folders
if(nodeType == "filePlan") if(nodeType == "filePlan")
{ {
var recordSeries = [], var recordSeries = [],
seriesNodes = node.children, seriesNodes = node.children,
seriesNode; seriesNode;
for (var rsi = 0, rsl = seriesNodes.length; rsi < rsl; rsi++) for (var rsi = 0, rsl = seriesNodes.length; rsi < rsl; rsi++)
{ {
var seriesNode = seriesNodes[rsi]; var seriesNode = seriesNodes[rsi];
if(seriesNode.type.split("}")[1] == "recordSeries") if(seriesNode.type.split("}")[1] == "recordSeries")
{ {
recordSeries.push(getRecordSeries(seriesNode)); recordSeries.push(getRecordSeries(seriesNode));
} }
} }
recordSeries.sort(sortByName); recordSeries.sort(sortByName);
model.recordSeries = recordSeries; model.recordSeries = recordSeries;
} }
else if(nodeType == "recordSeries") else if(nodeType == "recordSeries")
{ {
var recordSeries = []; var recordSeries = [];
recordSeries.push(getRecordSeries(node)); recordSeries.push(getRecordSeries(node));
model.recordSeries = recordSeries; model.recordSeries = recordSeries;
} }
else if(nodeType == "recordCategory") else if(nodeType == "recordCategory")
{ {
var recordCategories = []; var recordCategories = [];
recordCategories.push(getRecordCategory(node, "/" + node.parent.name + "/")); recordCategories.push(getRecordCategory(node, "/" + node.parent.name + "/"));
model.recordCategories = recordCategories; model.recordCategories = recordCategories;
} }
else if(nodeType == "recordFolder") else if(nodeType == "recordFolder")
{ {
var recordFolders = []; var recordFolders = [];
var recordCategory = node.parent; var recordCategory = node.parent;
recordFolders.push(getRecordFolder(node, "" + recordCategory.parent.name + "/" + recordCategory.name + "/")); recordFolders.push(getRecordFolder(node, "" + recordCategory.parent.name + "/" + recordCategory.name + "/"));
model.recordFolders = recordFolders; model.recordFolders = recordFolders;
} else } else
{ {
// Throw an error if we don't recognise the node type // Throw an error if we don't recognise the node type
status.setCode(status.STATUS_INTERNAL_SERVER_ERROR, "Unrecognised node type: " + node.type) status.setCode(status.STATUS_INTERNAL_SERVER_ERROR, "Unrecognised node type: " + node.type)
return; return;
} }
} }
/** /**
* Sort helper function for objects with names * Sort helper function for objects with names
* *
* @method sortByName * @method sortByName
* @param obj1 * @param obj1
* @param obj2 * @param obj2
*/ */
function sortByName(obj1, obj2) function sortByName(obj1, obj2)
{ {
return (obj1.name > obj2.name) ? 1 : (obj1.name < obj2.name) ? -1 : 0; return (obj1.name > obj2.name) ? 1 : (obj1.name < obj2.name) ? -1 : 0;
} }
/** /**
* Takes a ScriptNode and builds a Record Series template model from it * Takes a ScriptNode and builds a Record Series template model from it
* *
* @method getRecordSeries * @method getRecordSeries
* @param seriesNode {ScriptNode} A ScriptNode of type "rma:recordSeries" * @param seriesNode {ScriptNode} A ScriptNode of type "rma:recordSeries"
*/ */
function getRecordSeries(seriesNode) function getRecordSeries(seriesNode)
{ {
// Create Record Series object // Create Record Series object
var recordSerie = { var recordSerie = {
parentPath: "/", parentPath: "/",
name: seriesNode.name, name: seriesNode.name,
identifier: seriesNode.properties["rma:identifier"], identifier: seriesNode.properties["rma:identifier"],
description: seriesNode.properties["description"] description: seriesNode.properties["description"]
}; };
// Find all Record Categories // Find all Record Categories
var recordCategories = [], var recordCategories = [],
categoryNodes = seriesNode.children, categoryNodes = seriesNode.children,
categoryNode; categoryNode;
for (var rci = 0, rcl = categoryNodes.length; rci < rcl; rci++) for (var rci = 0, rcl = categoryNodes.length; rci < rcl; rci++)
{ {
categoryNode = categoryNodes[rci]; categoryNode = categoryNodes[rci];
if(categoryNode.type == "{http://www.alfresco.org/model/dod5015/1.0}recordCategory") if(categoryNode.type == "{http://www.alfresco.org/model/dod5015/1.0}recordCategory")
{ {
// Create and add Record Category object // Create and add Record Category object
recordCategories.push(getRecordCategory(categoryNode, "/" + seriesNode.name + "/")); recordCategories.push(getRecordCategory(categoryNode, "/" + seriesNode.name + "/"));
} }
} }
recordCategories.sort(sortByName); recordCategories.sort(sortByName);
recordSerie.recordCategories = recordCategories; recordSerie.recordCategories = recordCategories;
// Return Record Series // Return Record Series
return recordSerie; return recordSerie;
} }
/** /**
* Takes a ScriptNode and builds a Record Category template model from it * Takes a ScriptNode and builds a Record Category template model from it
* *
* @method getRecordCategory * @method getRecordCategory
* @param categoryNode {ScriptNode} A ScriptNode of type "rma:recordCategory" * @param categoryNode {ScriptNode} A ScriptNode of type "rma:recordCategory"
* @param parentPath {string} The file path starting from the top of the fileplan * @param parentPath {string} The file path starting from the top of the fileplan
*/ */
function getRecordCategory(categoryNode, parentPath) function getRecordCategory(categoryNode, parentPath)
{ {
// Create Record Category object // Create Record Category object
var recordCategory = { var recordCategory = {
parentPath: parentPath, parentPath: parentPath,
name: categoryNode.name, name: categoryNode.name,
identifier: categoryNode.properties["rma:identifier"], identifier: categoryNode.properties["rma:identifier"],
vitalRecordIndicator: categoryNode.properties["vitalRecordIndicator"], vitalRecordIndicator: categoryNode.properties["vitalRecordIndicator"],
dispositionAuthority: categoryNode.properties["dispositionAuthority"], dispositionAuthority: categoryNode.properties["dispositionAuthority"],
recordFolders: [], recordFolders: [],
dispositionActions: [] dispositionActions: []
}; };
// Find all Record Folders & Disposition information // Find all Record Folders & Disposition information
var recordFolders = [], var recordFolders = [],
dispositionActions = [], dispositionActions = [],
categoryChildren = categoryNode.children, categoryChildren = categoryNode.children,
categoryChild, categoryChild,
dispScheduleChildren, dispScheduleChildren,
dispScheduleChild; dispScheduleChild;
for (var cci = 0, ccil = categoryChildren.length; cci < ccil; cci++) for (var cci = 0, ccil = categoryChildren.length; cci < ccil; cci++)
{ {
categoryChild = categoryChildren[cci] categoryChild = categoryChildren[cci]
if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}recordFolder") if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}recordFolder")
{ {
// Create and add Record Folder object // Create and add Record Folder object
recordFolders.push(getRecordFolder(categoryChild, parentPath + categoryNode.name + "/")); recordFolders.push(getRecordFolder(categoryChild, parentPath + categoryNode.name + "/"));
} }
else if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionSchedule") else if (categoryChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionSchedule")
{ {
// Get Disposition authority // Get Disposition authority
recordCategory.dispositionAuthority = categoryChild.properties["rma:dispositionAuthority"]; recordCategory.dispositionAuthority = categoryChild.properties["rma:dispositionAuthority"];
dispScheduleChildren = categoryChild.children; dispScheduleChildren = categoryChild.children;
for (var dsi = 0, dsil = dispScheduleChildren.length; dsi < dsil; dsi++) for (var dsi = 0, dsil = dispScheduleChildren.length; dsi < dsil; dsi++)
{ {
dispScheduleChild = dispScheduleChildren[dsi]; dispScheduleChild = dispScheduleChildren[dsi];
if (dispScheduleChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionActionDefinition") if (dispScheduleChild.type == "{http://www.alfresco.org/model/recordsmanagement/1.0}dispositionActionDefinition")
{ {
// Add Disposition Action description // Add Disposition Action description
dispositionActions.push({ dispositionActions.push({
dispositionDescription: dispScheduleChild.properties["rma:dispositionDescription"] dispositionDescription: dispScheduleChild.properties["rma:dispositionDescription"]
}); });
} }
} }
} }
} }
// Add Record Category to the list // Add Record Category to the list
recordFolders.sort(sortByName); recordFolders.sort(sortByName);
recordCategory.recordFolders = recordFolders; recordCategory.recordFolders = recordFolders;
recordCategory.dispositionActions = dispositionActions; recordCategory.dispositionActions = dispositionActions;
return recordCategory; return recordCategory;
} }
/** /**
* Takes a ScriptNode and builds a Record Category template model from it * Takes a ScriptNode and builds a Record Category template model from it
* *
* @method getRecordFolder * @method getRecordFolder
* @param recordFolder {ScriptNode} A ScriptNode of type "rma:recordrecordFolder" * @param recordFolder {ScriptNode} A ScriptNode of type "rma:recordrecordFolder"
* @param parentPath {string} The file path starting from the top of the fileplan * @param parentPath {string} The file path starting from the top of the fileplan
*/ */
function getRecordFolder(recordFolder, parentPath) function getRecordFolder(recordFolder, parentPath)
{ {
return { return {
parentPath: parentPath, parentPath: parentPath,
name: recordFolder.name, name: recordFolder.name,
identifier: recordFolder.properties["rma:identifier"], identifier: recordFolder.properties["rma:identifier"],
vitalRecordIndicator: recordFolder.properties["vitalRecordIndicator"] vitalRecordIndicator: recordFolder.properties["vitalRecordIndicator"]
}; };
} }
// Start webscript // Start webscript
main(); main();

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,27 +19,27 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "fileplanreport.lib.ftl" as reportLib/> <#import "fileplanreport.lib.ftl" as reportLib/>
<#macro dateFormat date>${date?string("dd MMM yyyy HH:mm:ss 'GMT'Z '('zzz')'")}</#macro> <#macro dateFormat date>${date?string("dd MMM yyyy HH:mm:ss 'GMT'Z '('zzz')'")}</#macro>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
data: data:
{ {
"firstName": <#if person.properties.firstName??>"${person.properties.firstName}"<#else>null</#if>, "firstName": <#if person.properties.firstName??>"${person.properties.firstName}"<#else>null</#if>,
"lastName": <#if person.properties.lastName??>"${person.properties.lastName}"<#else>null</#if>, "lastName": <#if person.properties.lastName??>"${person.properties.lastName}"<#else>null</#if>,
<#if (recordSeries??)> <#if (recordSeries??)>
"recordSeries": <@reportLib.recordSeriesJSON recordSeries=recordSeries/>, "recordSeries": <@reportLib.recordSeriesJSON recordSeries=recordSeries/>,
<#elseif (recordCategories??)> <#elseif (recordCategories??)>
"recordCategories": <@reportLib.recordCategoriesJSON recordCategories=recordCategories/>, "recordCategories": <@reportLib.recordCategoriesJSON recordCategories=recordCategories/>,
<#elseif (recordFolders??)> <#elseif (recordFolders??)>
"recordFolders": <@reportLib.recordFoldersJSON recordFolders=recordFolders/>, "recordFolders": <@reportLib.recordFoldersJSON recordFolders=recordFolders/>,
</#if> </#if>
"printDate": "<@dateFormat date=date/>" "printDate": "<@dateFormat date=date/>"
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,54 +19,54 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#macro recordSeriesJSON recordSeries> <#macro recordSeriesJSON recordSeries>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
[<#list recordSeries as recordSerie> [<#list recordSeries as recordSerie>
{ {
"parentPath": "${recordSerie.parentPath}", "parentPath": "${recordSerie.parentPath}",
"name": "${recordSerie.name}", "name": "${recordSerie.name}",
"identifier": "${recordSerie.identifier}", "identifier": "${recordSerie.identifier}",
"description": "${recordSerie.description}", "description": "${recordSerie.description}",
"recordCategories": <@recordCategoriesJSON recordCategories=recordSerie.recordCategories/> "recordCategories": <@recordCategoriesJSON recordCategories=recordSerie.recordCategories/>
}<#if (recordSerie_has_next)>,</#if> }<#if (recordSerie_has_next)>,</#if>
</#list>] </#list>]
</#escape> </#escape>
</#macro> </#macro>
<#macro recordCategoriesJSON recordCategories> <#macro recordCategoriesJSON recordCategories>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
[<#list recordCategories as recordCategory> [<#list recordCategories as recordCategory>
{ {
"parentPath": "${recordCategory.parentPath}", "parentPath": "${recordCategory.parentPath}",
"name": "${recordCategory.name}", "name": "${recordCategory.name}",
"identifier": "${recordCategory.identifier}", "identifier": "${recordCategory.identifier}",
<#if (recordCategory.vitalRecordIndicator??)>"vitalRecordIndicator": ${recordCategory.vitalRecordIndicator?string},</#if> <#if (recordCategory.vitalRecordIndicator??)>"vitalRecordIndicator": ${recordCategory.vitalRecordIndicator?string},</#if>
<#if (recordCategory.dispositionAuthority??)>"dispositionAuthority": "${recordCategory.dispositionAuthority}",</#if> <#if (recordCategory.dispositionAuthority??)>"dispositionAuthority": "${recordCategory.dispositionAuthority}",</#if>
"recordFolders": <@recordFoldersJSON recordFolders=recordCategory.recordFolders/>, "recordFolders": <@recordFoldersJSON recordFolders=recordCategory.recordFolders/>,
"dispositionActions": [<#list recordCategory.dispositionActions as dispositionAction> "dispositionActions": [<#list recordCategory.dispositionActions as dispositionAction>
{ {
"dispositionDescription": "${dispositionAction.dispositionDescription!""}" "dispositionDescription": "${dispositionAction.dispositionDescription!""}"
}<#if (dispositionAction_has_next)>,</#if> }<#if (dispositionAction_has_next)>,</#if>
</#list>] </#list>]
}<#if (recordCategory_has_next)>,</#if> }<#if (recordCategory_has_next)>,</#if>
</#list>] </#list>]
</#escape> </#escape>
</#macro> </#macro>
<#macro recordFoldersJSON recordFolders> <#macro recordFoldersJSON recordFolders>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
[<#list recordFolders as recordFolder> [<#list recordFolders as recordFolder>
{ {
"parentPath": "${recordFolder.parentPath}", "parentPath": "${recordFolder.parentPath}",
"name": "${recordFolder.name}", "name": "${recordFolder.name}",
"identifier": "${recordFolder.identifier}", "identifier": "${recordFolder.identifier}",
<#if (recordFolder.vitalRecordIndicator??)>"vitalRecordIndicator": "${recordFolder.vitalRecordIndicator?string}"</#if> <#if (recordFolder.vitalRecordIndicator??)>"vitalRecordIndicator": "${recordFolder.vitalRecordIndicator?string}"</#if>
}<#if (recordFolder_has_next)>,</#if> }<#if (recordFolder_has_next)>,</#if>
</#list>] </#list>]
</#escape> </#escape>
</#macro> </#macro>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{} {}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,9 +19,9 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{} {}

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
@@ -33,4 +39,4 @@
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,22 +19,22 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<html> <html>
<head> <head>
<title>Upload success</title> <title>Upload success</title>
</head> </head>
<body> <body>
<#if (args.successCallback?exists)> <#if (args.successCallback?exists)>
<script type="text/javascript"> <script type="text/javascript">
${args.successCallback}.call(${args.successScope}, ${args.successCallback}.call(${args.successScope},
{ {
}); });
</script> </script>
</#if> </#if>
</body> </body>
</html> </html>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,13 +19,13 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"success": ${success?string} "success": ${success?string}
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,10 +19,10 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "listofvalues.lib.ftl" as listsLib/> <#import "listofvalues.lib.ftl" as listsLib/>
<@listsLib.listsJSON lists=lists/> <@listsLib.listsJSON lists=lists/>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#macro listsJSON lists> <#macro listsJSON lists>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,25 +19,25 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
"recordMetaDataAspects": "recordMetaDataAspects":
[ [
<#list aspects as aspect> <#list aspects as aspect>
{ {
"id" : "${aspect.id}", "id" : "${aspect.id}",
"value" : "${aspect.value}" "value" : "${aspect.value}"
} }
<#if aspect_has_next>,</#if> <#if aspect_has_next>,</#if>
</#list> </#list>
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"success": ${success?string} "success": ${success?string}
} }

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,24 +19,24 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
{ {
"relationshipLabels": "relationshipLabels":
[ [
<#list relationshipLabels as relationshipLabel> <#list relationshipLabels as relationshipLabel>
{ {
"label": "${relationshipLabel.label}", "label": "${relationshipLabel.label}",
"uniqueName": "${relationshipLabel.uniqueName}" "uniqueName": "${relationshipLabel.uniqueName}"
}<#if relationshipLabel_has_next>,</#if> }<#if relationshipLabel_has_next>,</#if>
</#list> </#list>
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {
"data": "data":
@@ -32,4 +38,4 @@
] ]
} }
} }
</#escape> </#escape>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,22 +19,22 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"message" : "${message}" "message" : "${message}"
<#if result?exists> <#if result?exists>
,"result" : "${result?string}" ,"result" : "${result?string}"
</#if> </#if>
<#if results?exists> <#if results?exists>
,"results" : ,"results" :
{ {
<#list results?keys as prop> <#list results?keys as prop>
"${prop}" : "${results[prop]}"<#if prop_has_next>,</#if> "${prop}" : "${results[prop]}"<#if prop_has_next>,</#if>
</#list> </#list>
} }
</#if> </#if>
} }

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,10 +19,10 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmauditlog.lib.ftl" as auditLib/> <#import "rmauditlog.lib.ftl" as auditLib/>
<@auditLib.auditStatusJSON auditstatus=auditstatus/> <@auditLib.auditStatusJSON auditstatus=auditstatus/>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,11 +19,11 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#macro auditStatusJSON auditstatus> <#macro auditStatusJSON auditstatus>
<#escape x as jsonUtils.encodeJSONString(x)> <#escape x as jsonUtils.encodeJSONString(x)>
{ {

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,10 +19,10 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
<#import "rmauditlog.lib.ftl" as auditLib/> <#import "rmauditlog.lib.ftl" as auditLib/>
<@auditLib.auditStatusJSON auditstatus=auditstatus/> <@auditLib.auditStatusJSON auditstatus=auditstatus/>

View File

@@ -1,9 +1,15 @@
<#-- <#--
#%L #%L
This file is part of Alfresco. Alfresco Records Management Module
%% %%
Copyright (C) 2005 - 2016 Alfresco Software Limited 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 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 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 the Free Software Foundation, either version 3 of the License, or
@@ -13,14 +19,14 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with Alfresco. If not, see <http://www.gnu.org/licenses/>. along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
#L% #L%
--> -->
{ {
"data" : "data" :
{ {
"enabled" : ${enabled?string} "enabled" : ${enabled?string}
} }
} }

Some files were not shown because too many files have changed in this diff Show More