Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Regulated info
{
"jcr:primaryType": "sling:OrderedFolder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 12:19:12 GMT+0100",
"annual-biannual": {
"jcr:primaryType": "sling:OrderedFolder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 12:19:12 GMT+0100",
"jcr:content": {
"jcr:primaryType": "nt:unstructured",
"jcr:title": "Annual, biannual and quaterly informations",
"folderThumbnail": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "dam-writer-service",
"jcr:created": "Thu Dec 09 2021 15:45:55 GMT+0100",
"jcr:content": {
"jcr:primaryType": "nt:unstructured",
"dam:folderThumbnailPaths": [
"/content/dam/example.com/investor/information-test/2021/annual-biannual/notice_of_publication_of_the_2021_hy_teste_data.pdf",
"/content/dam/example.com/investor/information-test/2021/annual-biannual/example_pr_teste_res_h1_2021_0.pdf",
"/content/dam/example.com/investor/information-test/2021/annual-biannual/hy_teste_data_2021_vdef_0.pdf"
],
"height": 240,
"bgcolor": -1,
"width": 280,
"jcr:lastModified": "Thu Dec 09 2021 15:46:00 GMT+0100",
":jcr:data": 44537
}
}
},
"example_pr_teste_res_h1_2021_0.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"jcr:uuid": "aa962e62-4a2e-434a-b4d5-366a79dcd5cb",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:45:55 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 1627
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 4710
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:55 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:45:55 GMT+0100",
":jcr:data": 106648
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 108163
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:45:53 GMT+0100",
":jcr:data": 506637
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:55 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:55 GMT+0100",
":jcr:data": 29300
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"dc:creator": ["Blandine FOLTA"],
"dam:Physicalheightininches": "11.693333333333333",
"dam:Physicalwidthininches": "8.268333333333334",
"dam:numPages": 11,
"xmp:CreatorTool": "Microsoft® Word 2016",
"dam:extracted": "Thu Dec 09 2021 15:45:53 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft® Word 2016",
"dam:scene7Name": "notice_of_publication_of_the_2021_hy_teste_datapdf",
"xmp:MetadataDate": "Tue Aug 31 2021 15:17:17 GMT+0200",
"pdf:Producer": "Microsoft® Word 2016",
"xmp:ModifyDate": "Tue Aug 31 2021 15:17:17 GMT+0200",
"dam:Author": "Blandine FOLTA",
"xmp:CreateDate": "Tue Aug 31 2021 15:17:17 GMT+0200",
"dam:sha1": "2a942bec7e893c73340d5d57dae50ad180a63d7f",
"dam:size": 506637,
"dc:creator_xmpArrayType": "rdf:Seq"
}
}
},
"hy_teste_data_2021_vdef_0.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"jcr:uuid": "d5b7d40d-8549-497d-ae00-86f7732a85ab",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:45:56 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:56 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:56 GMT+0100",
":jcr:data": 3380
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:56 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:56 GMT+0100",
":jcr:data": 12506
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:56 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:45:56 GMT+0100",
":jcr:data": 100794
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:55 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:55 GMT+0100",
":jcr:data": 580817
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:45:53 GMT+0100",
":jcr:data": 2880353
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:56 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:56 GMT+0100",
":jcr:data": 95810
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"jcr:title": "Microsoft Word - HY teste data_2021_VDEF",
"dc:creator": [10017153],
"dam:Physicalheightininches": "11.684647222222221",
"dam:Physicalwidthininches": "8.25965",
"dam:numPages": 61,
"dam:extracted": "Thu Dec 09 2021 15:45:53 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft: Print To PDF",
"xmpMM:DocumentID": "uuid:1c9266db-08dc-4193-b6fb-70d5b3498eeb",
"dam:scene7Name": "HY teste data_2021_VDEF.pdf",
"xmp:MetadataDate": "Wed Sep 01 2021 16:56:39 GMT+0200",
"pdf:Producer": "Microsoft: Print To PDF",
"xmpMM:InstanceID": "uuid:add27d64-eec7-455f-8690-636be5384362",
"xmp:ModifyDate": "Wed Sep 01 2021 16:56:39 GMT+0200",
"dam:Author": 10017153,
"xmp:CreateDate": "Wed Sep 01 2021 16:11:44 GMT+0200",
"dam:sha1": "046dbf42c06cbef2dd3522c324bc12f31a6061f3",
"dam:size": 2880353,
"dc:creator_xmpArrayType": "rdf:Seq",
"dc:title": "Microsoft Word - HY teste data_2021_VDEF"
}
}
},
"notice_of_publication_of_the_2021_hy_teste_data.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"jcr:uuid": "c1ddcf46-2d61-4920-97a7-3795e3d22063",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:45:55 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 842
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 2267
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 45647
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 48364
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:45:53 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:45:53 GMT+0100",
":jcr:data": 364436
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:45:54 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:45:54 GMT+0100",
":jcr:data": 13390
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"jcr:title": "Microsoft Word - Notice_Publication_HY2021 data_rev_pwc",
"dc:creator": [10017153],
"dam:Physicalheightininches": "11.693333888888889",
"dam:Physicalwidthininches": "8.268333472222222",
"dam:numPages": 1,
"dam:extracted": "Thu Dec 09 2021 15:45:53 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft: Print To PDF",
"dam:scene7Name": "notice of publication.pdf",
"xmp:MetadataDate": "Thu Sep 02 2021 11:01:02 GMT+0200",
"pdf:Producer": "Microsoft: Print To PDF",
"xmp:ModifyDate": "Thu Sep 02 2021 11:01:02 GMT+0200",
"dam:Author": 10017153,
"xmp:CreateDate": "Thu Sep 02 2021 11:01:02 GMT+0200",
"dam:sha1": "4b9401b99f30494430b0cd423376ebcc45e4ce65",
"dam:size": 364436,
"dc:creator_xmpArrayType": "rdf:Seq",
"dc:title": "Microsoft Word - Notice_Publication_HY2021 data_rev_pwc"
}
}
}
},
"teste-security": {
"jcr:primaryType": "sling:OrderedFolder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 12:19:12 GMT+0100",
"jcr:content": {
"jcr:primaryType": "nt:unstructured",
"jcr:title": "teste security, Law data of the chairman of the Board on Corporate governance and internal control data"
}
},
"fees": {
"jcr:primaryType": "sling:OrderedFolder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 12:19:12 GMT+0100",
"jcr:content": {
"jcr:primaryType": "nt:unstructured",
"jcr:title": "Fees received by Statutory auditors"
}
},
"total-number-voting": {
"jcr:primaryType": "sling:OrderedFolder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 12:19:12 GMT+0100",
"jcr:content": {
"jcr:primaryType": "nt:unstructured",
"jcr:title": "Total number of voting rights and shares",
"folderThumbnail": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "dam-writer-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "nt:unstructured",
"dam:folderThumbnailPaths": [
"/content/dam/example.com/investor/information-test/2021/total-number-voting/dec_cop_et_drt_de_vt_au_30_06_2021_0.pdf",
"/content/dam/example.com/investor/information-test/2021/total-number-voting/dec_cop_et_drt_de_vt_au_30_09_2021_0.pdf",
"/content/dam/example.com/investor/information-test/2021/total-number-voting/dec_cop_et_drt_de_vt_au_31_05_2021_0.pdf"
],
"height": 240,
"bgcolor": -1,
"width": 280,
"jcr:lastModified": "Thu Dec 09 2021 15:47:26 GMT+0100",
":jcr:data": 32510
}
}
},
"dec_cop_et_drt_de_vt_au_30_06_2021_0.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:uuid": "fea63df8-1068-4e45-8baf-5f4808f25525",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 948
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 2913
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 60837
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 73323
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 209796
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 19225
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"dc:creator": ["DOLOTY Pascale"],
"dam:Physicalheightininches": "11.693333333333333",
"dam:Physicalwidthininches": "8.266666666666667",
"dam:numPages": 1,
"xmp:CreatorTool": "Microsoft® Word 2016",
"dam:extracted": "Thu Dec 09 2021 15:47:22 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft® Word 2016",
"xmp:MetadataDate": "Wed Jul 07 2021 11:15:15 GMT+0200",
"pdf:Producer": "Microsoft® Word 2016",
"xmp:ModifyDate": "Wed Jul 07 2021 11:15:15 GMT+0200",
"dam:Author": "DOLOTY Pascale",
"xmp:CreateDate": "Wed Jul 07 2021 11:15:15 GMT+0200",
"dam:sha1": "a08841a674c3465c8250d408d75893a7a0dfecd0",
"dam:size": 209796,
"dc:creator_xmpArrayType": "rdf:Seq"
}
}
},
"dec_cop_et_drt_de_vt_au_30_09_2021_0.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:uuid": "016456e2-6d32-4053-a42f-a14b69361a30",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 949
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 2900
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 60838
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 73439
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 210420
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 19224
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"dc:creator": ["DOLOTY Pascale"],
"dam:Physicalheightininches": "11.693333333333333",
"dam:Physicalwidthininches": "8.266666666666667",
"dam:numPages": 1,
"xmp:CreatorTool": "Microsoft® Word 2016",
"dam:extracted": "Thu Dec 09 2021 15:47:22 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft® Word 2016",
"xmp:MetadataDate": "Fri Oct 08 2021 08:10:02 GMT+0200",
"pdf:Producer": "Microsoft® Word 2016",
"xmp:ModifyDate": "Fri Oct 08 2021 08:10:02 GMT+0200",
"dam:Author": "DOLOTY Pascale",
"xmp:CreateDate": "Fri Oct 08 2021 08:10:02 GMT+0200",
"dam:sha1": "97eac5b0212812802c3ab1cbc9baac4be978c3ed",
"dam:size": 210420,
"dc:creator_xmpArrayType": "rdf:Seq"
}
}
},
"dec_cop_et_drt_de_vt_au_31_05_2021_0.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:uuid": "9cb924ef-6467-4535-b92d-6029e559b6d1",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:47:24 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 949
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 2898
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 60882
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 73411
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 210460
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 19231
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"dc:creator": ["DOLOTY Pascale"],
"dam:Physicalheightininches": "11.693333333333333",
"dam:Physicalwidthininches": "8.266666666666667",
"dam:numPages": 1,
"xmp:CreatorTool": "Microsoft® Word 2016",
"dam:extracted": "Thu Dec 09 2021 15:47:22 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft® Word 2016",
"xmp:MetadataDate": "Thu Jun 10 2021 16:31:49 GMT+0200",
"pdf:Producer": "Microsoft® Word 2016",
"xmp:ModifyDate": "Thu Jun 10 2021 16:31:49 GMT+0200",
"dam:Author": "DOLOTY Pascale",
"xmp:CreateDate": "Thu Jun 10 2021 16:31:49 GMT+0200",
"dam:sha1": "1a05d24add08ed8300ee2bcda5262fa6e8ebf4aa",
"dam:size": 210460,
"dc:creator_xmpArrayType": "rdf:Seq"
}
}
},
"dec_cop_et_drt_de_vt_au_31_07_2021_0.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:uuid": "ca6f5d16-668f-4021-bc47-1a7c28492c66",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:47:24 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 948
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 2910
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 60865
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 73393
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 210407
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 19224
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"dc:creator": ["DOLOTY Pascale"],
"dam:Physicalheightininches": "11.693333333333333",
"dam:Physicalwidthininches": "8.266666666666667",
"dam:numPages": 1,
"xmp:CreatorTool": "Microsoft® Word 2016",
"dam:extracted": "Thu Dec 09 2021 15:47:22 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft® Word 2016",
"xmp:MetadataDate": "Thu Aug 12 2021 17:53:17 GMT+0200",
"pdf:Producer": "Microsoft® Word 2016",
"xmp:ModifyDate": "Thu Aug 12 2021 17:53:17 GMT+0200",
"dam:Author": "DOLOTY Pascale",
"xmp:CreateDate": "Thu Aug 12 2021 17:53:17 GMT+0200",
"dam:sha1": "8f6f2848e53a8da0aab59ae0d4d86f4e6fdb246f",
"dam:size": 210407,
"dc:creator_xmpArrayType": "rdf:Seq"
}
}
},
"dec_cop_et_drt_de_vt_au_31_08_2021_0.pdf": {
"jcr:primaryType": "dam:Asset",
"jcr:mixinTypes": ["mix:referenceable"],
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:uuid": "7f4d18de-a7dc-4208-ba39-e1174c478b8e",
"jcr:content": {
"jcr:primaryType": "dam:AssetContent",
"jcr:lastModifiedBy": "admin",
"dam:assetState": "processed",
"jcr:lastModified": "Thu Dec 09 2021 15:47:24 GMT+0100",
"renditions": {
"jcr:primaryType": "nt:folder",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"cq5dam.thumbnail.48.48.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 945
}
},
"cq5dam.thumbnail.140.100.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 2917
}
},
"cq5dam.web.1280.1280.jpeg": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/jpeg",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 60874
}
},
"cqdam.preview.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 73477
}
},
"original": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "admin",
"jcr:created": "Thu Dec 09 2021 15:47:22 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "admin",
"jcr:mimeType": "application/pdf",
"jcr:lastModified": "Thu Dec 09 2021 15:47:22 GMT+0100",
":jcr:data": 209796
}
},
"cq5dam.thumbnail.319.319.png": {
"jcr:primaryType": "nt:file",
"jcr:createdBy": "workflow-process-service",
"jcr:created": "Thu Dec 09 2021 15:47:23 GMT+0100",
"jcr:content": {
"jcr:primaryType": "oak:Resource",
"jcr:lastModifiedBy": "workflow-process-service",
"jcr:mimeType": "image/png",
"jcr:lastModified": "Thu Dec 09 2021 15:47:23 GMT+0100",
":jcr:data": 19241
}
}
},
"related": {"jcr:primaryType": "nt:unstructured"},
"metadata": {
"jcr:primaryType": "nt:unstructured",
"jcr:mixinTypes": ["cq:Taggable"],
"dc:creator": ["DOLOTY Pascale"],
"dam:Physicalheightininches": "11.693333333333333",
"dam:Physicalwidthininches": "8.266666666666667",
"dam:numPages": 1,
"xmp:CreatorTool": "Microsoft® Word 2016",
"dam:extracted": "Thu Dec 09 2021 15:47:23 GMT+0100",
"dc:format": "application/pdf",
"dam:Producer": "Microsoft® Word 2016",
"xmp:MetadataDate": "Mon Sep 06 2021 08:56:01 GMT+0200",
"pdf:Producer": "Microsoft® Word 2016",
"xmp:ModifyDate": "Mon Sep 06 2021 08:56:01 GMT+0200",
"dam:Author": "DOLOTY Pascale",
"xmp:CreateDate": "Mon Sep 06 2021 08:56:01 GMT+0200",
"dam:sha1": "43e62814524394baae17021054949671f3c2536a",
"dam:size": 209796,
"dc:creator_xmpArrayType": "rdf:Seq"
}
}
}
}
}
import org.apache.sling.api.resource.ResourceResolver;
import org.apache.sling.models.annotations.injectorspecific.InjectionStrategy;
import org.apache.sling.models.annotations.injectorspecific.Self;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.injectorspecific.SlingObject;
import org.apache.sling.models.annotations.injectorspecific.ValueMapValue;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.PostConstruct;
import java.awt.*;
import java.util.*;
import java.util.List;
@Model(
adaptables = {Resource.class},
resourceType = {RegulatedInformationList.RESOURCE_TYPE}
)
public class RegulatedInformationList {
public static final String RESOURCE_TYPE = "example/components/regulatedinformationlist";
@SlingObject
private ResourceResolver resourceResolver;
@Self
protected Resource resource;
@ValueMapValue(injectionStrategy = InjectionStrategy.OPTIONAL)
private String documentPath;
private List<Resource> allChildren;
private List<RegulatedInformationListAsset> allRegulatedItems;
private List<RegulatedInformationListFolder> allRegulatedFolders;
private static final Logger LOGGER = LoggerFactory.getLogger(RegulatedInformationList.class);
public String getDocumentPath() {
return documentPath;
}
public RegulatedInformationListFolder getRootFolder() {
Resource resource2 = resourceResolver.getResource(documentPath);
if (null != resource2) {
return resource2.adaptTo(RegulatedInformationListFolder.class);
}
return null;
}
}
{
"jcr:primaryType": "nt:unstructured",
"jcr:createdBy": "admin",
"documentPath": "/content/dam/biomerieux.com/investor/regulated-informations",
"jcr:lastModifiedBy": "admin",
"jcr:created": "Tue Dec 14 2021 10:29:08 GMT+0100",
"jcr:lastModified": "Tue Dec 14 2021 10:30:49 GMT+0100",
"sling:resourceType": "onebmx/components/regulatedinformationlist"
}
import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.DefaultInjectionStrategy;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.injectorspecific.Self;
import org.apache.sling.models.annotations.injectorspecific.ValueMapValue;
import javax.inject.Named;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
@Model(
adaptables = {Resource.class},
defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL
)
public class RegulatedInformationListAsset {
@Self
Resource resource;
@ValueMapValue
@Named("jcr:content/metadata/dam:scene7Name")
private String fileName;
@ValueMapValue
@Named("jcr:content/metadata/xmp:CreateDate")
private Date created;
public String datparsed;
public String getFilePath() {
return resource.getPath();
}
public String getFileName() {
return fileName;
}
public String getDatparsed() {
return sdf(created);
}
public String sdf (Date createdDate) {
DateFormat formatter = new SimpleDateFormat("MMMMM d, yyyy");
datparsed = formatter.format(created);
return datparsed;
}
public Date getCreated() {
return created;
}
}
import org.apache.commons.lang3.StringUtils;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.DefaultInjectionStrategy;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.injectorspecific.Self;
import org.apache.sling.models.annotations.injectorspecific.ValueMapValue;
import javax.inject.Named;
import javax.print.DocFlavor;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
@Model(
adaptables = {Resource.class},
defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL
)
public class RegulatedInformationListFolder {
@Self
Resource resource;
@ValueMapValue
@Named("jcr:content/jcr:title")
private String folderName;
public String getFolderPath() {
return resource.getPath();
}
public String getFolderName() {
if (StringUtils.isBlank(folderName)) {
return resource.getName();
}
return folderName;
}
public List<RegulatedInformationListFolder> getFolders() {
List<RegulatedInformationListFolder> allChildren = new ArrayList<>();
Iterator<Resource> resourceChildren = resource.listChildren();
while (resourceChildren.hasNext()) {
Resource file = resourceChildren.next();
String primaryType = file.getValueMap().get("jcr:primaryType", String.class);
if (primaryType != null && primaryType.equals("sling:OrderedFolder")) {
allChildren.add(file.adaptTo(RegulatedInformationListFolder.class));
}
}
return allChildren;
}
public List<RegulatedInformationListAsset> getAssets() {
List<RegulatedInformationListAsset> allChildren = new ArrayList<>();
Iterator<Resource> resourceChildren = resource.listChildren();
while (resourceChildren.hasNext()) {
Resource file = resourceChildren.next();
if (file.isResourceType("dam:Asset")) {
allChildren.add(file.adaptTo(RegulatedInformationListAsset.class));
}
}
return allChildren;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment