com.atlassian.confluence.importexport.xmlimport.persister
Class PersisterOperations
java.lang.Object
com.atlassian.confluence.importexport.xmlimport.persister.PersisterOperations
public class PersisterOperations
- extends Object
Common operations used by various persisters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersisterOperations
public PersisterOperations()
getPrimitivePropertyValue
public Object getPrimitivePropertyValue(net.sf.hibernate.persister.ClassPersister entityPersister,
PrimitiveProperty property)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
literalTypeFromString
public Object literalTypeFromString(net.sf.hibernate.type.Type type,
String str)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
isPropertyNullable
public boolean isPropertyNullable(Class<?> classToPersist,
String propertyName,
ImportProcessorContext context)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
getClassForElement
public Class getClassForElement(String className,
String packageName)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
readId
public TransientHibernateHandle readId(Class clazz,
String idString,
net.sf.hibernate.persister.ClassPersister persister)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
Copyright © 2003-2011 Atlassian. All Rights Reserved.