|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.IdFactoryLogger
public class IdFactoryLogger
Log wrapper for an IdFactory.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger |
|---|
AbstractLogger.Callable, AbstractLogger.SafeCallable |
| Field Summary |
|---|
| Fields inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger |
|---|
writer |
| Constructor Summary | |
|---|---|
IdFactoryLogger(IdFactory idFactory,
LogWriter writer)
Create a new instance for the given idFactory which uses
writer for persisting log messages. |
|
| Method Summary | |
|---|---|
NodeId |
createNodeId(NodeId parentId,
Path path)
Creates a new NodeId from the given parent id and
the given Path object. |
NodeId |
createNodeId(String uniqueID)
Creates a new NodeId from the given unique id. |
NodeId |
createNodeId(String uniqueID,
Path path)
Creates a new NodeId from the given unique id (which identifies
an ancestor Node) and the given Path object. |
PropertyId |
createPropertyId(NodeId parentId,
Name propertyName)
Creates a new PropertyId from the given parent id and
property name. |
NodeId |
fromJcrIdentifier(String jcrIdentifier)
Create a new NodeId from the given JCR string representation. |
IdFactory |
getIdFactory()
|
String |
toJcrIdentifier(NodeId nodeId)
Returns the JCR string representation of the given nodeId. |
| Methods inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger |
|---|
execute, execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdFactoryLogger(IdFactory idFactory,
LogWriter writer)
idFactory which uses
writer for persisting log messages.
idFactory - writer - | Method Detail |
|---|
public IdFactory getIdFactory()
public PropertyId createPropertyId(NodeId parentId,
Name propertyName)
IdFactoryPropertyId from the given parent id and
property name.
createPropertyId in interface IdFactoryPropertyId.
public NodeId createNodeId(NodeId parentId,
Path path)
IdFactoryNodeId from the given parent id and
the given Path object.
createNodeId in interface IdFactoryNodeId.
public NodeId createNodeId(String uniqueID,
Path path)
IdFactoryNodeId from the given unique id (which identifies
an ancestor Node) and the given Path object.
createNodeId in interface IdFactoryNodeId.ItemId for a description of the uniqueID defined by the SPI
item identifiers.public NodeId createNodeId(String uniqueID)
IdFactoryNodeId from the given unique id.
createNodeId in interface IdFactoryNodeId.ItemId for a description of the uniqueID defined by the SPI
item identifiers.public String toJcrIdentifier(NodeId nodeId)
IdFactorynodeId.
toJcrIdentifier in interface IdFactoryIdFactory.fromJcrIdentifier(String)public NodeId fromJcrIdentifier(String jcrIdentifier)
IdFactoryNodeId from the given JCR string representation.
fromJcrIdentifier in interface IdFactoryNodeId.IdFactory.toJcrIdentifier(NodeId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||