留言板

Document Library Search by field example---Title

Amit Shukla,修改在11 年前。

Document Library Search by field example---Title

Junior Member 帖子: 93 加入日期: 12-6-7 最近的帖子
Hi all,

I want to do search by filed in document library.
for example--I want to search all documents of TITLE="A".

please any body have idea about it....


Thanks
Amit
thumbnail
Jignesh Vachhani,修改在11 年前。

RE: Document Library Search by field example---Title

Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
If you want to search Document library file by name then you can use :

DLFileEntryLocalServiceUtil.getFileEntryByName(long groupId, long folderId, String name) ;

Also you can find all Liferay OOB finder methods in DLFileEntryPersistenceImpl.java class