Author: ard
Date: Wed Sep 12 08:00:27 2012
New Revision: 1383827
URL: http://svn.apache.org/viewvc?rev=1383827&view=rev
Log:
RAVE-697 add not yet versioned class
Added:
rave/sandbox/content-services/rave-web-hmvc/src/main/java/org/apache/rave/portal/web/mvc/config/ExtendablePageFragment.java
Added:
rave/sandbox/content-services/rave-web-hmvc/src/main/java/org/apache/rave/portal/web/mvc/config/ExtendablePageFragment.java
URL:
http://svn.apache.org/viewvc/rave/sandbox/content-services/rave-web-hmvc/src/main/java/org/apache/rave/portal/web/mvc/config/ExtendablePageFragment.java?rev=1383827&view=auto
==============================================================================
---
rave/sandbox/content-services/rave-web-hmvc/src/main/java/org/apache/rave/portal/web/mvc/config/ExtendablePageFragment.java
(added)
+++
rave/sandbox/content-services/rave-web-hmvc/src/main/java/org/apache/rave/portal/web/mvc/config/ExtendablePageFragment.java
Wed Sep 12 08:00:27 2012
@@ -0,0 +1,37 @@
+/*
+ * 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.rave.portal.web.mvc.config;
+
+public interface ExtendablePageFragment extends PageFragment {
+
+ /**
+ * <p>
+ * Returns the absolute path to the {@link ExtendablePageFragment} that
is extended or <code>null</code> when no
+ * extension is done. The absolute path must start with a <code>/</code>
+ * </p>
+ * <p>
+ * A {@link ExtendablePageFragment} is not allowed to extend itself or
one of its descendant {@link ExtendablePageFragment}s
+ * </p>
+ * @return the absolute path to the {@link ExtendablePageFragment} that is
extended or <code>null</code> when no
+ * extension is done
+ */
+ String getExtends();
+
+}