Class DefaultPunchOutCredentialDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<PunchOutCredentialModel>
-
- de.hybris.platform.b2b.punchout.daos.impl.DefaultPunchOutCredentialDao
-
- All Implemented Interfaces:
PunchOutCredentialDao,GenericDao<PunchOutCredentialModel>
public class DefaultPunchOutCredentialDao extends DefaultGenericDao<PunchOutCredentialModel> implements PunchOutCredentialDao
Default implementation forPunchOutCredentialDao.
-
-
Constructor Summary
Constructors Constructor Description DefaultPunchOutCredentialDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PunchOutCredentialModelgetPunchOutCredential(java.lang.String domain, java.lang.String identity)Get aPunchOutCredentialModelfor a given domain-identity pair.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Method Detail
-
getPunchOutCredential
public PunchOutCredentialModel getPunchOutCredential(java.lang.String domain, java.lang.String identity) throws AmbiguousIdentifierException
Description copied from interface:PunchOutCredentialDaoGet aPunchOutCredentialModelfor a given domain-identity pair.- Specified by:
getPunchOutCredentialin interfacePunchOutCredentialDao- Parameters:
domain- The PunchOut domain used for the identity (e.g.: DUNS)identity- The identity value.- Returns:
- The
PunchOutCredentialModel, or null, if there is no matching pair. - Throws:
AmbiguousIdentifierException- If there is more the onePunchOutCredentialModelfor the given pair.
-
-