You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:23:53 UTC

[sling-org-apache-sling-resourcecollection] 11/31: SLING-2857 : Fix the name of the members resource in ResourceCollection., Apply patch from Amit Gupta

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resourcecollection.git

commit f33455819dd6db44c3fe743f4b59acee5585bf17
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue May 7 11:19:17 2013 +0000

    SLING-2857 : Fix the name of the members resource in ResourceCollection., Apply patch from Amit Gupta
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1479861 13f79535-47bb-0310-9956-ffa450edef68
---
 .../impl/ResourceCollectionConstants.java          | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java b/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
new file mode 100644
index 0000000..bb433f2
--- /dev/null
+++ b/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionConstants.java
@@ -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";
+}

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.