Interface ExtRepositoryModel
- All Known Subinterfaces:
ExtRepositoryFileEntry
,ExtRepositoryFileVersion
,ExtRepositoryFolder
,ExtRepositoryObject
public interface ExtRepositoryModel
Represents the external repository model, which describes a folder, file, or
file version in the external repository. All data returned by this class'
implementation is in native repository format.
-
Method Details
-
getCreateDate
Date getCreateDate()Returns the external repository model's creation date.- Returns:
- the external repository model's creation date
-
getExtRepositoryModelKey
String getExtRepositoryModelKey()Returns the external repository model's primary key.- Returns:
- the external repository model's primary key
-
getOwner
String getOwner()Returns the external repository model's owner. The returned user identifier is converted from the native repository format to the Liferay Portal format by calling theExtRepository.getLiferayLogin(String)
method.- Returns:
- the external repository model's owner
-
getSize
long getSize()Returns the external repository's model size in bytes.- Returns:
- the external repository's model size in bytes
-