Interface ExtRepositoryFileVersion
- All Superinterfaces:
ExtRepositoryModel
Represents the external repository file version. Implementers of external
repositories must provide an implementation of this class to make the bridge
between Liferay Portal and external repository domains. All data returned by
these implementations is in native repository format.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the comments associated with the commit of this file version.Returns the MIME type of the file version, ornull
if the MIME type is not available in the external repository.Returns the ext repository version's name (e.g.Methods inherited from interface com.liferay.document.library.repository.external.ExtRepositoryModel
getCreateDate, getExtRepositoryModelKey, getOwner, getSize
-
Method Details
-
getChangeLog
String getChangeLog()Returns the comments associated with the commit of this file version.- Returns:
- the comments associated with the commit of this file version
-
getMimeType
String getMimeType()Returns the MIME type of the file version, ornull
if the MIME type is not available in the external repository. If the MIME type is unavailable, Liferay Portal guesses the MIME type (usually by looking at the extension).- Returns:
- the MIME type of the file version, or
null
if the MIME type is not available in the external repository
-
getVersion
String getVersion()Returns the ext repository version's name (e.g.1.0
).- Returns:
- the ext repository version's name
-