[ 
https://issues.apache.org/jira/browse/SLING-10888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated SLING-10888:
------------------------------------
    Description: 
As not all resource providers necessarily support all CRUD operations it would 
be beneficial to have some API to check in advance if certain CRUD operations 
are supported at a certain path.
Currently the only way is to try it out and afterwards deal with the exceptions.

There are potentially different support levels for each operation:
# Supported with these parameters (might not only depend on the path, but also 
on other parametrisation like properties for creating resources. This is the 
case for mandatory properties in certain node types in the JCR provider)
# Not supported in general by the underlying resource provider
# Not supported with these parameters

  was:
As not all resource providers necessarily support all CRUD operations it would 
be beneficial to have some API to check in advance if certain CRUD operations 
are supported at a certain path.
Currently the only way is to try it out and afterwards deal with the exceptions.


> Add CRUD operation capability API
> ---------------------------------
>
>                 Key: SLING-10888
>                 URL: https://issues.apache.org/jira/browse/SLING-10888
>             Project: Sling
>          Issue Type: New Feature
>          Components: API
>            Reporter: Konrad Windszus
>            Priority: Major
>
> As not all resource providers necessarily support all CRUD operations it 
> would be beneficial to have some API to check in advance if certain CRUD 
> operations are supported at a certain path.
> Currently the only way is to try it out and afterwards deal with the 
> exceptions.
> There are potentially different support levels for each operation:
> # Supported with these parameters (might not only depend on the path, but 
> also on other parametrisation like properties for creating resources. This is 
> the case for mandatory properties in certain node types in the JCR provider)
> # Not supported in general by the underlying resource provider
> # Not supported with these parameters



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to