public static CPAttachmentFileEntry remove(long CPAttachmentFileEntryId)
		throws com.liferay.commerce.product.exception.NoSuchCPAttachmentFileEntryException {
		return getPersistence().remove(CPAttachmentFileEntryId);
	}
public static CPAttachmentFileEntry remove ( long CPAttachmentFileEntryId ) throws com . liferay . commerce . product . exception . NoSuchCPAttachmentFileEntryException { return getPersistence ( ) . remove ( CPAttachmentFileEntryId ) ; }
Removes the cp attachment file entry with the primary key from the database. Also notifies the appropriate model listeners.

@param CPAttachmentFileEntryId the primary key of the cp attachment file entry
@return the cp attachment file entry that was removed
@throws NoSuchCPAttachmentFileEntryException if a cp attachment file entry with the primary key could not be found