@Test public void testFindPartnershipBySeqNeg() throws DAOException{ SFRMPartnershipDSDAO dao = super.getTestingTarget(); SFRMPartnershipDSDVO dvo = (SFRMPartnershipDSDVO)dao.findPartnershipBySeq(8); dao = super.getTestingTarget(); dvo = (SFRMPartnershipDSDVO)dao.findPartnershipBySeq(-1); Assert.assertNull("Partnership with seq id -1 doesn;t exist, but it can find one", dvo); }
public SFRMPartnershipDVO findPartnershipBySeq (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipBySeq(partnershipDVO.getPartnershipSeq()); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipBySeq (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipBySeq(partnershipDVO.getPartnershipSeq()); } }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipBySeq (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipBySeq(partnershipDVO.getPartnershipSeq()); } SFRMPartnershipDSDAO(); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipBySeq (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipBySeq(partnershipDVO.getPartnershipSeq()); } 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 findPartnershipBySeq (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipBySeq(partnershipDVO.getPartnershipSeq()); } SFRMPartnershipDSDAO(); DVO createDVO(); SFRMPartnershipDVO findPartnershipBySeq(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipBySeq(int partnershipId); SFRMPartnershipDVO findPartnershipById(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipById(String partnershipId); List findAllPartnerships();  }