Class ExtRepositoryObjectType<T extends ExtRepositoryModel>

java.lang.Object
com.liferay.document.library.repository.external.ExtRepositoryObjectType<T>

public final class ExtRepositoryObjectType<T extends ExtRepositoryModel> extends Object
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.