code: public static CPDefinitionInventory findByPrimaryKey(
  		long CPDefinitionInventoryId)
  		throws com.liferay.commerce.exception.NoSuchCPDefinitionInventoryException {
  		return getPersistence().findByPrimaryKey(CPDefinitionInventoryId);
  	}
docs: Returns the cp definition inventory with the primary key or throws a {@link NoSuchCPDefinitionInventoryException} if it could not be found.
  
  @param CPDefinitionInventoryId the primary key of the cp definition inventory
  @return the cp definition inventory
  @throws NoSuchCPDefinitionInventoryException if a cp definition inventory with the primary key could not be found