Author: cziegeler
Date: Thu Nov 8 00:44:36 2007
New Revision: 593070
URL: http://svn.apache.org/viewvc?rev=593070&view=rev
Log:
Fix some java docs.
Modified:
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/request/RequestPathInfo.java
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceManager.java
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
Modified:
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/request/RequestPathInfo.java
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/api/src/main/java/org/apache/sling/api/request/RequestPathInfo.java?rev=593070&r1=593069&r2=593070&view=diff
==============================================================================
---
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/request/RequestPathInfo.java
(original)
+++
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/request/RequestPathInfo.java
Thu Nov 8 00:44:36 2007
@@ -23,7 +23,7 @@
* <p id="decomp">
* <b>Decomposition of a Request URL</b>
* <ol>
- * <li>[EMAIL PROTECTED] #getPath() content path} - The longest substring of
the request
+ * <li>[EMAIL PROTECTED] #getResourcePath() content path} - The longest
substring of the request
* URI resolving to a [EMAIL PROTECTED]
org.apache.sling.api.resource.Resource} object such
* that the content path is either the complete request URI or the next
* character in the request URI after the content path is either a dot
(<code>.</code>)
Modified:
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceManager.java
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceManager.java?rev=593070&r1=593069&r2=593070&view=diff
==============================================================================
---
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceManager.java
(original)
+++
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceManager.java
Thu Nov 8 00:44:36 2007
@@ -24,7 +24,7 @@
* The <code>ResourceManager</code> interface extends the
* [EMAIL PROTECTED] ResourceResolver} in case the Sling Framework supports
Object Content
* Mapping of some sort and thus able to manage the
- * [EMAIL PROTECTED] Resource#getData() data field of the resource}.
+ * [EMAIL PROTECTED] Resource#getObject() data field of the resource}.
* <p>
* Any data modification operations executed through objects of this interface
* must be persisted explicitly by calling the [EMAIL PROTECTED] #save()}
method. Likewise
@@ -33,12 +33,12 @@
* Implementations of this interface will (of course) also implement the
methods
* of the base interface. In addition to just loading the [EMAIL PROTECTED]
Resource}
* instances, though, implementations of this interface are expected to also
try
- * to set the [EMAIL PROTECTED] Resource#getData() data field} of the resource
if possible.
+ * to set the [EMAIL PROTECTED] Resource#getObject() data field} of the
resource if possible.
*/
public interface ResourceManager extends ResourceResolver {
/**
- * Stores the [EMAIL PROTECTED] Resource#getData() resource data} mapping
the Java
+ * Stores the [EMAIL PROTECTED] Resource#getObject() resource data}
mapping the Java
* object back into the underlying persistence structure.
* <p>
* This method may be used to update existing data or to create new data in
@@ -58,7 +58,7 @@
/**
* Returns a <code>Resource</code> object whose
- * [EMAIL PROTECTED] Resource#getData() data field} is mapped from the
persistent data
+ * [EMAIL PROTECTED] Resource#getObject() data field} is mapped from the
persistent data
* to an instance of the given <code>type</code>. If persistent data can
* be found at the requested path which cannot be mapped into an object of
* the requested type a <code>ResourceNotFoundException</code> is thrown
Modified:
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java?rev=593070&r1=593069&r2=593070&view=diff
==============================================================================
---
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
(original)
+++
incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
Thu Nov 8 00:44:36 2007
@@ -103,8 +103,6 @@
* @throws java.security.AccessControlException if an item exists at the
* <code>path</code> but the session of this resource manager
* has no read access to the item.
- * @throws ResourceNotFoundException If no resource can be resolved at the
- * resolved path.
* @throws SlingException If an error occurrs trying to load the resource
* object from the path or if <code>base</code> is
* <code>null</code> and <code>path</code> is relative.