code: @Override
  	public CommerceAddressRestriction findByPrimaryKey(Serializable primaryKey)
  		throws NoSuchAddressRestrictionException {
  		CommerceAddressRestriction commerceAddressRestriction = fetchByPrimaryKey(primaryKey);
  
  		if (commerceAddressRestriction == null) {
  			if (_log.isDebugEnabled()) {
  				_log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
  			}
  
  			throw new NoSuchAddressRestrictionException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY +
  				primaryKey);
  		}
  
  		return commerceAddressRestriction;
  	}
docs: Returns the commerce address restriction with the primary key or throws a {@link com.liferay.portal.kernel.exception.NoSuchModelException} if it could not be found.
  
  @param primaryKey the primary key of the commerce address restriction
  @return the commerce address restriction
  @throws NoSuchAddressRestrictionException if a commerce address restriction with the primary key could not be found