Liferay 7.0-ce-b4

com.liferay.portal.repository.capabilities.util
Class DLFileEntryServiceAdapter

java.lang.Object
  extended by com.liferay.portal.repository.capabilities.util.DLFileEntryServiceAdapter

public class DLFileEntryServiceAdapter
extends Object


Constructor Summary
DLFileEntryServiceAdapter(DLFileEntryLocalService dlFileEntryLocalService)
           
DLFileEntryServiceAdapter(DLFileEntryLocalService dlFileEntryLocalService, DLFileEntryService dlFileEntryService)
           
 
Method Summary
static DLFileEntryServiceAdapter create(DocumentRepository documentRepository)
           
 DLFileEntry fetchDLFileEntryByImageId(long imageId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 DLFileEntry getDLFileEntry(long fileEntryId)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, int userId, long repositoryId, long folderId, int start, int end, OrderByComparator<DLFileEntry> obc)
           
 boolean isKeepFileVersionLabel(long fileEntryId, ServiceContext serviceContext)
           
 DLFileEntry updateStatus(long userId, long fileVersionId, int status, ServiceContext serviceContext, Map<String,Serializable> workflowContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryServiceAdapter

public DLFileEntryServiceAdapter(DLFileEntryLocalService dlFileEntryLocalService)

DLFileEntryServiceAdapter

public DLFileEntryServiceAdapter(DLFileEntryLocalService dlFileEntryLocalService,
                                 DLFileEntryService dlFileEntryService)
Method Detail

create

public static DLFileEntryServiceAdapter create(DocumentRepository documentRepository)

fetchDLFileEntryByImageId

public DLFileEntry fetchDLFileEntryByImageId(long imageId)
                                      throws PortalException
Throws:
PortalException

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
                                                 throws PortalException
Throws:
PortalException

getDLFileEntry

public DLFileEntry getDLFileEntry(long fileEntryId)
                           throws PortalException
Throws:
PortalException

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             int userId,
                                             long repositoryId,
                                             long folderId,
                                             int start,
                                             int end,
                                             OrderByComparator<DLFileEntry> obc)
                                      throws PortalException
Throws:
PortalException

isKeepFileVersionLabel

public boolean isKeepFileVersionLabel(long fileEntryId,
                                      ServiceContext serviceContext)
                               throws PortalException
Throws:
PortalException

updateStatus

public DLFileEntry updateStatus(long userId,
                                long fileVersionId,
                                int status,
                                ServiceContext serviceContext,
                                Map<String,Serializable> workflowContext)
                         throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4