Uses of Class
org.bsf.smartValueObject.mediator.MediatorException

Packages that use MediatorException
org.bsf.smartValueObject.demo   
org.bsf.smartValueObject.mediator Mediator services for SVO. 
 

Uses of MediatorException in org.bsf.smartValueObject.demo
 

Methods in org.bsf.smartValueObject.demo that throw MediatorException
 java.lang.Object DemoMediator.getGraph(java.lang.Object prototype)
          Retrieves graph based on given prototype.
 void DemoMediator.updateGraph(java.lang.Object graph)
          Stores graph.
 java.lang.String DemoMediator.updateGraphAndReport(java.lang.Object graph)
          Stores graph and return summary of changes.
 void DemoMediator.deleteGraph(java.lang.Object graph)
          Deletes a graph.
private  DemoMediator.CompanyEntity DemoMediator.newCompany(org.bsf.smartValueObject.demo.CompanyVO vo, java.io.PrintWriter logger)
          Creates new company based on VO.
private  DemoMediator.CompanyEntity DemoMediator.updateCompany(org.bsf.smartValueObject.demo.CompanyVO vo, java.io.PrintWriter logger)
          Updates (or creates) company based on VO.
private  void DemoMediator.removeCompany(org.bsf.smartValueObject.demo.CompanyVO vo)
          Removes company based on VO.
private  DemoMediator.SubsidiaryEntity DemoMediator.newSubsidiary(org.bsf.smartValueObject.demo.SubsidiaryVO vo)
          Creates new subsidiary based on VO.
private  void DemoMediator.updateSubsidiary(org.bsf.smartValueObject.demo.SubsidiaryVO vo)
          Updates subsidiary based on VO.
private  void DemoMediator.removeSubsidiary(org.bsf.smartValueObject.demo.SubsidiaryVO vo)
          Removes subsidiary based on VO.
private  java.lang.Object DemoMediator.getPK(java.lang.Object o)
          Gets primary key from object (from the field specied in indexField).
private  DemoMediator.CompanyEntity DemoMediator.getCompanyEntityByVO(org.bsf.smartValueObject.demo.CompanyVO vo)
          Gets company entity from VO.
private  DemoMediator.SubsidiaryEntity DemoMediator.getSubsidiaryEntitybyVO(org.bsf.smartValueObject.demo.SubsidiaryVO vo)
          Gets subsidiary entitiy from VO.
private  void DemoMediator.verifyGraph(java.lang.Object graph)
          Verifies if the graph argument is valid.
private  void DemoMediator.updateVersionCache(java.lang.Object vo)
           
private  java.lang.Long DemoMediator.getVersionCache(java.lang.Object vo)
           
private  void DemoMediator.removeVersionCache(java.lang.Object vo)
           
private  void DemoMediator.checkConcurrency(java.lang.Object vo)
           
private static void DemoMediator.copyProperties(java.lang.Object dst, java.lang.Object src)
          Wrapper around BeanUtils.copyProperties.
private static org.bsf.smartValueObject.demo.SubsidiaryVO DemoMediator.newSubsidiaryVO(DemoMediator.SubsidiaryEntity se)
          Creates new SubsidiaryVO object and initializes its field with the given SubsidiaryEntity.
private static org.bsf.smartValueObject.demo.CompanyVO DemoMediator.newCompanyVO(DemoMediator.CompanyEntity ce)
           
 void TestDemoMediator.testUpdateAndGetGraph()
           
 void TestDemoMediator.testDeleted()
           
 void TestDemoMediator.testCreated()
           
 void TestDemoMediator.testUpdate()
           
 void TestDemoMediator.testModified()
           
 void TestDemoMediator.testModified2()
           
 void TestDemoMediator.testDeleteGraph()
           
 void TestDemoMediator.testTwoCompanies()
           
 void TestDemoMediator.testConcurrency()
           
private  org.bsf.smartValueObject.demo.CompanyVO TestDemoMediator.updateCompany1()
           
private  org.bsf.smartValueObject.demo.CompanyVO TestDemoMediator.updateCompany2()
           
 

Uses of MediatorException in org.bsf.smartValueObject.mediator
 

Subclasses of MediatorException in org.bsf.smartValueObject.mediator
 class ConcurrencyException
          Thrown in case of concurrent modifications.
 

Methods in org.bsf.smartValueObject.mediator that throw MediatorException
 java.lang.Object EjbSvoMediator.getGraph(java.lang.Object prototype)
          Retrieves graph based on given prototype.
 void EjbSvoMediator.updateGraph(java.lang.Object graph)
          Stores graph.
 void EjbSvoMediator.deleteGraph(java.lang.Object graph)
          Deletes a graph.
private  void EjbSvoMediator.storeEJB(java.lang.Object graph)
           
private  java.lang.Object EjbSvoMediator.lookFor(java.lang.Object o)
           
private  java.lang.Object EjbSvoMediator.lookForEJB(java.lang.Object index)
           
private  java.lang.Object EjbSvoMediator.createNewVO()
          Gets an 'empty' VO.
 java.lang.Object Mediator.getGraph(java.lang.Object prototype)
          Retrieves a graph based on given prototype.
 void Mediator.updateGraph(java.lang.Object graph)
          Stores a graph.
 void Mediator.deleteGraph(java.lang.Object graph)
          Deletes a graph.