Class QValueFactoryLogger
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.logging.AbstractLogger
-
- org.apache.jackrabbit.spi.commons.logging.QValueFactoryLogger
-
- All Implemented Interfaces:
org.apache.jackrabbit.spi.QValueFactory
public class QValueFactoryLogger extends AbstractLogger implements org.apache.jackrabbit.spi.QValueFactory
Log wrapper for aQValueFactory.
-
-
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
Constructors Constructor Description QValueFactoryLogger(org.apache.jackrabbit.spi.QValueFactory qValueFactory, LogWriter writer)Create a new instance for the givenqValueFactorywhich useswriterfor persisting log messages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.spi.QValue[]computeAutoValues(org.apache.jackrabbit.spi.QPropertyDefinition propertyDefinition)org.apache.jackrabbit.spi.QValuecreate(boolean value)org.apache.jackrabbit.spi.QValuecreate(byte[] value)org.apache.jackrabbit.spi.QValuecreate(double value)org.apache.jackrabbit.spi.QValuecreate(long value)org.apache.jackrabbit.spi.QValuecreate(File value)org.apache.jackrabbit.spi.QValuecreate(InputStream value)org.apache.jackrabbit.spi.QValuecreate(String value, int type)org.apache.jackrabbit.spi.QValuecreate(BigDecimal value)org.apache.jackrabbit.spi.QValuecreate(URI value)org.apache.jackrabbit.spi.QValuecreate(Calendar value)org.apache.jackrabbit.spi.QValuecreate(org.apache.jackrabbit.spi.Name value)org.apache.jackrabbit.spi.QValuecreate(org.apache.jackrabbit.spi.Path value)org.apache.jackrabbit.spi.QValueFactorygetQValueFactory()-
Methods inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
execute, execute
-
-
-
-
Constructor Detail
-
QValueFactoryLogger
public QValueFactoryLogger(org.apache.jackrabbit.spi.QValueFactory qValueFactory, LogWriter writer)Create a new instance for the givenqValueFactorywhich useswriterfor persisting log messages.- Parameters:
qValueFactory-writer-
-
-
Method Detail
-
getQValueFactory
public org.apache.jackrabbit.spi.QValueFactory getQValueFactory()
- Returns:
- the wrapped QValueFactory
-
create
public org.apache.jackrabbit.spi.QValue create(String value, int type) throws RepositoryException
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(Calendar value) throws RepositoryException
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(double value) throws RepositoryException- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(long value) throws RepositoryException- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(boolean value) throws RepositoryException- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(org.apache.jackrabbit.spi.Name value) throws RepositoryException- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(org.apache.jackrabbit.spi.Path value) throws RepositoryException- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(URI value) throws RepositoryException
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(BigDecimal value) throws RepositoryException
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(byte[] value) throws RepositoryException- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(InputStream value) throws RepositoryException, IOException
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryExceptionIOException
-
create
public org.apache.jackrabbit.spi.QValue create(File value) throws RepositoryException, IOException
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryExceptionIOException
-
computeAutoValues
public org.apache.jackrabbit.spi.QValue[] computeAutoValues(org.apache.jackrabbit.spi.QPropertyDefinition propertyDefinition) throws RepositoryException- Specified by:
computeAutoValuesin interfaceorg.apache.jackrabbit.spi.QValueFactory- Throws:
RepositoryException
-
-