@Test public void testFindPartnershipByIdNeg() throws DAOException{ SFRMPartnershipDSDAO dao = super.getTestingTarget(); SFRMPartnershipDVO dvo = (SFRMPartnershipDVO)dao.findPartnershipById("test1"); dao = super.getTestingTarget(); dvo = (SFRMPartnershipDVO)dao.findPartnershipById("non_existing_partnership_id"); Assert.assertNull("Partnership with partnership id 'non_existing_partnership_id' doesn't exist, but it can find one", dvo); }
public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } SFRMPartnershipDSDAO(); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } SFRMPartnershipDSDAO(); DVO createDVO(); SFRMPartnershipDVO findPartnershipBySeq(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipBySeq(int partnershipId); SFRMPartnershipDVO findPartnershipById(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipById(String partnershipId); List findAllPartnerships(); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } SFRMPartnershipDSDAO(); DVO createDVO(); SFRMPartnershipDVO findPartnershipBySeq(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipBySeq(int partnershipId); SFRMPartnershipDVO findPartnershipById(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipById(String partnershipId); List findAllPartnerships();  }