Interface ExtRepositoryFileEntry

All Superinterfaces:
ExtRepositoryModel, ExtRepositoryObject

public interface ExtRepositoryFileEntry extends ExtRepositoryObject
Represents the external repository file entry object. 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

    • getCheckedOutBy

      String getCheckedOutBy()
      Returns an identifier for the user who checked out the file from the external repository, or null if the file is not checked out. The returned user identifier is converted from the native repository format to the Liferay format by calling the ExtRepository.getLiferayLogin(String) method.
      Returns:
      an identifier for the user who checked out the file from the external repository, or null if the file is not checked out
    • getMimeType

      String getMimeType()
      Returns the MIME type of the external repository file, 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 external repository file, or null if the MIME type is not available in the external repository
    • getTitle

      String getTitle()
      Returns the external repository file entry's name, including its extension.
      Returns:
      the external repository file entry's name, including its extension