[
https://issues.apache.org/jira/browse/SLING-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu updated SLING-3072:
-----------------------------------
Assignee: Robert Munteanu
> Repository: API needs a single method to create a node and set its non-binary
> properties
> ----------------------------------------------------------------------------------------
>
> Key: SLING-3072
> URL: https://issues.apache.org/jira/browse/SLING-3072
> Project: Sling
> Issue Type: Improvement
> Components: IDE
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Priority: Critical
> Fix For: Sling Eclipse IDE 1.0.0
>
>
> The Repository add/update methods are as follows:
> {code}
> Command<Void> newAddNodeCommand(FileInfo fileInfo);
> Command<Void> newUpdateContentNodeCommand(FileInfo fileInfo, ResourceProxy
> resourceProxy);
> {code}
> with the add command not knowing the jcr:primaryType of the node to create,
> and guessing one of nt:file or nt:folder. The unified command (
> newAddOrUpdateNodeCommand ? ) could possibly receive only the ResourceProxy,
> with a repository path set, and that would be enough information.
> Both vlt and resource-based implementations need to be adjusted after the API
> change.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira