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>AnExtRepositoryObjectTypeconstant referring to interfaceExtRepositoryFileEntry.static final ExtRepositoryObjectType<ExtRepositoryFolder>AnExtRepositoryObjectTypeconstant referring to interfaceExtRepositoryFolder.static final ExtRepositoryObjectType<ExtRepositoryObject>AnExtRepositoryObjectTypeconstant referring to interfaceExtRepositoryObject(includes both files and folders). -
Method Summary
-
Field Details
-
FILE
AnExtRepositoryObjectTypeconstant referring to interfaceExtRepositoryFileEntry. -
FOLDER
AnExtRepositoryObjectTypeconstant referring to interfaceExtRepositoryFolder. -
OBJECT
AnExtRepositoryObjectTypeconstant referring to interfaceExtRepositoryObject(includes both files and folders).
-
-
Method Details