Query DLFileEntry by metadata in Liferay 6.1
===

In Liferay 6.1 you can attach custom metadata fields to your DLFileEntries. How can I query DLFileEntries by its metadata contents from within the Java API?