Update of /var/cvs/src/org/mmbase/storage
In directory james.mmbase.org:/tmp/cvs-serv20082/src/org/mmbase/storage

Modified Files:
      Tag: MMBase-1_8
        StorageManager.java 
Log Message:
MMB-1628  Even if using Node#getInputStream the complete blob is readed into 
memory first.

Do explicit check on database without loading the binary


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/storage
See also: http://www.mmbase.org/jira/browse/MMB-1628


Index: StorageManager.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/storage/StorageManager.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -b -r1.7 -r1.7.2.1
--- StorageManager.java 2 Oct 2005 16:16:43 -0000       1.7
+++ StorageManager.java 11 Apr 2008 15:18:30 -0000      1.7.2.1
@@ -20,7 +20,7 @@
  *
  * @author Pierre van Rooden
  * @since MMBase-1.7
- * @version $Id: StorageManager.java,v 1.7 2005/10/02 16:16:43 michiel Exp $
+ * @version $Id: StorageManager.java,v 1.7.2.1 2008/04/11 15:18:30 nklasens 
Exp $
  */
 public interface StorageManager {
 
@@ -212,5 +212,14 @@
      */
     public void delete(CoreField field) throws StorageException;
 
+    
+    /**
+     * Checks for null values for a field from the storage of this builder.
+     * @param node the node to check the value for
+     * @param field the CoreField
+     * @return <code>true</code> when value is null in storage
+     * @throws StorageException if an error occurred during the get
+     */
+    public boolean isNull(MMObjectNode node, CoreField field) throws 
StorageException;
 }
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to