| |
|
| java.lang.Object org.jboss.test.foedeployer.ejb.o2mb.O2MBManagerBean
O2MBManagerBean | public class O2MBManagerBean implements SessionBean(Code) | | Manager session bean.
|
createCompany | public void createCompany(String companyName)(Code) | | Creates a company
|
createEmployee | public void createEmployee(String employeeName)(Code) | | Creates an employee
|
createEmployeeForCompany | public void createEmployeeForCompany(String employeeName, String companyName)(Code) | | Creates new emaployee and adds it to a company
|
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate()(Code) | | create method
|
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
employ | public void employ(String employeeName, String companyName)(Code) | | Sets a company for employee
|
getCompanyForEmployee | public String getCompanyForEmployee(String employeeName)(Code) | | Returns emaployee's company
|
getEmployeesForCompany | public Collection getEmployeesForCompany(String companyName)(Code) | | Returns all the companies
|
removeCompany | public void removeCompany(String companyName)(Code) | | Removes a company
|
removeCompanyIfExists | public void removeCompanyIfExists(String companyName)(Code) | | Removes a company if it exists
|
setSessionContext | public void setSessionContext(SessionContext ctx)(Code) | | |
|
|
|