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