Class ExtRepositoryObjectType<T extends ExtRepositoryModel>
java.lang.Object
com.liferay.document.library.repository.external.ExtRepositoryObjectType<T>
Provides external repository constants describing the types of
ExtRepositoryObject
's available. Each constant is connected to an ExtRepositoryObject
derived interface and can be used as parameters for
methods that need to differentiate between, for example, files or folders.
The constants are designed so that Java Generics can be used to make the
return of methods type-safe. See method ExtRepository.getExtRepositoryObject(ExtRepositoryObjectType, String, String)
for an example of a method signature using these constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExtRepositoryObjectType<ExtRepositoryFileEntry>
AnExtRepositoryObjectType
constant referring to interfaceExtRepositoryFileEntry
.static final ExtRepositoryObjectType<ExtRepositoryFolder>
AnExtRepositoryObjectType
constant referring to interfaceExtRepositoryFolder
.static final ExtRepositoryObjectType<ExtRepositoryObject>
AnExtRepositoryObjectType
constant referring to interfaceExtRepositoryObject
(includes both files and folders). -
Method Summary
-
Field Details
-
FILE
AnExtRepositoryObjectType
constant referring to interfaceExtRepositoryFileEntry
. -
FOLDER
AnExtRepositoryObjectType
constant referring to interfaceExtRepositoryFolder
. -
OBJECT
AnExtRepositoryObjectType
constant referring to interfaceExtRepositoryObject
(includes both files and folders).
-
-
Method Details