-
Feature Request
-
Resolution: Won't Do
-
Major
-
3.1.2.Final
In order to properly implement CMIS connector (see MODE-650) for modeshape and include support for creation at right place of sub-types of cmis:folder and cmis:document, connector SPI needs to be updated.
To get an object ID from CMIS repository, object needs to be created first, but to create an object there may be required metadata which needs to be present, so generation of ID is possible only AFTER node get's persisted into external repo.
This differs from current implementation where ID generated before touching external repo.
One idea is to change signature of storeDocument function and return ID of the generated node, so repository then can update internal state with new ID.
public abstract String storeDocument( Document document );
See discussion here: MODE-1772
Example:
http://chemistry.apache.org/java/examples/example-create-update.html
- blocks
-
MODE-650 Connector to CMIS
- Closed
- relates to
-
MODE-1188 Support connectors to systems that contain their own versioning capabilities
- Resolved
-
MODE-1686 Support connectors to systems that contain their own search capabilities
- Resolved
-
MODE-1772 Creating new nodes in an external source results in invalid identifiers
- Closed
-
MODE-1800 Pass the primary node type for a new node to the connector when creating an identifier
- Closed