code: public static CPAttachmentFileEntry removeByC_C_F(long classNameId,
  		long classPK, long fileEntryId)
  		throws com.liferay.commerce.product.exception.NoSuchCPAttachmentFileEntryException {
  		return getPersistence().removeByC_C_F(classNameId, classPK, fileEntryId);
  	}
docs: Removes the cp attachment file entry where classNameId = &#63; and classPK = &#63; and fileEntryId = &#63; from the database.
  
  @param classNameId the class name ID
  @param classPK the class pk
  @param fileEntryId the file entry ID
  @return the cp attachment file entry that was removed