Class DLFileEntryTypeServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
All Implemented Interfaces:
com.liferay.document.library.kernel.service.DLFileEntryTypeService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService

public class DLFileEntryTypeServiceImpl extends DLFileEntryTypeServiceBaseImpl
Provides the remote service for accessing, adding, deleting, and updating file and folder file entry types. Its methods include permission checks.
Author:
Alexander Chow
  • Constructor Details

    • DLFileEntryTypeServiceImpl

      public DLFileEntryTypeServiceImpl()
  • Method Details

    • addFileEntryType

      public com.liferay.document.library.kernel.model.DLFileEntryType addFileEntryType(String externalReferenceCode, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFileEntryType

      public void deleteFileEntryType(long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFileEntryTypeByExternalReferenceCode

      public void deleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchFileEntryTypeByExternalReferenceCode

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntryType

      public com.liferay.document.library.kernel.model.DLFileEntryType getFileEntryType(long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntryTypeByExternalReferenceCode

      public com.liferay.document.library.kernel.model.DLFileEntryType getFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntryTypes

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> getFileEntryTypes(long[] groupIds)
    • getFileEntryTypes

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> getFileEntryTypes(long[] groupIds, int start, int end)
    • getFileEntryTypesCount

      public int getFileEntryTypesCount(long[] groupIds)
    • getFolderFileEntryTypes

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> search(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    • search

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    • searchCount

      public int searchCount(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited)
    • searchCount

      public int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType)
    • searchCount

      public int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope)
    • updateFileEntryType

      public com.liferay.document.library.kernel.model.DLFileEntryType updateFileEntryType(long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • filterFileEntryTypes

      protected List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFileEntryTypes(List<com.liferay.document.library.kernel.model.DLFileEntryType> fileEntryTypes) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException