Class DlFile
In: lib/dl_file.rb
Parent: ActiveRecord::Base

Methods

External Aliases

user -> owner

Public Instance methods

com.liferay.portlet.documentlibrary.model.DLFileEntry

[Source]

   # File lib/dl_file.rb, line 6
6:   def liferay_class
7:     'com.liferay.portlet.documentlibrary.model.DLFileEntry'
8:   end

URL path to download this Document Library File

[Source]

    # File lib/dl_file.rb, line 27
27:   def path
28:     '/c/document_library/get_file?folderId=%i&name=%s' % [self.folderid, self.name]
29:   end

[Validate]