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 for
PunchOutCredentialDao.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPunchOutCredential(String domain, 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
-
Constructor Details
-
DefaultPunchOutCredentialDao
public DefaultPunchOutCredentialDao()
-
-
Method Details
-
getPunchOutCredential
public PunchOutCredentialModel getPunchOutCredential(String domain, 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.
-