Class 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 Detail

      • 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 -
    • Method Detail

      • 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