@@ 99-109 (lines=11) @@ | ||
96 | * @return string|null Returns the new object id or <code>null</code> if the repository sent an empty |
|
97 | * result (which should not happen) |
|
98 | */ |
|
99 | public function createDocument( |
|
100 | $repositoryId, |
|
101 | PropertiesInterface $properties, |
|
102 | $folderId = null, |
|
103 | StreamInterface $contentStream = null, |
|
104 | VersioningState $versioningState = null, |
|
105 | array $policies = [], |
|
106 | AclInterface $addAces = null, |
|
107 | AclInterface $removeAces = null, |
|
108 | ExtensionDataInterface $extension = null |
|
109 | ); |
|
110 | ||
111 | /** |
|
112 | * Creates a document object as a copy of the given source document in the (optionally) specified location. |
|
@@ 130-140 (lines=11) @@ | ||
127 | * @param ExtensionDataInterface|null $extension |
|
128 | * @return string The id of the newly-created document. |
|
129 | */ |
|
130 | public function createDocumentFromSource( |
|
131 | $repositoryId, |
|
132 | $sourceId, |
|
133 | PropertiesInterface $properties, |
|
134 | $folderId = null, |
|
135 | VersioningState $versioningState = null, |
|
136 | array $policies = [], |
|
137 | AclInterface $addAces = null, |
|
138 | AclInterface $removeAces = null, |
|
139 | ExtensionDataInterface $extension = null |
|
140 | ); |
|
141 | ||
142 | /** |
|
143 | * Creates a folder object of the specified type (given by the cmis:objectTypeId property) in |
@@ 56-67 (lines=12) @@ | ||
53 | * @param ExtensionDataInterface|null $extension |
|
54 | * @return string|null Versioned object ID of original source if succesful, null otherwise |
|
55 | */ |
|
56 | public function checkIn( |
|
57 | $repositoryId, |
|
58 | & $objectId, |
|
59 | $major = true, |
|
60 | PropertiesInterface $properties = null, |
|
61 | StreamInterface $contentStream = null, |
|
62 | $checkinComment = null, |
|
63 | array $policies = [], |
|
64 | AclInterface $addAces = null, |
|
65 | AclInterface $removeAces = null, |
|
66 | ExtensionDataInterface $extension = null |
|
67 | ); |
|
68 | ||
69 | /** |
|
70 | * Create a private working copy of the document. |