});
}
public XWikiAttachment restoreFromRecycleBin(final XWikiAttachment attachment,
final long index, final XWikiContext context, boolean bTransaction) throws XWikiException
{
<BUG>return (XWikiAttachment) executeRead(context, bTransaction, new HibernateCallback()
</BUG>
{
<BUG>public Object doInHibernate(Session session) throws HibernateException,
</BUG>
XWikiException

});
}
public XWikiAttachment restoreFromRecycleBin(final XWikiAttachment attachment,
final long index, final XWikiContext context, boolean bTransaction) throws XWikiException
{
return executeRead(context, bTransaction, new HibernateCallback<XWikiAttachment>()
{
public XWikiAttachment doInHibernate(Session session) throws HibernateException,
