コード例 #1
0
  /**
   * @deprecated As of 7.0.0, replaced by {@link #updateFileEntry(long, long, String, String,
   *     String, String, String, boolean, File, ServiceContext)}
   */
  @Deprecated
  @Override
  public FileEntry updateFileEntry(
      long fileEntryId,
      String sourceFileName,
      String mimeType,
      String title,
      String description,
      String changeLog,
      boolean majorVersion,
      InputStream is,
      long size,
      ServiceContext serviceContext)
      throws PortalException {

    return updateFileEntry(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        fileEntryId,
        sourceFileName,
        mimeType,
        title,
        description,
        changeLog,
        majorVersion,
        is,
        size,
        serviceContext);
  }
コード例 #2
0
  /**
   * @deprecated As of 7.0.0, replaced by {@link #revertFileEntry(long, long, String,
   *     ServiceContext)}
   */
  @Deprecated
  @Override
  public void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext)
      throws PortalException {

    revertFileEntry(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        fileEntryId,
        version,
        serviceContext);
  }
コード例 #3
0
  /**
   * @deprecated As of 7.0.0, replaced by {@link #moveFileEntry(long, long, long, ServiceContext)}
   */
  @Deprecated
  @Override
  public FileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext)
      throws PortalException {

    return moveFileEntry(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        fileEntryId,
        newFolderId,
        serviceContext);
  }
コード例 #4
0
  /** @deprecated As of 7.0.0, replaced by {@link #moveFolder(long, long, long, ServiceContext)} */
  @Deprecated
  @Override
  public Folder moveFolder(long folderId, long newParentFolderId, ServiceContext serviceContext)
      throws PortalException {

    return moveFolder(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        folderId,
        newParentFolderId,
        serviceContext);
  }
コード例 #5
0
  /**
   * @deprecated As of 7.0.0, replaced by {@link #checkInFileEntry(long, long, String,
   *     ServiceContext)}
   */
  @Deprecated
  @Override
  public void checkInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext)
      throws PortalException {

    checkInFileEntry(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        fileEntryId,
        lockUuid,
        serviceContext);
  }
コード例 #6
0
  /**
   * @deprecated As of 7.0.0, replaced by {@link #addFolder(long, long, String, String,
   *     ServiceContext)}
   */
  @Deprecated
  @Override
  public Folder addFolder(
      long parentFolderId, String name, String description, ServiceContext serviceContext)
      throws PortalException {

    return addFolder(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        name,
        description,
        serviceContext);
  }
コード例 #7
0
  /**
   * @deprecated As of 7.0.0, replaced by {@link #copyFileEntry(long, long, long, long,
   *     ServiceContext)}
   */
  @Deprecated
  @Override
  public FileEntry copyFileEntry(
      long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext)
      throws PortalException {

    return copyFileEntry(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        groupId,
        fileEntryId,
        destFolderId,
        serviceContext);
  }
コード例 #8
0
  /**
   * @deprecated As of 7.0.0, replaced by {@link #checkInFileEntry(long, long, boolean, String,
   *     ServiceContext)}
   */
  @Deprecated
  @Override
  public void checkInFileEntry(
      long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext)
      throws PortalException {

    checkInFileEntry(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        fileEntryId,
        major,
        changeLog,
        serviceContext);
  }
コード例 #9
0
  /**
   * @deprecated As of 7.0.0, see {@link #addFileEntry(long, long, String, String, String, String,
   *     String, File, ServiceContext)}
   */
  @Deprecated
  @Override
  public FileEntry addFileEntry(
      long folderId,
      String sourceFileName,
      String mimeType,
      String title,
      String description,
      String changeLog,
      File file,
      ServiceContext serviceContext)
      throws PortalException {

    return addFileEntry(
        com.liferay.portal.kernel.repository.util.RepositoryUserUtil.getUserId(),
        folderId,
        sourceFileName,
        mimeType,
        title,
        description,
        changeLog,
        file,
        serviceContext);
  }