Interface BeanHandlerService
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
BeanHandlerServiceImpl
public interface BeanHandlerService extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetBean(java.lang.String beanId)This method returns a bean instance.java.lang.ObjectgetRepository(java.lang.String repositoryId)This method does return repository.java.lang.ObjectgetSessionBean(java.lang.String beanId)This method returns a session bean instance.<T> ThandleBeanInvokeResponse(BeanRequestMessage request)This method does invoke to get instance of bean.<T> ThandleBeanUpdateResponse(BeanRequestMessage request)This method does update a bean and get instance of updated bean.voidhandleInvoke(BeanRequestMessage request)This method does invoke a bean methods.voidhandleRepositoryCall(RepositoryRequestMessage request)This method does repository call.<T> java.util.List<T>handleRepositoryInvoke(RepositoryRequestMessage request)This method does repository call.<T> ThandleRepositoryUpdate(RepositoryRequestMessage request)This method does repository call.voidhandleUpdate(BeanRequestMessage request)This method does update of bean.voidupdateSessionBean(java.lang.String beanId, java.lang.Object bean)This method does update of session bean.
-
-
-
Method Detail
-
getRepository
java.lang.Object getRepository(java.lang.String repositoryId)
This method does return repository.- Parameters:
repositoryId- identification bean, which will be returned- Returns:
- object
-
getBean
java.lang.Object getBean(java.lang.String beanId)
This method returns a bean instance.- Parameters:
beanId- identification bean, which will be returned- Returns:
- a bean instance
-
getSessionBean
java.lang.Object getSessionBean(java.lang.String beanId)
This method returns a session bean instance.- Parameters:
beanId- identification bean, which will be returned- Returns:
- a bean instance
-
updateSessionBean
void updateSessionBean(java.lang.String beanId, java.lang.Object bean)This method does update of session bean.- Parameters:
beanId- identification bean, which will be updatedbean- representation of bean, which will be copied to current instance
-
handleUpdate
void handleUpdate(BeanRequestMessage request)
This method does update of bean.- Parameters:
request- contains an instructions for updated fields
-
handleInvoke
void handleInvoke(BeanRequestMessage request)
This method does invoke a bean methods.- Parameters:
request- contains an instructions for invoked fields
-
handleRepositoryCall
void handleRepositoryCall(RepositoryRequestMessage request)
This method does repository call.- Parameters:
request- contains an instructions for repository call
-
handleBeanInvokeResponse
<T> T handleBeanInvokeResponse(BeanRequestMessage request)
This method does invoke to get instance of bean.- Type Parameters:
T- class type of entity- Parameters:
request- contains an instructions for invoked fields- Returns:
- map representation of object
-
handleBeanUpdateResponse
<T> T handleBeanUpdateResponse(BeanRequestMessage request)
This method does update a bean and get instance of updated bean.- Type Parameters:
T- class type of entity- Parameters:
request- contains an instructions for invoked fields- Returns:
- map representation of object
-
handleRepositoryInvoke
<T> java.util.List<T> handleRepositoryInvoke(RepositoryRequestMessage request)
This method does repository call.- Type Parameters:
T- class type of entity- Parameters:
request- contains an instructions for invoked fields.- Returns:
- list of objects representation
-
handleRepositoryUpdate
<T> T handleRepositoryUpdate(RepositoryRequestMessage request)
This method does repository call.- Type Parameters:
T- class type of entity- Parameters:
request- contains an instructions for invoked fields.- Returns:
- map representation of object
-
-