SFRMPartnershipDAO

public interface SFRMPartnershipDAO extends DAO
Author:Twinsen Tsang

Methods

findAllPartnerships

public List findAllPartnerships()

Find all of the partnership existing in the database

Returns:return a list of partnership

findPartnershipById

public SFRMPartnershipDVO findPartnershipById(SFRMPartnershipDVO partnershipDVO)

Find the partnership by the partnership object specified in the parameter object. The partnership id field will be retreived and used for the finder.

Parameters:
  • partnershipDVO
Returns:

return null if no partnership found, otherwise the a sfrm partnership.

findPartnershipById

public SFRMPartnershipDVO findPartnershipById(String partnershipId)

Find the partnership by the service string specified in the parameter.

Parameters:
  • partnershipId – The partnership id to used for search partnership.
Returns:

return null if no partnership found, otherwise the a sfrm partnership.

findPartnershipBySeq

public SFRMPartnershipDVO findPartnershipBySeq(SFRMPartnershipDVO partnershipDVO)

Find the partnership by the partnership object specified in the parameter object. The partnership seq field will be retreived and used for the finder.

Parameters:
  • partnershipDVO
Throws:
Returns:

return null if no partnership found, otherwise the a sfrm partnership.

findPartnershipBySeq

public SFRMPartnershipDVO findPartnershipBySeq(int partnershipId)

Find the partnership by it’s seq id.

Parameters:
  • partnershipId
Returns:

return null if no partnership found, otherwise the a sfrm partnership.