stable

Clone or download

Read-only

REST representations of the document manager plugin are immutable

This is a technical change, no functional change is expected. Part of request #15111: REST representations should not be mutable Change-Id: I0682f6b3219297972c4031819768b82bab436a25

Modified Files

Name
M plugins/docman/include/ApprovalTable/ApprovalTable.class.php +9 −0 Go to diff View file
M plugins/docman/include/ApprovalTable/ApprovalTableStateMapper.php +2 −0 Go to diff View file
M plugins/docman/include/Docman_Version.class.php +1 −0 Go to diff View file
M plugins/docman/include/REST/v1/CopyItem/DocmanItemCopier.php +1 −4 Go to diff View file
M plugins/docman/include/REST/v1/CreatedItemRepresentation.php +17 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +4 −14 Go to diff View file
M plugins/docman/include/REST/v1/DocmanPATCHItemRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFileVersionPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFilesPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFilePropertiesFullRepresentation.php +4 −1 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFilePropertiesMinimalRepresentation.php +4 −1 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedPropertiesPOSTPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/IEmbeddedFilePropertiesRepresentation.php +4 −1 Go to diff View file
M plugins/docman/include/REST/v1/Empties/DocmanEmptyPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Files/CreatedItemFilePropertiesRepresentation.php +9 −1 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanFileVersionCreator.php +2 −7 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanFileVersionPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanFilesPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanPOSTFilesRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Files/FilePropertiesPOSTPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Files/FilePropertiesRepresentation.php +15 −3 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanFolderPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Folders/FolderPropertiesRepresentation.php +13 −5 Go to diff View file
M plugins/docman/include/REST/v1/ItemApprovalTableRepresentation.php +4 −1 Go to diff View file
M plugins/docman/include/REST/v1/ItemLockInfoRepresentation.php +4 −1 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentation.php +87 −28 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationBuilder.php +1 −4 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationVisitor.php +5 −14 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkVersionPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Links/LinkPropertiesPOSTPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Links/LinkPropertiesRepresentation.php +10 −2 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/ItemMetadataRepresentation.php +4 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataListValueRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/POSTCustomMetadataRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/PUTCustomMetadataRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/PUTMetadataCommonRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/PUTMetadataFolderRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/PUTMetadataRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/DocmanFolderPermissionsForGroupsPUTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsSetRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Service/DocmanServicePermissionsForGroupsRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Service/DocmanServiceRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiVersionPOSTRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/WikiPropertiesPOSTPATCHRepresentation.php +3 −0 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/WikiPropertiesRepresentation.php +11 −3 Go to diff View file
M plugins/docman/tests/unit/REST/v1/DocmanItemCreatorTest.php +7 −4 Go to diff View file
M plugins/docman/tests/unit/REST/v1/ItemRepresentationCollectionBuilderTest.php +8 −18 Go to diff View file
M plugins/docman/tests/unit/REST/v1/ItemRepresentationVisitorTest.php +0 −4 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Links/DocmanLinkVersionCreatorTest.php +4 −2 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Service/DocmanServiceRepresentationBuilderTest.php +2 −2 Go to diff View file