Created
November 12, 2011 03:36
-
-
Save justinedelson/1359997 to your computer and use it in GitHub Desktop.
Adapter JSON file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"adaptables":"org.apache.sling.api.resource.Resource", | |
"adapters":[ | |
"javax.jcr.Node", | |
"javax.jcr.Item", | |
"java.net.URL", | |
"java.util.Map", | |
"org.apache.sling.api.resource.ValueMap" | |
], | |
"condition":"If the resource is a JcrNodeResource" | |
}, | |
{ | |
"adaptables":"org.apache.sling.api.resource.Resource", | |
"adapters":[ | |
"java.io.InputStream", | |
], | |
"condition":"If the resource is a JcrNodeResource and has a jcr:data property or in an nt:file node" | |
}, | |
{ | |
"adaptables":"org.apache.sling.api.resource.Resource", | |
"adapters":[ | |
"org.apache.sling.api.resource.PersistableValueMap", | |
], | |
"condition":"If the resource is a JcrNodeResource and the user has set property privileges on the node" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment