code: public static CPDefinition remove(long CPDefinitionId)
  		throws com.liferay.commerce.product.exception.NoSuchCPDefinitionException {
  		return getPersistence().remove(CPDefinitionId);
  	}
docs: Removes the cp definition with the primary key from the database. Also notifies the appropriate model listeners.
  
  @param CPDefinitionId the primary key of the cp definition
  @return the cp definition that was removed
  @throws NoSuchCPDefinitionException if a cp definition with the primary key could not be found