Interface ExtRepositoryFileVersion

All Superinterfaces:
ExtRepositoryModel

public interface ExtRepositoryFileVersion extends 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 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, or null 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