public DLFileEntryActionableDynamicQuery() {
    setBaseLocalService(DLFileEntryLocalServiceUtil.getService());
    setClass(DLFileEntry.class);

    setClassLoader(PortalClassLoaderUtil.getClassLoader());

    setPrimaryKeyPropertyName("fileEntryId");
  }
 public PortalDocumentLibrary(User currentUser) {
   try {
     this.currentUser = currentUser;
     processBaseGroup =
         GroupLocalServiceUtil.getGroup(currentUser.getCompanyId(), Constants.DL_GROUP);
     folderService = DLFolderLocalServiceUtil.getService();
     fileService = DLFileEntryLocalServiceUtil.getService();
   } catch (Exception ex) {
     ex.printStackTrace();
   }
 }