Example usage for com.liferay.portal.repository.capabilities.util DLAppServiceAdapter create

List of usage examples for com.liferay.portal.repository.capabilities.util DLAppServiceAdapter create

Introduction

In this page you can find the example usage for com.liferay.portal.repository.capabilities.util DLAppServiceAdapter create.

Prototype

public static DLAppServiceAdapter create(DocumentRepository documentRepository) 

Source Link

Usage

From source file:com.liferay.document.library.internal.repository.capabilities.PortalCapabilityLocatorImpl.java

License:Open Source License

@Override
public TrashCapability getTrashCapability(DocumentRepository documentRepository) {

    return new LiferayTrashCapability(_dlAppHelperLocalService, DLAppServiceAdapter.create(documentRepository),
            DLFileEntryServiceAdapter.create(documentRepository),
            DLFolderServiceAdapter.create(documentRepository),
            RepositoryServiceAdapter.create(documentRepository), _trashEntryLocalService,
            _trashVersionLocalService);//from w  w w . j ava 2  s. com
}