Class TransferCommons

java.lang.Object
org.alfresco.repo.transfer.TransferCommons

public class TransferCommons extends Object
A bucket for little odds and ends for the transfer service. If this becomes a big class then refactor it away.
Author:
Mark Rogers
  • Field Details

    • PART_NAME_MANIFEST

      public static final String PART_NAME_MANIFEST
      The Mime Part Name of the manifest file
      See Also:
    • PARAM_FROM_REPOSITORYID

      public static final String PARAM_FROM_REPOSITORYID
      The Query String for the begin method.
      See Also:
    • PARAM_ALLOW_TRANSFER_TO_SELF

      public static final String PARAM_ALLOW_TRANSFER_TO_SELF
      The Query String for the begin method.
      See Also:
    • TS_SIMPLE_REPORT

      public static final String TS_SIMPLE_REPORT
      If this returns true, then the transfer service reports should only contain entries about: Create, Update, Delete items ; see MNT-14059
      See Also:
    • PARAM_TRANSFER_ID

      public static final String PARAM_TRANSFER_ID
      TransferId
      See Also:
    • PARAM_VERSION_MAJOR

      public static final String PARAM_VERSION_MAJOR
      Major version
      See Also:
    • PARAM_VERSION_MINOR

      public static final String PARAM_VERSION_MINOR
      Minor version
      See Also:
    • PARAM_VERSION_REVISION

      public static final String PARAM_VERSION_REVISION
      Revision version
      See Also:
    • PARAM_VERSION_EDITION

      public static final String PARAM_VERSION_EDITION
      Edition
      See Also:
    • PARAM_ROOT_FILE_TRANSFER

      public static final String PARAM_ROOT_FILE_TRANSFER
      File Root File Transfer
      See Also:
  • Constructor Details

    • TransferCommons

      public TransferCommons()
  • Method Details

    • URLToPartName

      public static final String URLToPartName(String contentUrl)
      Mapping between contentUrl and part name.
      Parameters:
      contentUrl - String
      Returns:
      the part name