jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r937313 [1/2] - in /jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3: ./ lock/ nodetype/ query/ query/qom/ retention/ security/ util/ version/
Date Fri, 23 Apr 2010 14:35:27 GMT
Author: thomasm
Date: Fri Apr 23 14:35:26 2010
New Revision: 937313

URL: http://svn.apache.org/viewvc?rev=937313&view=rev
Log:
Throw an exception for unimplemented features.

Modified:
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/BinaryImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/NodeImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/PropertyImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/SessionImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/WorkspaceImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockManagerImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/ItemDefinitionImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/NodeTypeManagerImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryManagerImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryResultImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/RowImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelFactoryImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/HoldImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionManagerImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionPolicyImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlEntryImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlManagerImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/util/Log.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionHistoryImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionImpl.java
    jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionManagerImpl.java

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/BinaryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/BinaryImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/BinaryImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/BinaryImpl.java Fri Apr 23 14:35:26 2010
@@ -63,7 +63,7 @@ public class BinaryImpl implements Binar
     }
 
     public int read(byte[] b, long position) throws IOException, RepositoryException {
-        log.code(this, "read", b, position);
+        log.codeTodo(this, "read", b, position);
         // TODO Auto-generated method stub
         return 0;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/NodeImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/NodeImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/NodeImpl.java Fri Apr 23 14:35:26 2010
@@ -515,197 +515,205 @@ public class NodeImpl implements Node, L
         return isNodeType(nt);
     }
 
+    public void save() throws AccessDeniedException, ItemExistsException, ConstraintViolationException,
+            InvalidItemStateException, ReferentialIntegrityException, VersionException, LockException,
+            NoSuchNodeTypeException, RepositoryException {
+        log.codeTodo(this, "save");
+        // TODO
+
+    }
+
     public Item getPrimaryItem() throws ItemNotFoundException, RepositoryException {
-        log.code(this, "getPrimaryItem");
+        log.codeTodo(this, "getPrimaryItem");
         // TODO
         return null;
     }
 
     public boolean canAddMixin(String mixinName) throws NoSuchNodeTypeException, RepositoryException {
-        log.code(this, "canAddMixin", mixinName);
+        log.codeTodo(this, "canAddMixin", mixinName);
         // TODO
         return false;
     }
 
     public void cancelMerge(Version version) throws VersionException, InvalidItemStateException,
             UnsupportedRepositoryOperationException, RepositoryException {
-        log.code(this, "cancelMerge", version);
+        log.codeTodo(this, "cancelMerge", version);
         // TODO
 
     }
 
     public Version checkin() throws VersionException, UnsupportedRepositoryOperationException,
             InvalidItemStateException, LockException, RepositoryException {
-        log.code(this, "checkin");
+        log.codeTodo(this, "checkin");
         // TODO
         return null;
     }
 
     public void checkout() throws UnsupportedRepositoryOperationException, LockException, ActivityViolationException,
             RepositoryException {
-        log.code(this, "checkout");
+        log.codeTodo(this, "checkout");
         // TODO
 
     }
 
     public void doneMerge(Version version) throws VersionException, InvalidItemStateException,
             UnsupportedRepositoryOperationException, RepositoryException {
-        log.code(this, "doneMerge", version);
+        log.codeTodo(this, "doneMerge", version);
         // TODO
 
     }
 
     public void followLifecycleTransition(String transition) throws UnsupportedRepositoryOperationException,
             InvalidLifecycleTransitionException, RepositoryException {
-        log.code(this, "followLifecycleTransition", transition);
+        log.codeTodo(this, "followLifecycleTransition", transition);
         // TODO
 
     }
 
     public String[] getAllowedLifecycleTransistions() throws UnsupportedRepositoryOperationException,
             RepositoryException {
-        log.code(this, "getAllowedLifecycleTransistions");
+        log.codeTodo(this, "getAllowedLifecycleTransistions");
         // TODO
         return null;
     }
 
     public Version getBaseVersion() throws UnsupportedRepositoryOperationException, RepositoryException {
-        log.code(this, "getBaseVersion");
+        log.codeTodo(this, "getBaseVersion");
         // TODO
         return null;
     }
 
     public String getCorrespondingNodePath(String workspaceName) throws ItemNotFoundException,
             NoSuchWorkspaceException, AccessDeniedException, RepositoryException {
-        log.code(this, "getCorrespondingNodePath", workspaceName);
+        log.codeTodo(this, "getCorrespondingNodePath", workspaceName);
         // TODO
         return null;
     }
 
     public NodeDefinition getDefinition() throws RepositoryException {
-        log.code(this, "getDefinition");
+        log.codeTodo(this, "getDefinition");
         // TODO
         return null;
     }
 
     public int getIndex() throws RepositoryException {
-        log.code(this, "getIndex");
+        log.codeTodo(this, "getIndex");
         // TODO
         return 0;
     }
 
     public Lock getLock() throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
             RepositoryException {
-        log.code(this, "getLock");
+        log.codeTodo(this, "getLock");
         // TODO
         return null;
     }
 
     public NodeIterator getNodes(String namePattern) throws RepositoryException {
-        log.code(this, "getNodes", namePattern);
+        log.codeTodo(this, "getNodes", namePattern);
         // TODO
         return null;
     }
 
     public NodeIterator getNodes(String[] nameGlobs) throws RepositoryException {
-        log.code(this, "getNodes", (Object) nameGlobs);
+        log.codeTodo(this, "getNodes", (Object) nameGlobs);
         // TODO
         return null;
     }
 
     public PropertyIterator getProperties(String namePattern) throws RepositoryException {
-        log.code(this, "getProperties", namePattern);
+        log.codeTodo(this, "getProperties", namePattern);
         // TODO
         return null;
     }
 
     public PropertyIterator getProperties(String[] nameGlobs) throws RepositoryException {
-        log.code(this, "getProperties", (Object) nameGlobs);
+        log.codeTodo(this, "getProperties", (Object) nameGlobs);
         // TODO
         return null;
     }
 
     public PropertyIterator getReferences() throws RepositoryException {
-        log.code(this, "getReferences");
+        log.codeTodo(this, "getReferences");
         // TODO
         return null;
     }
 
     public PropertyIterator getReferences(String name) throws RepositoryException {
-        log.code(this, "getReferences", name);
+        log.codeTodo(this, "getReferences", name);
         // TODO
         return null;
     }
 
     public NodeIterator getSharedSet() throws RepositoryException {
-        log.code(this, "getSharedSet");
+        log.codeTodo(this, "getSharedSet");
         // TODO
         return null;
     }
 
     public String getUUID() throws UnsupportedRepositoryOperationException, RepositoryException {
-        log.code(this, "getUUID");
+        log.codeTodo(this, "getUUID");
         // TODO
         return null;
     }
 
     public VersionHistory getVersionHistory() throws UnsupportedRepositoryOperationException, RepositoryException {
-        log.code(this, "getVersionHistory");
+        log.codeTodo(this, "getVersionHistory");
         // TODO
         return null;
     }
 
     public PropertyIterator getWeakReferences() throws RepositoryException {
-        log.code(this, "getWeakReferences");
+        log.codeTodo(this, "getWeakReferences");
         // TODO
         return null;
     }
 
     public PropertyIterator getWeakReferences(String name) throws RepositoryException {
-        log.code(this, "getWeakReferences", name);
+        log.codeTodo(this, "getWeakReferences", name);
         // TODO
         return null;
     }
 
     public boolean hasNodes() throws RepositoryException {
-        log.code(this, "hasNodes");
+        log.codeTodo(this, "hasNodes");
         // TODO
         return false;
     }
 
     public boolean hasProperties() throws RepositoryException {
-        log.code(this, "hasProperties");
+        log.codeTodo(this, "hasProperties");
         // TODO
         return false;
     }
 
     public boolean hasProperty(String relPath) throws RepositoryException {
-        log.code(this, "hasProperty", relPath);
+        log.codeTodo(this, "hasProperty", relPath);
         // TODO
         return false;
     }
 
     public boolean holdsLock() throws RepositoryException {
-        log.code(this, "holdsLock");
+        log.codeTodo(this, "holdsLock");
         // TODO
         return false;
     }
 
     public boolean isCheckedOut() throws RepositoryException {
-        log.code(this, "isCheckedOut");
+        log.codeTodo(this, "isCheckedOut");
         // TODO
         return false;
     }
 
     public boolean isLocked() throws RepositoryException {
-        log.code(this, "isLocked");
+        log.codeTodo(this, "isLocked");
         // TODO
         return false;
     }
 
     public NodeIterator merge(String srcWorkspace, boolean bestEffort) throws NoSuchWorkspaceException,
             AccessDeniedException, MergeException, LockException, InvalidItemStateException, RepositoryException {
-        log.code(this, "merge", srcWorkspace, bestEffort);
+        log.codeTodo(this, "merge", srcWorkspace, bestEffort);
         // TODO
         return null;
     }
@@ -713,41 +721,41 @@ public class NodeImpl implements Node, L
     public void orderBefore(String srcChildRelPath, String destChildRelPath)
             throws UnsupportedRepositoryOperationException, VersionException, ConstraintViolationException,
             ItemNotFoundException, LockException, RepositoryException {
-        log.code(this, "orderBefore", srcChildRelPath, destChildRelPath);
+        log.codeTodo(this, "orderBefore", srcChildRelPath, destChildRelPath);
         // TODO
 
     }
 
     public void removeMixin(String mixinName) throws NoSuchNodeTypeException, VersionException,
             ConstraintViolationException, LockException, RepositoryException {
-        log.code(this, "removeMixin", mixinName);
+        log.codeTodo(this, "removeMixin", mixinName);
         // TODO
 
     }
 
     public void removeShare() throws VersionException, LockException, ConstraintViolationException, RepositoryException {
-        log.code(this, "removeShare");
+        log.codeTodo(this, "removeShare");
         // TODO
 
     }
 
     public void removeSharedSet() throws VersionException, LockException, ConstraintViolationException,
             RepositoryException {
-        log.code(this, "removeSharedSet");
+        log.codeTodo(this, "removeSharedSet");
         // TODO
 
     }
 
     public void restore(String versionName, boolean removeExisting) throws VersionException, ItemExistsException,
             UnsupportedRepositoryOperationException, LockException, InvalidItemStateException, RepositoryException {
-        log.code(this, "restore", versionName, removeExisting);
+        log.codeTodo(this, "restore", versionName, removeExisting);
         // TODO
 
     }
 
     public void restore(Version version, boolean removeExisting) throws VersionException, ItemExistsException,
             InvalidItemStateException, UnsupportedRepositoryOperationException, LockException, RepositoryException {
-        log.code(this, "restore", version, removeExisting);
+        log.codeTodo(this, "restore", version, removeExisting);
         // TODO
 
     }
@@ -755,7 +763,7 @@ public class NodeImpl implements Node, L
     public void restore(Version version, String relPath, boolean removeExisting) throws PathNotFoundException,
             ItemExistsException, VersionException, ConstraintViolationException,
             UnsupportedRepositoryOperationException, LockException, InvalidItemStateException, RepositoryException {
-        log.code(this, "restore", version, relPath, removeExisting);
+        log.codeTodo(this, "restore", version, relPath, removeExisting);
         // TODO
 
     }
@@ -763,126 +771,118 @@ public class NodeImpl implements Node, L
     public void restoreByLabel(String versionLabel, boolean removeExisting) throws VersionException,
             ItemExistsException, UnsupportedRepositoryOperationException, LockException, InvalidItemStateException,
             RepositoryException {
-        log.code(this, "restoreByLabel", versionLabel, removeExisting);
+        log.codeTodo(this, "restoreByLabel", versionLabel, removeExisting);
         // TODO
 
     }
 
     public void setPrimaryType(String nodeTypeName) throws NoSuchNodeTypeException, VersionException,
             ConstraintViolationException, LockException, RepositoryException {
-        log.code(this, "setPrimaryType", nodeTypeName);
+        log.codeTodo(this, "setPrimaryType", nodeTypeName);
         // TODO
 
     }
 
     public Property setProperty(String name, Value value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setProperty", name, value);
+        log.codeTodo(this, "setProperty", name, value);
         // TODO
         return null;
     }
 
     public Property setProperty(String name, Value[] values) throws ValueFormatException, VersionException,
             LockException, ConstraintViolationException, RepositoryException {
-        log.code(this, "setProperty", name, values);
+        log.codeTodo(this, "setProperty", name, values);
         // TODO
         return null;
     }
 
     public Property setProperty(String name, String[] values) throws ValueFormatException, VersionException,
             LockException, ConstraintViolationException, RepositoryException {
-        log.code(this, "setProperty", name, values);
+        log.codeTodo(this, "setProperty", name, values);
         // TODO
         return null;
     }
 
     public Property setProperty(String name, Value value, int type) throws ValueFormatException, VersionException,
             LockException, ConstraintViolationException, RepositoryException {
-        log.code(this, "setProperty", name, value, type);
+        log.codeTodo(this, "setProperty", name, value, type);
         // TODO
         return null;
     }
 
     public Property setProperty(String name, Value[] values, int type) throws ValueFormatException, VersionException,
             LockException, ConstraintViolationException, RepositoryException {
-        log.code(this, "setProperty", name, values, type);
+        log.codeTodo(this, "setProperty", name, values, type);
         // TODO
         return null;
     }
 
     public Property setProperty(String name, String[] values, int type) throws ValueFormatException, VersionException,
             LockException, ConstraintViolationException, RepositoryException {
-        log.code(this, "setProperty", name, values, type);
+        log.codeTodo(this, "setProperty", name, values, type);
         // TODO
         return null;
     }
 
     public void unlock() throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
             InvalidItemStateException, RepositoryException {
-        log.code(this, "unlock");
+        log.codeTodo(this, "unlock");
         // TODO
 
     }
 
     public void update(String srcWorkspace) throws NoSuchWorkspaceException, AccessDeniedException, LockException,
             InvalidItemStateException, RepositoryException {
-        log.code(this, "update", srcWorkspace);
+        log.codeTodo(this, "update", srcWorkspace);
         // TODO
 
     }
 
     public void accept(ItemVisitor visitor) throws RepositoryException {
-        log.code(this, "accept", visitor);
+        log.codeTodo(this, "accept", visitor);
         // TODO
 
     }
 
     public Item getAncestor(int depth) throws ItemNotFoundException, AccessDeniedException, RepositoryException {
-        log.code(this, "getAncestor", depth);
+        log.codeTodo(this, "getAncestor", depth);
         // TODO
         return null;
     }
 
     public int getDepth() throws RepositoryException {
-        log.code(this, "getDepth");
+        log.codeTodo(this, "getDepth");
         // TODO
         return 0;
     }
 
     public boolean isModified() {
-        log.code(this, "isModified");
+        log.codeTodo(this, "isModified");
         // TODO
         return false;
     }
 
     public boolean isNew() {
-        log.code(this, "isNew");
+        log.codeTodo(this, "isNew");
         // TODO
         return false;
     }
 
     public boolean isNode() {
-        log.code(this, "isNode");
+        log.codeTodo(this, "isNode");
         // TODO
         return false;
     }
 
     public boolean isSame(Item otherItem) throws RepositoryException {
-        log.code(this, "isSame", otherItem);
+        log.codeTodo(this, "isSame", otherItem);
         // TODO
         return false;
     }
 
     public void refresh(boolean keepChanges) throws InvalidItemStateException, RepositoryException {
-        log.code(this, "refresh", keepChanges);
-        // TODO
-
-    }
-
-    public void save() throws AccessDeniedException, ItemExistsException, ConstraintViolationException,
-            InvalidItemStateException, ReferentialIntegrityException, VersionException, LockException,
-            NoSuchNodeTypeException, RepositoryException {
-        log.code(this, "save");
+        log.codeTodo(this, "refresh", keepChanges);
         // TODO
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/PropertyImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/PropertyImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/PropertyImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/PropertyImpl.java Fri Apr 23 14:35:26 2010
@@ -131,189 +131,188 @@ public class PropertyImpl implements Pro
     }
 
     public NodeImpl getNode() throws ItemNotFoundException, ValueFormatException, RepositoryException {
-        log.code(this, "getNode");
+        log.codeTodo(this, "getNode");
         // TODO
         // for reference properties
         return null;
     }
 
     public PropertyDefinition getDefinition() throws RepositoryException {
-        log.code(this, "getDefinition");
+        log.codeTodo(this, "getDefinition");
         // TODO
         return null;
     }
 
     public long[] getLengths() throws ValueFormatException, RepositoryException {
-        log.code(this, "getLengths");
+        log.codeTodo(this, "getLengths");
         // TODO
         return null;
     }
 
     public Property getProperty() throws ItemNotFoundException, ValueFormatException, RepositoryException {
-        log.code(this, "getProperty");
+        log.codeTodo(this, "getProperty");
         // TODO
         return null;
     }
 
     public InputStream getStream() throws ValueFormatException, RepositoryException {
-        log.code(this, "getStream");
+        log.codeTodo(this, "getStream");
         // TODO
         return null;
     }
 
     public int getType() throws RepositoryException {
         log.code(this, "getType");
-        // TODO
-        return 0;
+        return getVal().getType();
     }
 
     public Value[] getValues() throws ValueFormatException, RepositoryException {
-        log.code(this, "getValues");
+        log.codeTodo(this, "getValues");
         // TODO
         return null;
     }
 
     public boolean isMultiple() throws RepositoryException {
-        log.code(this, "isMultiple");
+        log.codeTodo(this, "isMultiple");
         // TODO
         return false;
     }
 
     public void setValue(Value value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(Value[] values) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", (Object) values);
+        log.codeTodo(this, "setValue", (Object) values);
         // TODO
 
     }
 
     public void setValue(String value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(String[] values) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", (Object) values);
+        log.codeTodo(this, "setValue", (Object) values);
         // TODO
 
     }
 
     public void setValue(InputStream value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(Binary value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(long value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(double value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(BigDecimal value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(Calendar value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(boolean value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void setValue(Node value) throws ValueFormatException, VersionException, LockException,
             ConstraintViolationException, RepositoryException {
-        log.code(this, "setValue", value);
+        log.codeTodo(this, "setValue", value);
         // TODO
 
     }
 
     public void accept(ItemVisitor visitor) throws RepositoryException {
-        log.code(this, "accept", visitor);
+        log.codeTodo(this, "accept", visitor);
         // TODO
 
     }
 
     public Item getAncestor(int depth) throws ItemNotFoundException, AccessDeniedException, RepositoryException {
-        log.code(this, "getAncestor", depth);
+        log.codeTodo(this, "getAncestor", depth);
         // TODO
         return null;
     }
 
     public int getDepth() throws RepositoryException {
-        log.code(this, "getDepth");
+        log.codeTodo(this, "getDepth");
         // TODO
         return 0;
     }
 
     public String getPath() throws RepositoryException {
-        log.code(this, "getPath");
+        log.codeTodo(this, "getPath");
         // TODO
         return null;
     }
 
     public boolean isModified() {
-        log.code(this, "isModified");
+        log.codeTodo(this, "isModified");
         // TODO
         return false;
     }
 
     public boolean isNew() {
-        log.code(this, "isNew");
+        log.codeTodo(this, "isNew");
         // TODO
         return false;
     }
 
     public boolean isSame(Item otherItem) throws RepositoryException {
-        log.code(this, "isSame", otherItem);
+        log.codeTodo(this, "isSame", otherItem);
         // TODO
         return false;
     }
 
     public void refresh(boolean keepChanges) throws InvalidItemStateException, RepositoryException {
-        log.code(this, "refresh", keepChanges);
+        log.codeTodo(this, "refresh", keepChanges);
         // TODO
 
     }
 
     public void remove() throws VersionException, LockException, ConstraintViolationException, AccessDeniedException,
             RepositoryException {
-        log.code(this, "remove");
+        log.codeTodo(this, "remove");
         // TODO
 
     }
@@ -321,7 +320,7 @@ public class PropertyImpl implements Pro
     public void save() throws AccessDeniedException, ItemExistsException, ConstraintViolationException,
             InvalidItemStateException, ReferentialIntegrityException, VersionException, LockException,
             NoSuchNodeTypeException, RepositoryException {
-        log.code(this, "save");
+        log.codeTodo(this, "save");
         // TODO
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/SessionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/SessionImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/SessionImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/SessionImpl.java Fri Apr 23 14:35:26 2010
@@ -466,90 +466,90 @@ public class SessionImpl implements Jack
     }
 
     public void addLockToken(String lt) {
-        log.code(this, "addLockToken", lt);
+        log.codeTodo(this, "addLockToken", lt);
         // TODO Auto-generated method stub
 
     }
 
     public void checkPermission(String absPath, String actions) throws AccessControlException, RepositoryException {
-        log.code(this, "checkPermission", absPath, actions);
+        log.codeTodo(this, "checkPermission", absPath, actions);
         // TODO Auto-generated method stub
 
     }
 
     public void exportDocumentView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
             throws PathNotFoundException, SAXException, RepositoryException {
-        log.code(this, "exportDocumentView", absPath, contentHandler, skipBinary, noRecurse);
+        log.codeTodo(this, "exportDocumentView", absPath, contentHandler, skipBinary, noRecurse);
         // TODO Auto-generated method stub
 
     }
 
     public void exportDocumentView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
             throws IOException, PathNotFoundException, RepositoryException {
-        log.code(this, "exportDocumentView", absPath, out, skipBinary, noRecurse);
+        log.codeTodo(this, "exportDocumentView", absPath, out, skipBinary, noRecurse);
         // TODO Auto-generated method stub
 
     }
 
     public void exportSystemView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
             throws PathNotFoundException, SAXException, RepositoryException {
-        log.code(this, "exportSystemView", absPath, contentHandler, skipBinary, noRecurse);
+        log.codeTodo(this, "exportSystemView", absPath, contentHandler, skipBinary, noRecurse);
         // TODO Auto-generated method stub
 
     }
 
     public void exportSystemView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
             throws IOException, PathNotFoundException, RepositoryException {
-        log.code(this, "exportSystemView", absPath, out, skipBinary, noRecurse);
+        log.codeTodo(this, "exportSystemView", absPath, out, skipBinary, noRecurse);
         // TODO Auto-generated method stub
 
     }
 
     public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior) throws PathNotFoundException,
             ConstraintViolationException, VersionException, LockException, RepositoryException {
-        log.code(this, "getImportContentHandler", parentAbsPath, uuidBehavior);
+        log.codeTodo(this, "getImportContentHandler", parentAbsPath, uuidBehavior);
         // TODO Auto-generated method stub
         return null;
     }
 
     public Item getItem(String absPath) throws PathNotFoundException, RepositoryException {
-        log.code(this, "getItem", absPath);
+        log.codeTodo(this, "getItem", absPath);
         // TODO Auto-generated method stub
         return null;
     }
 
     public String[] getLockTokens() {
-        log.code(this, "getLockTokens");
+        log.codeTodo(this, "getLockTokens");
         // TODO Auto-generated method stub
         return null;
     }
 
     public Node getNodeByUUID(String uuid) throws ItemNotFoundException, RepositoryException {
-        log.code(this, "getNodeByUUID", uuid);
+        log.codeTodo(this, "getNodeByUUID", uuid);
         // TODO Auto-generated method stub
         return null;
     }
 
     public Property getProperty(String absPath) throws PathNotFoundException, RepositoryException {
-        log.code(this, "getProperty", absPath);
+        log.codeTodo(this, "getProperty", absPath);
         // TODO Auto-generated method stub
         return null;
     }
 
     public boolean hasCapability(String methodName, Object target, Object[] arguments) throws RepositoryException {
-        log.code(this, "hasCapability", methodName, target, arguments);
+        log.codeTodo(this, "hasCapability", methodName, target, arguments);
         // TODO Auto-generated method stub
         return false;
     }
 
     public boolean hasPermission(String absPath, String actions) throws RepositoryException {
-        log.code(this, "hasPermission", absPath, actions);
+        log.codeTodo(this, "hasPermission", absPath, actions);
         // TODO Auto-generated method stub
         return false;
     }
 
     public Session impersonate(Credentials credentials) throws LoginException, RepositoryException {
-        log.code(this, "impersonate", credentials);
+        log.codeTodo(this, "impersonate", credentials);
         // TODO Auto-generated method stub
         return null;
     }
@@ -557,45 +557,45 @@ public class SessionImpl implements Jack
     public void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException,
             PathNotFoundException, ItemExistsException, ConstraintViolationException, VersionException,
             InvalidSerializedDataException, LockException, RepositoryException {
-        log.code(this, "importXML", parentAbsPath, in, uuidBehavior);
+        log.codeTodo(this, "importXML", parentAbsPath, in, uuidBehavior);
         // TODO Auto-generated method stub
 
     }
 
     public boolean itemExists(String absPath) throws RepositoryException {
-        log.code(this, "itemExists", absPath);
+        log.codeTodo(this, "itemExists", absPath);
         // TODO Auto-generated method stub
         return false;
     }
 
     public void move(String srcAbsPath, String destAbsPath) throws ItemExistsException, PathNotFoundException,
             VersionException, ConstraintViolationException, LockException, RepositoryException {
-        log.code(this, "move", srcAbsPath, destAbsPath);
+        log.codeTodo(this, "move", srcAbsPath, destAbsPath);
         // TODO Auto-generated method stub
 
     }
 
     public boolean nodeExists(String absPath) throws RepositoryException {
-        log.code(this, "nodeExists", absPath);
+        log.codeTodo(this, "nodeExists", absPath);
         // TODO Auto-generated method stub
         return false;
     }
 
     public boolean propertyExists(String absPath) throws RepositoryException {
-        log.code(this, "propertyExists", absPath);
+        log.codeTodo(this, "propertyExists", absPath);
         // TODO Auto-generated method stub
         return false;
     }
 
     public void removeItem(String absPath) throws VersionException, LockException, ConstraintViolationException,
             AccessDeniedException, RepositoryException {
-        log.code(this, "removeItem", absPath);
+        log.codeTodo(this, "removeItem", absPath);
         // TODO Auto-generated method stub
 
     }
 
     public void removeLockToken(String lt) {
-        log.code(this, "removeLockToken", lt);
+        log.codeTodo(this, "removeLockToken", lt);
         // TODO Auto-generated method stub
 
     }
@@ -606,19 +606,19 @@ public class SessionImpl implements Jack
     }
 
     public void end(Xid xid, int onePhase) throws XAException {
-        log.code(this, "end", xid, onePhase);
+        log.codeTodo(this, "end", xid, onePhase);
         // TODO Auto-generated method stub
 
     }
 
     public void forget(Xid xid) throws XAException {
-        log.code(this, "forget", xid);
+        log.codeTodo(this, "forget", xid);
         // TODO Auto-generated method stub
 
     }
 
     public int getTransactionTimeout() throws XAException {
-        log.code(this, "getTransactionTimeout");
+        log.codeTodo(this, "getTransactionTimeout");
         // TODO Auto-generated method stub
         return 0;
     }
@@ -639,31 +639,31 @@ public class SessionImpl implements Jack
     }
 
     public int prepare(Xid xid) throws XAException {
-        log.code(this, "prepare", xid);
+        log.codeTodo(this, "prepare", xid);
         // TODO Auto-generated method stub
         return 0;
     }
 
     public Xid[] recover(int flag) throws XAException {
-        log.code(this, "recover", flag);
+        log.codeTodo(this, "recover", flag);
         // TODO Auto-generated method stub
         return null;
     }
 
     public void rollback(Xid xid) throws XAException {
-        log.code(this, "rollback", xid);
+        log.codeTodo(this, "rollback", xid);
         // TODO Auto-generated method stub
 
     }
 
     public boolean setTransactionTimeout(int seconds) throws XAException {
-        log.code(this, "setTransactionTimeout", seconds);
+        log.codeTodo(this, "setTransactionTimeout", seconds);
         // TODO Auto-generated method stub
         return false;
     }
 
     public void start(Xid xid, int flags) throws XAException {
-        log.code(this, "start", xid, flags);
+        log.codeTodo(this, "start", xid, flags);
         // TODO Auto-generated method stub
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/WorkspaceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/WorkspaceImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/WorkspaceImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/WorkspaceImpl.java Fri Apr 23 14:35:26 2010
@@ -105,14 +105,14 @@ public class WorkspaceImpl implements Wo
     public void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting)
             throws NoSuchWorkspaceException, ConstraintViolationException, VersionException, AccessDeniedException,
             PathNotFoundException, ItemExistsException, LockException, RepositoryException {
-        log.code(this, "clone", srcWorkspace, srcAbsPath, destAbsPath, removeExisting);
+        log.codeTodo(this, "clone", srcWorkspace, srcAbsPath, destAbsPath, removeExisting);
         // TODO Auto-generated method stub
 
     }
 
     public void copy(String srcAbsPath, String destAbsPath) throws ConstraintViolationException, VersionException,
             AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException {
-        log.code(this, "copy", srcAbsPath, destAbsPath);
+        log.codeTodo(this, "copy", srcAbsPath, destAbsPath);
         // TODO Auto-generated method stub
 
     }
@@ -120,41 +120,41 @@ public class WorkspaceImpl implements Wo
     public void copy(String srcWorkspace, String srcAbsPath, String destAbsPath) throws NoSuchWorkspaceException,
             ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException,
             ItemExistsException, LockException, RepositoryException {
-        log.code(this, "copy", srcWorkspace, srcAbsPath, destAbsPath);
+        log.codeTodo(this, "copy", srcWorkspace, srcAbsPath, destAbsPath);
         // TODO Auto-generated method stub
 
     }
 
     public void createWorkspace(String name) throws AccessDeniedException, UnsupportedRepositoryOperationException,
             RepositoryException {
-        log.code(this, "createWorkspace", name);
+        log.codeTodo(this, "createWorkspace", name);
         // TODO Auto-generated method stub
 
     }
 
     public void createWorkspace(String name, String srcWorkspace) throws AccessDeniedException,
             UnsupportedRepositoryOperationException, NoSuchWorkspaceException, RepositoryException {
-        log.code(this, "createWorkspace", name, srcWorkspace);
+        log.codeTodo(this, "createWorkspace", name, srcWorkspace);
         // TODO Auto-generated method stub
 
     }
 
     public void deleteWorkspace(String name) throws AccessDeniedException, UnsupportedRepositoryOperationException,
             NoSuchWorkspaceException, RepositoryException {
-        log.code(this, "deleteWorkspace", name);
+        log.codeTodo(this, "deleteWorkspace", name);
         // TODO Auto-generated method stub
 
     }
 
     public String[] getAccessibleWorkspaceNames() throws RepositoryException {
-        log.code(this, "getAccessibleWorkspaceNames");
+        log.codeTodo(this, "getAccessibleWorkspaceNames");
         // TODO Auto-generated method stub
         return null;
     }
 
     public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior) throws PathNotFoundException,
             ConstraintViolationException, VersionException, LockException, AccessDeniedException, RepositoryException {
-        log.code(this, "getImportContentHandler", parentAbsPath, uuidBehavior);
+        log.codeTodo(this, "getImportContentHandler", parentAbsPath, uuidBehavior);
         // TODO Auto-generated method stub
         return null;
     }
@@ -162,14 +162,14 @@ public class WorkspaceImpl implements Wo
     public void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException, VersionException,
             PathNotFoundException, ItemExistsException, ConstraintViolationException, InvalidSerializedDataException,
             LockException, AccessDeniedException, RepositoryException {
-        log.code(this, "importXML", parentAbsPath, in, uuidBehavior);
+        log.codeTodo(this, "importXML", parentAbsPath, in, uuidBehavior);
         // TODO Auto-generated method stub
 
     }
 
     public void move(String srcAbsPath, String destAbsPath) throws ConstraintViolationException, VersionException,
             AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException {
-        log.code(this, "move", srcAbsPath, destAbsPath);
+        log.codeTodo(this, "move", srcAbsPath, destAbsPath);
         // TODO Auto-generated method stub
 
     }
@@ -177,7 +177,7 @@ public class WorkspaceImpl implements Wo
     public void restore(Version[] versions, boolean removeExisting) throws ItemExistsException,
             UnsupportedRepositoryOperationException, VersionException, LockException, InvalidItemStateException,
             RepositoryException {
-        log.code(this, "restore",  versions, removeExisting);
+        log.codeTodo(this, "restore",  versions, removeExisting);
         // TODO Auto-generated method stub
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockImpl.java Fri Apr 23 14:35:26 2010
@@ -63,37 +63,37 @@ public class LockImpl implements Lock, L
     }
 
     public String getLockOwner() {
-        log.code(this, "getLockOwner");
+        log.codeTodo(this, "getLockOwner");
         // TODO Auto-generated method stub
         return null;
     }
 
     public String getLockToken() {
-        log.code(this, "getLockToken");
+        log.codeTodo(this, "getLockToken");
         // TODO Auto-generated method stub
         return null;
     }
 
     public long getSecondsRemaining() throws RepositoryException {
-        log.code(this, "getSecondsRemaining");
+        log.codeTodo(this, "getSecondsRemaining");
         // TODO Auto-generated method stub
         return 0;
     }
 
     public boolean isLive() throws RepositoryException {
-        log.code(this, "isLive");
+        log.codeTodo(this, "isLive");
         // TODO Auto-generated method stub
         return false;
     }
 
     public boolean isLockOwningSession() {
-        log.code(this, "isLockOwningSession");
+        log.codeTodo(this, "isLockOwningSession");
         // TODO Auto-generated method stub
         return false;
     }
 
     public void refresh() throws LockException, RepositoryException {
-        log.code(this, "refresh");
+        log.codeTodo(this, "refresh");
         // TODO Auto-generated method stub
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockManagerImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockManagerImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/lock/LockManagerImpl.java Fri Apr 23 14:35:26 2010
@@ -70,38 +70,38 @@ public class LockManagerImpl implements 
 
     public Lock getLock(String absPath) throws PathNotFoundException, LockException, AccessDeniedException,
             RepositoryException {
-        log.code(this, "getLock", absPath);
+        log.codeTodo(this, "getLock", absPath);
         // TODO Auto-generated method stub
         return null;
     }
 
     public String[] getLockTokens() throws RepositoryException {
-        log.code(this, "getLockTokens");
+        log.codeTodo(this, "getLockTokens");
         // TODO Auto-generated method stub
         return null;
     }
 
     public boolean holdsLock(String absPath) throws PathNotFoundException, RepositoryException {
-        log.code(this, "holdsLock", absPath);
+        log.codeTodo(this, "holdsLock", absPath);
         // TODO Auto-generated method stub
         return false;
     }
 
     public boolean isLocked(String absPath) throws PathNotFoundException, RepositoryException {
-        log.code(this, "isLocked", absPath);
+        log.codeTodo(this, "isLocked", absPath);
         // TODO Auto-generated method stub
         return false;
     }
 
     public void removeLockToken(String lockToken) throws LockException, RepositoryException {
-        log.code(this, "removeLockToken", lockToken);
+        log.codeTodo(this, "removeLockToken", lockToken);
         // TODO Auto-generated method stub
 
     }
 
     public void unlock(String absPath) throws PathNotFoundException, LockException, AccessDeniedException,
             InvalidItemStateException, RepositoryException {
-        log.code(this, "unlock", absPath);
+        log.codeTodo(this, "unlock", absPath);
         // TODO Auto-generated method stub
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/ItemDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/ItemDefinitionImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/ItemDefinitionImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/ItemDefinitionImpl.java Fri Apr 23 14:35:26 2010
@@ -42,7 +42,7 @@ public class ItemDefinitionImpl implemen
     }
 
     public NodeType getDeclaringNodeType() {
-        log.code(this, "getDeclaringNodeType");
+        log.codeTodo(this, "getDeclaringNodeType");
         // TODO Auto-generated method stub
         return null;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/NodeTypeManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/NodeTypeManagerImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/NodeTypeManagerImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/nodetype/NodeTypeManagerImpl.java Fri Apr 23 14:35:26 2010
@@ -122,7 +122,7 @@ public class NodeTypeManagerImpl impleme
     public NodeTypeIterator registerNodeTypes(NodeTypeDefinition[] ntds, boolean allowUpdate)
             throws InvalidNodeTypeDefinitionException, NodeTypeExistsException,
             UnsupportedRepositoryOperationException, RepositoryException {
-        log.code(this, "registerNodeTypes", ntds, allowUpdate);
+        log.codeTodo(this, "registerNodeTypes", ntds, allowUpdate);
         // TODO check conflicts
         ArrayList<NodeTypeImpl> list = new ArrayList<NodeTypeImpl>();
         for (NodeTypeDefinition def : ntds) {

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryManagerImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryManagerImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryManagerImpl.java Fri Apr 23 14:35:26 2010
@@ -66,13 +66,13 @@ public class QueryManagerImpl implements
     }
 
     public Query getQuery(Node node) throws InvalidQueryException, RepositoryException {
-        log.code(this, "getQuery");
+        log.codeTodo(this, "getQuery");
         // TODO Auto-generated method stub
         return null;
     }
 
     public String[] getSupportedQueryLanguages() throws RepositoryException {
-        log.code(this, "getSupportedQueryLanguages");
+        log.codeTodo(this, "getSupportedQueryLanguages");
         // TODO the list is mutable
         return SUPPOERTED_QUERY_LANGUAGES;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryResultImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryResultImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryResultImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/QueryResultImpl.java Fri Apr 23 14:35:26 2010
@@ -35,25 +35,25 @@ public class QueryResultImpl implements 
     }
 
     public String[] getColumnNames() throws RepositoryException {
-        log.code(this, "getColumnNames");
+        log.codeTodo(this, "getColumnNames");
         // TODO Auto-generated method stub
         return null;
     }
 
     public NodeIterator getNodes() throws RepositoryException {
-        log.code(this, "getNodes");
+        log.codeTodo(this, "getNodes");
         // TODO Auto-generated method stub
         return null;
     }
 
     public RowIterator getRows() throws RepositoryException {
-        log.code(this, "getRows");
+        log.codeTodo(this, "getRows");
         // TODO Auto-generated method stub
         return null;
     }
 
     public String[] getSelectorNames() throws RepositoryException {
-        log.code(this, "getSelectorNames");
+        log.codeTodo(this, "getSelectorNames");
         // TODO Auto-generated method stub
         return null;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/RowImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/RowImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/RowImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/RowImpl.java Fri Apr 23 14:35:26 2010
@@ -36,49 +36,49 @@ public class RowImpl implements Row, Log
     }
 
     public Node getNode() throws RepositoryException {
-        log.code(this, "getNode");
+        log.codeTodo(this, "getNode");
         // TODO
         return null;
     }
 
     public Node getNode(String selectorName) throws RepositoryException {
-        log.code(this, "getNode", selectorName);
+        log.codeTodo(this, "getNode", selectorName);
         // TODO
         return null;
     }
 
     public String getPath() throws RepositoryException {
-        log.code(this, "getPath");
+        log.codeTodo(this, "getPath");
         // TODO
         return null;
     }
 
     public String getPath(String selectorName) throws RepositoryException {
-        log.code(this, "getPath", selectorName);
+        log.codeTodo(this, "getPath", selectorName);
         // TODO
         return null;
     }
 
     public double getScore() throws RepositoryException {
-        log.code(this, "getScore");
+        log.codeTodo(this, "getScore");
         // TODO
         return 0;
     }
 
     public double getScore(String selectorName) throws RepositoryException {
-        log.code(this, "getScore", selectorName);
+        log.codeTodo(this, "getScore", selectorName);
         // TODO
         return 0;
     }
 
     public Value getValue(String columnName) throws ItemNotFoundException, RepositoryException {
-        log.code(this, "getValue", columnName);
+        log.codeTodo(this, "getValue", columnName);
         // TODO
         return null;
     }
 
     public Value[] getValues() throws RepositoryException {
-        log.code(this, "getValues");
+        log.codeTodo(this, "getValues");
         // TODO
         return null;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelFactoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelFactoryImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelFactoryImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelFactoryImpl.java Fri Apr 23 14:35:26 2010
@@ -82,165 +82,165 @@ public class QueryObjectModelFactoryImpl
     }
 
     public ChildNode childNode(String selectorName, String path) throws InvalidQueryException, RepositoryException {
-        log.code(this, "childNode", path);
+        log.codeTodo(this, "childNode", path);
         // TODO
         return null;
     }
 
     public ChildNodeJoinCondition childNodeJoinCondition(String childSelectorName, String parentSelectorName)
             throws InvalidQueryException, RepositoryException {
-        log.code(this, "childNodeJoinCondition", childSelectorName, parentSelectorName);
+        log.codeTodo(this, "childNodeJoinCondition", childSelectorName, parentSelectorName);
         // TODO
         return null;
     }
 
     public Column column(String selectorName, String propertyName, String columnName) throws InvalidQueryException,
             RepositoryException {
-        log.code(this, "column", selectorName, propertyName, columnName);
+        log.codeTodo(this, "column", selectorName, propertyName, columnName);
         // TODO
         return null;
     }
 
     public Comparison comparison(DynamicOperand operand1, String operator, StaticOperand operand2)
             throws InvalidQueryException, RepositoryException {
-        log.code(this, "comparison", operand1, operator, operand2);
+        log.codeTodo(this, "comparison", operand1, operator, operand2);
         // TODO
         return null;
     }
 
     public QueryObjectModel createQuery(Source source, Constraint constraint, Ordering[] orderings, Column[] columns)
             throws InvalidQueryException, RepositoryException {
-        log.code(this, "createQuery", source, constraint, orderings, columns);
+        log.codeTodo(this, "createQuery", source, constraint, orderings, columns);
         // TODO
         return null;
     }
 
     public DescendantNode descendantNode(String selectorName, String path) throws InvalidQueryException,
             RepositoryException {
-        log.code(this, "descendantNode", path);
+        log.codeTodo(this, "descendantNode", path);
         // TODO
         return null;
     }
 
     public DescendantNodeJoinCondition descendantNodeJoinCondition(String descendantSelectorName,
             String ancestorSelectorName) throws InvalidQueryException, RepositoryException {
-        log.code(this, "descendantNodeJoinCondition", ancestorSelectorName);
+        log.codeTodo(this, "descendantNodeJoinCondition", ancestorSelectorName);
         // TODO
         return null;
     }
 
     public Ordering descending(DynamicOperand operand) throws InvalidQueryException, RepositoryException {
-        log.code(this, "descending", operand);
+        log.codeTodo(this, "descending", operand);
         // TODO
         return null;
     }
 
     public EquiJoinCondition equiJoinCondition(String selector1Name, String property1Name, String selector2Name,
             String property2Name) throws InvalidQueryException, RepositoryException {
-        log.code(this, "equiJoinCondition", selector1Name, property1Name, selector2Name, property2Name);
+        log.codeTodo(this, "equiJoinCondition", selector1Name, property1Name, selector2Name, property2Name);
         // TODO
         return null;
     }
 
     public FullTextSearch fullTextSearch(String selectorName, String propertyName,
             StaticOperand fullTextSearchExpression) throws InvalidQueryException, RepositoryException {
-        log.code(this, "fullTextSearch", selectorName, propertyName, fullTextSearchExpression);
+        log.codeTodo(this, "fullTextSearch", selectorName, propertyName, fullTextSearchExpression);
         // TODO
         return null;
     }
 
     public FullTextSearchScore fullTextSearchScore(String selectorName) throws InvalidQueryException,
             RepositoryException {
-        log.code(this, "fullTextSearchScore", selectorName);
+        log.codeTodo(this, "fullTextSearchScore", selectorName);
         // TODO
         return null;
     }
 
     public Join join(Source left, Source right, String joinType, JoinCondition joinCondition)
             throws InvalidQueryException, RepositoryException {
-        log.code(this, "join", left, right, joinType, joinCondition);
+        log.codeTodo(this, "join", left, right, joinType, joinCondition);
         // TODO
         return null;
     }
 
     public Length length(PropertyValue propertyValue) throws InvalidQueryException, RepositoryException {
-        log.code(this, "length", propertyValue);
+        log.codeTodo(this, "length", propertyValue);
         // TODO
         return null;
     }
 
     public Literal literal(Value literalValue) throws InvalidQueryException, RepositoryException {
-        log.code(this, "literal", literalValue);
+        log.codeTodo(this, "literal", literalValue);
         // TODO
         return null;
     }
 
     public LowerCase lowerCase(DynamicOperand operand) throws InvalidQueryException, RepositoryException {
-        log.code(this, "lowerCase", operand);
+        log.codeTodo(this, "lowerCase", operand);
         // TODO
         return null;
     }
 
     public NodeLocalName nodeLocalName(String selectorName) throws InvalidQueryException, RepositoryException {
-        log.code(this, "nodeLocalName", selectorName);
+        log.codeTodo(this, "nodeLocalName", selectorName);
         // TODO
         return null;
     }
 
     public NodeName nodeName(String selectorName) throws InvalidQueryException, RepositoryException {
-        log.code(this, "nodeName", selectorName);
+        log.codeTodo(this, "nodeName", selectorName);
         // TODO
         return null;
     }
 
     public Not not(Constraint constraint) throws InvalidQueryException, RepositoryException {
-        log.code(this, "not", constraint);
+        log.codeTodo(this, "not", constraint);
         // TODO
         return null;
     }
 
     public Or or(Constraint constraint1, Constraint constraint2) throws InvalidQueryException, RepositoryException {
-        log.code(this, "or", constraint1, constraint2);
+        log.codeTodo(this, "or", constraint1, constraint2);
         // TODO
         return null;
     }
 
     public PropertyExistence propertyExistence(String selectorName, String propertyName) throws InvalidQueryException,
             RepositoryException {
-        log.code(this, "propertyExistence", selectorName, propertyName);
+        log.codeTodo(this, "propertyExistence", selectorName, propertyName);
         // TODO
         return null;
     }
 
     public PropertyValue propertyValue(String selectorName, String propertyName) throws InvalidQueryException,
             RepositoryException {
-        log.code(this, "propertyValue", selectorName, propertyName);
+        log.codeTodo(this, "propertyValue", selectorName, propertyName);
         // TODO
         return null;
     }
 
     public SameNode sameNode(String selectorName, String path) throws InvalidQueryException, RepositoryException {
-        log.code(this, "sameNode", selectorName, path);
+        log.codeTodo(this, "sameNode", selectorName, path);
         // TODO
         return null;
     }
 
     public SameNodeJoinCondition sameNodeJoinCondition(String selector1Name, String selector2Name, String selector2Path)
             throws InvalidQueryException, RepositoryException {
-        log.code(this, "sameNodeJoinCondition", selector1Name, selector2Name, selector2Path);
+        log.codeTodo(this, "sameNodeJoinCondition", selector1Name, selector2Name, selector2Path);
         // TODO
         return null;
     }
 
     public Selector selector(String nodeTypeName, String selectorName) throws InvalidQueryException,
             RepositoryException {
-        log.code(this, "selector", nodeTypeName, selectorName);
+        log.codeTodo(this, "selector", nodeTypeName, selectorName);
         // TODO
         return null;
     }
 
     public UpperCase upperCase(DynamicOperand operand) throws InvalidQueryException, RepositoryException {
-        log.code(this, "upperCase", operand);
+        log.codeTodo(this, "upperCase", operand);
         // TODO
         return null;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/query/qom/QueryObjectModelImpl.java Fri Apr 23 14:35:26 2010
@@ -48,80 +48,80 @@ public class QueryObjectModelImpl implem
     }
 
     public Column[] getColumns() {
-        log.code(this, "getColumns");
+        log.codeTodo(this, "getColumns");
         // TODO
         return null;
     }
 
     public Constraint getConstraint() {
-        log.code(this, "getConstraint");
+        log.codeTodo(this, "getConstraint");
         // TODO
         return null;
     }
 
     public Ordering[] getOrderings() {
-        log.code(this, "getOrderings");
+        log.codeTodo(this, "getOrderings");
         // TODO
         return null;
     }
 
     public Source getSource() {
-        log.code(this, "getSource");
+        log.codeTodo(this, "getSource");
         // TODO
         return null;
     }
 
     public void bindValue(String varName, Value value) throws IllegalArgumentException, RepositoryException {
-        log.code(this, "bindValue", varName, value);
+        log.codeTodo(this, "bindValue", varName, value);
         // TODO
 
     }
 
     public QueryResult execute() throws InvalidQueryException, RepositoryException {
-        log.code(this, "execute");
+        log.codeTodo(this, "execute");
         // TODO
         return null;
     }
 
     public String[] getBindVariableNames() throws RepositoryException {
-        log.code(this, "getBindVariableNames");
+        log.codeTodo(this, "getBindVariableNames");
         // TODO
         return null;
     }
 
     public String getLanguage() {
-        log.code(this, "getLanguage");
+        log.codeTodo(this, "getLanguage");
         // TODO
         return null;
     }
 
     public String getStatement() {
-        log.code(this, "getStatement");
+        log.codeTodo(this, "getStatement");
         // TODO
         return null;
     }
 
     public String getStoredQueryPath() throws ItemNotFoundException, RepositoryException {
-        log.code(this, "getStoredQueryPath");
+        log.codeTodo(this, "getStoredQueryPath");
         // TODO
         return null;
     }
 
     public void setLimit(long limit) {
-        log.code(this, "setLimit", limit);
+        log.codeTodo(this, "setLimit", limit);
         // TODO
 
     }
 
     public void setOffset(long offset) {
-        log.code(this, "setOffset", offset);
+        log.codeTodo(this, "setOffset", offset);
         // TODO
 
     }
 
     public Node storeAsNode(String absPath) throws ItemExistsException, PathNotFoundException, VersionException,
             ConstraintViolationException, LockException, UnsupportedRepositoryOperationException, RepositoryException {
-        log.code(this, "storeAsNode", absPath);
+        log.codeTodo(this, "storeAsNode", absPath);
         // TODO
         return null;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/HoldImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/HoldImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/HoldImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/HoldImpl.java Fri Apr 23 14:35:26 2010
@@ -37,13 +37,13 @@ public class HoldImpl implements Hold, L
     }
 
     public String getName() throws RepositoryException {
-        log.code(this, "getName");
+        log.codeTodo(this, "getName");
         // TODO Auto-generated method stub
         return name;
     }
 
     public boolean isDeep() throws RepositoryException {
-        log.code(this, "isDeep");
+        log.codeTodo(this, "isDeep");
         // TODO Auto-generated method stub
         return isDeep;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionManagerImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionManagerImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionManagerImpl.java Fri Apr 23 14:35:26 2010
@@ -41,41 +41,41 @@ public class RetentionManagerImpl implem
 
     public Hold addHold(String absPath, String name, boolean isDeep) throws PathNotFoundException,
             AccessDeniedException, LockException, VersionException, RepositoryException {
-        log.code(this, "addHold", absPath, name, isDeep);
+        log.codeTodo(this, "addHold", absPath, name, isDeep);
         // TODO Auto-generated method stub
         return null;
     }
 
     public Hold[] getHolds(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException {
-        log.code(this, "getHolds", absPath);
+        log.codeTodo(this, "getHolds", absPath);
         // TODO Auto-generated method stub
         return null;
     }
 
     public RetentionPolicy getRetentionPolicy(String absPath) throws PathNotFoundException, AccessDeniedException,
             RepositoryException {
-        log.code(this, "getRetentionPolicy", absPath);
+        log.codeTodo(this, "getRetentionPolicy", absPath);
         // TODO Auto-generated method stub
         return null;
     }
 
     public void removeHold(String absPath, Hold hold) throws PathNotFoundException, AccessDeniedException,
             LockException, VersionException, RepositoryException {
-        log.code(this, "removeHold", absPath, hold);
+        log.codeTodo(this, "removeHold", absPath, hold);
         // TODO Auto-generated method stub
 
     }
 
     public void removeRetentionPolicy(String absPath) throws PathNotFoundException, AccessDeniedException,
             LockException, VersionException, RepositoryException {
-        log.code(this, "removeRetentionPolicy", absPath);
+        log.codeTodo(this, "removeRetentionPolicy", absPath);
         // TODO Auto-generated method stub
 
     }
 
     public void setRetentionPolicy(String absPath, RetentionPolicy retentionPolicy) throws PathNotFoundException,
             AccessDeniedException, LockException, VersionException, RepositoryException {
-        log.code(this, "setRetentionPolicy", absPath, retentionPolicy);
+        log.codeTodo(this, "setRetentionPolicy", absPath, retentionPolicy);
         // TODO Auto-generated method stub
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionPolicyImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionPolicyImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionPolicyImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/retention/RetentionPolicyImpl.java Fri Apr 23 14:35:26 2010
@@ -35,7 +35,7 @@ public class RetentionPolicyImpl impleme
     }
 
     public String getName() throws RepositoryException {
-        log.code(this, "getName");
+        log.codeTodo(this, "getName");
         // TODO Auto-generated method stub
         return name;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlEntryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlEntryImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlEntryImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlEntryImpl.java Fri Apr 23 14:35:26 2010
@@ -43,7 +43,7 @@ public class AccessControlEntryImpl impl
     }
 
     public Privilege[] getPrivileges() {
-        log.code(this, "getPrivileges");
+        log.codeTodo(this, "getPrivileges");
         // TODO this array is mutable - is this a problem?
         return privileges;
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlManagerImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlManagerImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/security/AccessControlManagerImpl.java Fri Apr 23 14:35:26 2010
@@ -48,40 +48,40 @@ public class AccessControlManagerImpl im
 
     public AccessControlPolicyIterator getApplicablePolicies(String absPath) throws PathNotFoundException,
             AccessDeniedException, RepositoryException {
-        log.code(this, "getApplicablePolicies", absPath);
+        log.codeTodo(this, "getApplicablePolicies", absPath);
         // TODO
         return null;
     }
 
     public AccessControlPolicy[] getEffectivePolicies(String absPath) throws PathNotFoundException,
             AccessDeniedException, RepositoryException {
-        log.code(this, "getEffectivePolicies", absPath);
+        log.codeTodo(this, "getEffectivePolicies", absPath);
         // TODO
         return null;
     }
 
     public AccessControlPolicy[] getPolicies(String absPath) throws PathNotFoundException, AccessDeniedException,
             RepositoryException {
-        log.code(this, "getPolicies", absPath);
+        log.codeTodo(this, "getPolicies", absPath);
         // TODO
         return null;
     }
 
     public Privilege[] getPrivileges(String absPath) throws PathNotFoundException, RepositoryException {
-        log.code(this, "getPrivileges", absPath);
+        log.codeTodo(this, "getPrivileges", absPath);
         // TODO
         return null;
     }
 
     public Privilege[] getSupportedPrivileges(String absPath) throws PathNotFoundException, RepositoryException {
-        log.code(this, "getSupportedPrivileges", absPath);
+        log.codeTodo(this, "getSupportedPrivileges", absPath);
         // TODO
         return null;
     }
 
     public boolean hasPrivileges(String absPath, Privilege[] privileges) throws PathNotFoundException,
             RepositoryException {
-        log.code(this, "hasPrivileges", absPath, privileges);
+        log.codeTodo(this, "hasPrivileges", absPath, privileges);
         // TODO
         return false;
     }
@@ -97,14 +97,14 @@ public class AccessControlManagerImpl im
 
     public void removePolicy(String absPath, AccessControlPolicy policy) throws PathNotFoundException,
             AccessControlException, AccessDeniedException, LockException, VersionException, RepositoryException {
-        log.code(this, "removePolicy", absPath, policy);
+        log.codeTodo(this, "removePolicy", absPath, policy);
         // TODO
 
     }
 
     public void setPolicy(String absPath, AccessControlPolicy policy) throws PathNotFoundException,
             AccessControlException, AccessDeniedException, LockException, VersionException, RepositoryException {
-        log.code(this, "setPolicy", absPath, policy);
+        log.codeTodo(this, "setPolicy", absPath, policy);
         // TODO
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/util/Log.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/util/Log.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/util/Log.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/util/Log.java Fri Apr 23 14:35:26 2010
@@ -21,6 +21,7 @@ import java.util.HashMap;
 import java.util.Map;
 import javax.jcr.SimpleCredentials;
 import javax.jcr.observation.EventListener;
+import org.apache.jackrabbit.j3.SessionImpl;
 
 /**
  * The method call logger utility.
@@ -95,6 +96,12 @@ public class Log {
         }
     }
 
+    public void codeTodo(LogObject obj, String method, Object... args) {
+        // TODO remove when it's not longer used
+        String msg = format(obj, method, args);
+        throw ExceptionFactory.mcException(msg);
+    }
+
     private void logCode(LogObject obj, String method, Object... args) {
         log(format(obj, method, args));
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionHistoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionHistoryImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionHistoryImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionHistoryImpl.java Fri Apr 23 14:35:26 2010
@@ -40,98 +40,98 @@ public class VersionHistoryImpl extends 
 
     public void addVersionLabel(String versionName, String label, boolean moveLabel)
             throws LabelExistsVersionException, VersionException, RepositoryException {
-        log.code(this, "addVersionLabel", versionName, label, moveLabel);
+        log.codeTodo(this, "addVersionLabel", versionName, label, moveLabel);
         // TODO
 
     }
 
     public NodeIterator getAllFrozenNodes() throws RepositoryException {
-        log.code(this, "getAllFrozenNodes");
+        log.codeTodo(this, "getAllFrozenNodes");
         // TODO
         return null;
     }
 
     public NodeIterator getAllLinearFrozenNodes() throws RepositoryException {
-        log.code(this, "getAllLinearFrozenNodes");
+        log.codeTodo(this, "getAllLinearFrozenNodes");
         // TODO
         return null;
     }
 
     public VersionIterator getAllLinearVersions() throws RepositoryException {
-        log.code(this, "getAllLinearVersions");
+        log.codeTodo(this, "getAllLinearVersions");
         // TODO
         return null;
     }
 
     public VersionIterator getAllVersions() throws RepositoryException {
-        log.code(this, "getAllVersions");
+        log.codeTodo(this, "getAllVersions");
         // TODO
         return null;
     }
 
     public Version getRootVersion() throws RepositoryException {
-        log.code(this, "getRootVersion");
+        log.codeTodo(this, "getRootVersion");
         // TODO
         return null;
     }
 
     public Version getVersion(String versionName) throws VersionException, RepositoryException {
-        log.code(this, "getVersion", versionName);
+        log.codeTodo(this, "getVersion", versionName);
         // TODO
         return null;
     }
 
     public Version getVersionByLabel(String label) throws VersionException, RepositoryException {
-        log.code(this, "getVersionByLabel", label);
+        log.codeTodo(this, "getVersionByLabel", label);
         // TODO
         return null;
     }
 
     public String[] getVersionLabels() throws RepositoryException {
-        log.code(this, "getVersionLabels");
+        log.codeTodo(this, "getVersionLabels");
         // TODO
         return null;
     }
 
     public String[] getVersionLabels(Version version) throws VersionException, RepositoryException {
-        log.code(this, "getVersionLabels", version);
+        log.codeTodo(this, "getVersionLabels", version);
         // TODO
         return null;
     }
 
     public String getVersionableIdentifier() throws RepositoryException {
-        log.code(this, "getVersionableIdentifier");
+        log.codeTodo(this, "getVersionableIdentifier");
         // TODO
         return null;
     }
 
     public String getVersionableUUID() throws RepositoryException {
-        log.code(this, "getVersionableUUID");
+        log.codeTodo(this, "getVersionableUUID");
         // TODO
         return null;
     }
 
     public boolean hasVersionLabel(String label) throws RepositoryException {
-        log.code(this, "hasVersionLabel", label);
+        log.codeTodo(this, "hasVersionLabel", label);
         // TODO
         return false;
     }
 
     public boolean hasVersionLabel(Version version, String label) throws VersionException, RepositoryException {
-        log.code(this, "hasVersionLabel", version, label);
+        log.codeTodo(this, "hasVersionLabel", version, label);
         // TODO
         return false;
     }
 
     public void removeVersion(String versionName) throws ReferentialIntegrityException, AccessDeniedException,
             UnsupportedRepositoryOperationException, VersionException, RepositoryException {
-        log.code(this, "removeVersion", versionName);
+        log.codeTodo(this, "removeVersion", versionName);
         // TODO
 
     }
 
     public void removeVersionLabel(String label) throws VersionException, RepositoryException {
-        log.code(this, "removeVersionLabel", label);
+        log.codeTodo(this, "removeVersionLabel", label);
         // TODO
 
     }

Modified: jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionImpl.java?rev=937313&r1=937312&r2=937313&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionImpl.java (original)
+++ jackrabbit/sandbox/jackrabbit-j3/src/main/java/org/apache/jackrabbit/j3/version/VersionImpl.java Fri Apr 23 14:35:26 2010
@@ -35,43 +35,43 @@ public class VersionImpl extends NodeImp
     }
 
     public VersionHistory getContainingHistory() throws RepositoryException {
-        log.code(this, "getContainingHistory");
+        log.codeTodo(this, "getContainingHistory");
         // TODO
         return null;
     }
 
     public Calendar getCreated() throws RepositoryException {
-        log.code(this, "getCreated");
+        log.codeTodo(this, "getCreated");
         // TODO
         return null;
     }
 
     public Node getFrozenNode() throws RepositoryException {
-        log.code(this, "getFrozenNode");
+        log.codeTodo(this, "getFrozenNode");
         // TODO
         return null;
     }
 
     public Version getLinearPredecessor() throws RepositoryException {
-        log.code(this, "getLinearPredecessor");
+        log.codeTodo(this, "getLinearPredecessor");
         // TODO
         return null;
     }
 
     public Version getLinearSuccessor() throws RepositoryException {
-        log.code(this, "getLinearSuccessor");
+        log.codeTodo(this, "getLinearSuccessor");
         // TODO
         return null;
     }
 
     public Version[] getPredecessors() throws RepositoryException {
-        log.code(this, "getPredecessors");
+        log.codeTodo(this, "getPredecessors");
         // TODO
         return null;
     }
 
     public Version[] getSuccessors() throws RepositoryException {
-        log.code(this, "getSuccessors");
+        log.codeTodo(this, "getSuccessors");
         // TODO
         return null;
     }



Mime
View raw message