Interface ExtRepositoryObject
- All Superinterfaces:
ExtRepositoryModel
- All Known Subinterfaces:
ExtRepositoryFileEntry
,ExtRepositoryFolder
Represents the external repository object, being either an external
repository file object or folder object. All data returned by this class'
implementation is in native repository format.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Holds the permissions that external repositories must support. -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsPermission
(ExtRepositoryObject.ExtRepositoryPermission extRepositoryPermission) Returnstrue
if the user has permission to perform the action on the external repository object.Returns the external repository object's description.Returns the external repository object's file or folder extension, excluding any leading period.Returns the external repository object's last modified date.Methods inherited from interface com.liferay.document.library.repository.external.ExtRepositoryModel
getCreateDate, getExtRepositoryModelKey, getOwner, getSize
-
Method Details
-
containsPermission
Returnstrue
if the user has permission to perform the action on the external repository object.- Parameters:
extRepositoryPermission
- the action to check for permission- Returns:
true
if the user has permission to perform the action on the external repository object;false
otherwise
-
getDescription
String getDescription()Returns the external repository object's description. The object's description is not its name.- Returns:
- the external repository object's description
-
getExtension
String getExtension()Returns the external repository object's file or folder extension, excluding any leading period.- Returns:
- the external repository object's file or folder extension, excluding any leading period
-
getModifiedDate
Date getModifiedDate()Returns the external repository object's last modified date.- Returns:
- the external repository object's last modified date
-