@Override
	public CommerceRegion findByPrimaryKey(Serializable primaryKey)
		throws NoSuchRegionException {
		CommerceRegion commerceRegion = fetchByPrimaryKey(primaryKey);

		if (commerceRegion == null) {
			if (_log.isDebugEnabled()) {
				_log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
			}

			throw new NoSuchRegionException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY +
				primaryKey);
		}

		return commerceRegion;
	}
@ Override public CommerceRegion findByPrimaryKey ( Serializable primaryKey ) throws NoSuchRegionException { CommerceRegion commerceRegion = fetchByPrimaryKey ( primaryKey ) ; if ( commerceRegion == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchRegionException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return commerceRegion ; }
Returns the commerce region 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 region
@return the commerce region
@throws NoSuchRegionException if a commerce region with the primary key could not be found