Class ExtRepositoryFileVersionDescriptor

java.lang.Object
com.liferay.document.library.repository.external.ExtRepositoryFileVersionDescriptor

public class ExtRepositoryFileVersionDescriptor extends Object
Provides methods to locate an external repository file version. An external repository file's version descriptor consists of an ExtRepositoryFileEntry key and the version name belonging to that file entry.
  • Constructor Details

    • ExtRepositoryFileVersionDescriptor

      public ExtRepositoryFileVersionDescriptor(String extRepositoryFileEntryKey, String version)
      Creates an external repository file version descriptor with the repository file entry key and version name.
      Parameters:
      extRepositoryFileEntryKey - the repository file entry key
      version - the repository file entry's version name
  • Method Details

    • getExtRepositoryFileEntryKey

      public String getExtRepositoryFileEntryKey()
      Returns the external repository file entry key.
      Returns:
      the external repository file entry key
    • getVersion

      public String getVersion()
      Returns the external repository version name.
      Returns:
      the external repository version name