org.apache.jackrabbit.spi.commons.logging
Class IdFactoryLogger
java.lang.Object
org.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.IdFactoryLogger
- All Implemented Interfaces:
- org.apache.jackrabbit.spi.IdFactory
public class IdFactoryLogger
- extends AbstractLogger
- implements org.apache.jackrabbit.spi.IdFactory
Log wrapper for an IdFactory.
|
Constructor Summary |
IdFactoryLogger(org.apache.jackrabbit.spi.IdFactory idFactory,
LogWriter writer)
Create a new instance for the given idFactory which uses
writer for persisting log messages. |
|
Method Summary |
org.apache.jackrabbit.spi.NodeId |
createNodeId(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Path path)
|
org.apache.jackrabbit.spi.NodeId |
createNodeId(String uniqueID)
|
org.apache.jackrabbit.spi.NodeId |
createNodeId(String uniqueID,
org.apache.jackrabbit.spi.Path path)
|
org.apache.jackrabbit.spi.PropertyId |
createPropertyId(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName)
|
org.apache.jackrabbit.spi.NodeId |
fromJcrIdentifier(String jcrIdentifier)
|
org.apache.jackrabbit.spi.IdFactory |
getIdFactory()
|
String |
toJcrIdentifier(org.apache.jackrabbit.spi.NodeId nodeId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdFactoryLogger
public IdFactoryLogger(org.apache.jackrabbit.spi.IdFactory idFactory,
LogWriter writer)
- Create a new instance for the given
idFactory which uses
writer for persisting log messages.
- Parameters:
idFactory - writer -
getIdFactory
public org.apache.jackrabbit.spi.IdFactory getIdFactory()
- Returns:
- the wrapped IdFactory
createPropertyId
public org.apache.jackrabbit.spi.PropertyId createPropertyId(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName)
- Specified by:
createPropertyId in interface org.apache.jackrabbit.spi.IdFactory
createNodeId
public org.apache.jackrabbit.spi.NodeId createNodeId(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Path path)
- Specified by:
createNodeId in interface org.apache.jackrabbit.spi.IdFactory
createNodeId
public org.apache.jackrabbit.spi.NodeId createNodeId(String uniqueID,
org.apache.jackrabbit.spi.Path path)
- Specified by:
createNodeId in interface org.apache.jackrabbit.spi.IdFactory
createNodeId
public org.apache.jackrabbit.spi.NodeId createNodeId(String uniqueID)
- Specified by:
createNodeId in interface org.apache.jackrabbit.spi.IdFactory
toJcrIdentifier
public String toJcrIdentifier(org.apache.jackrabbit.spi.NodeId nodeId)
- Specified by:
toJcrIdentifier in interface org.apache.jackrabbit.spi.IdFactory
fromJcrIdentifier
public org.apache.jackrabbit.spi.NodeId fromJcrIdentifier(String jcrIdentifier)
- Specified by:
fromJcrIdentifier in interface org.apache.jackrabbit.spi.IdFactory
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.