public static com.liferay.commerce.product.model.CPOption deleteCPOption(
		long CPOptionId)
		throws com.liferay.portal.kernel.exception.PortalException {
		return getService().deleteCPOption(CPOptionId);
	}
public static com . liferay . commerce . product . model . CPOption deleteCPOption ( long CPOptionId ) throws com . liferay . portal . kernel . exception . PortalException { return getService ( ) . deleteCPOption ( CPOptionId ) ; }
Deletes the cp option with the primary key from the database. Also notifies the appropriate model listeners.

@param CPOptionId the primary key of the cp option
@return the cp option that was removed
@throws PortalException if a cp option with the primary key could not be found