Example usage for com.liferay.portal.kernel.repository DocumentRepository getRepositoryId

List of usage examples for com.liferay.portal.kernel.repository DocumentRepository getRepositoryId

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.repository DocumentRepository getRepositoryId.

Prototype

public long getRepositoryId();

Source Link

Usage

From source file:com.liferay.document.library.internal.trash.DLFileEntryTrashHandler.java

License:Open Source License

@Override
public void moveTrashEntry(long userId, long classPK, long containerModelId, ServiceContext serviceContext)
        throws PortalException {

    DocumentRepository documentRepository = getDocumentRepository(classPK);

    _dlTrashLocalService.moveFileEntryFromTrash(userId, documentRepository.getRepositoryId(), classPK,
            containerModelId, serviceContext);
}