Author: cziegeler
Date: Tue May 7 11:19:17 2013
New Revision: 1479861
URL: http://svn.apache.org/r1479861
Log:
SLING-2857 : Fix the name of the members resource in ResourceCollection., Apply
patch from Amit Gupta
Added:
sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
(with props)
Added:
sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
URL:
http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java?rev=1479861&view=auto
==============================================================================
---
sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
(added)
+++
sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
Tue May 7 11:19:17 2013
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.sling.resource.collection.impl;
+
+public interface ResourceCollectionConstants {
+ /**
+ * property name to store resource reference in collection entry
+ */
+ static final String REF_PROPERTY = "sling:resource";
+
+ /**
+ * node name for the collection members
+ */
+ static final String MEMBERS_NODE_NAME = "sling:members";
+
+ /**
+ * property name to store list of references in a collection
+ */
+ static final String REFERENCES_PROP = "sling:resources";
+}
Propchange:
sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
------------------------------------------------------------------------------
svn:keywords = author date id revision rev url
Propchange:
sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
------------------------------------------------------------------------------
svn:mime-type = text/plain