Class TransferCommons


  • public class TransferCommons
    extends java.lang.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 Detail

      • PART_NAME_MANIFEST

        public static final java.lang.String PART_NAME_MANIFEST
        The Mime Part Name of the manifest file
        See Also:
        Constant Field Values
      • PARAM_FROM_REPOSITORYID

        public static final java.lang.String PARAM_FROM_REPOSITORYID
        The Query String for the begin method.
        See Also:
        Constant Field Values
      • PARAM_ALLOW_TRANSFER_TO_SELF

        public static final java.lang.String PARAM_ALLOW_TRANSFER_TO_SELF
        The Query String for the begin method.
        See Also:
        Constant Field Values
      • TS_SIMPLE_REPORT

        public static final java.lang.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:
        Constant Field Values
      • PARAM_TRANSFER_ID

        public static final java.lang.String PARAM_TRANSFER_ID
        TransferId
        See Also:
        Constant Field Values
      • PARAM_VERSION_MAJOR

        public static final java.lang.String PARAM_VERSION_MAJOR
        Major version
        See Also:
        Constant Field Values
      • PARAM_VERSION_MINOR

        public static final java.lang.String PARAM_VERSION_MINOR
        Minor version
        See Also:
        Constant Field Values
      • PARAM_VERSION_REVISION

        public static final java.lang.String PARAM_VERSION_REVISION
        Revision version
        See Also:
        Constant Field Values
      • PARAM_VERSION_EDITION

        public static final java.lang.String PARAM_VERSION_EDITION
        Edition
        See Also:
        Constant Field Values
      • PARAM_ROOT_FILE_TRANSFER

        public static final java.lang.String PARAM_ROOT_FILE_TRANSFER
        File Root File Transfer
        See Also:
        Constant Field Values
    • Constructor Detail

      • TransferCommons

        public TransferCommons()
    • Method Detail

      • URLToPartName

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