Class RepositoryServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.RepositoryServiceBaseImpl
com.liferay.portal.service.impl.RepositoryServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.RepositoryService

public class RepositoryServiceImpl extends RepositoryServiceBaseImpl
Author:
Alexander Chow, Mika Koivisto
  • Constructor Details

    • RepositoryServiceImpl

      public RepositoryServiceImpl()
  • Method Details

    • addRepository

      public com.liferay.portal.kernel.model.Repository addRepository(String externalReferenceCode, long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkRepository

      public void checkRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteRepository

      public void deleteRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRepository

      public com.liferay.portal.kernel.model.Repository getRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRepository

      public com.liferay.portal.kernel.model.Repository getRepository(long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTypeSettingsProperties

      public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateRepository

      public void updateRepository(long repositoryId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkModelPermissions

      protected void checkModelPermissions(long folderId, long fileEntryId, long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkRepository

      protected void checkRepository(long repositoryId, long folderId, long fileEntryId, long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException