|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.openutils.spring.rmibernate.server.managers.HibernateLazyServiceImpl
public class HibernateLazyServiceImpl
Server side implementation of remote lazy loading calls
Constructor Summary | |
---|---|
HibernateLazyServiceImpl()
|
Method Summary | |
---|---|
long |
count(java.lang.String className,
java.lang.String propertyName,
java.io.Serializable id)
Get collection size |
java.lang.Object |
invoke(java.lang.String className,
java.lang.String methodName,
java.io.Serializable id)
Invoke remote lazy loading |
java.lang.Object |
invoke(java.lang.String className,
java.lang.String propertyName,
java.io.Serializable id,
int from,
int size)
Invoke remote lazy loading |
void |
setSessionFactory(org.hibernate.SessionFactory factory)
Sets the factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HibernateLazyServiceImpl()
Method Detail |
---|
public java.lang.Object invoke(java.lang.String className, java.lang.String methodName, java.io.Serializable id) throws java.rmi.RemoteException
invoke
in interface HibernateLazyService
className
- name of parent classmethodName
- name of property to loadid
- current entity id
java.rmi.RemoteException
- errorpublic java.lang.Object invoke(java.lang.String className, java.lang.String propertyName, java.io.Serializable id, int from, int size) throws java.rmi.RemoteException
invoke
in interface HibernateLazyService
className
- name of parent classpropertyName
- name of property to loadid
- current entity idfrom
- starting row numbersize
- max rows to return
java.rmi.RemoteException
- errorpublic long count(java.lang.String className, java.lang.String propertyName, java.io.Serializable id) throws java.rmi.RemoteException
count
in interface HibernateLazyService
className
- name of parent classpropertyName
- name of property to loadid
- current entity id
java.rmi.RemoteException
- errorpublic void setSessionFactory(org.hibernate.SessionFactory factory)
factory
- the factory to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |