org.alfresco.repo.transfer
Class TransferCommons

java.lang.Object
  extended by org.alfresco.repo.transfer.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.


Field Summary
static java.lang.String PARAM_ALLOW_TRANSFER_TO_SELF
          The Query String for the begin method.
static java.lang.String PARAM_FROM_REPOSITORYID
          The Query String for the begin method.
static java.lang.String PARAM_ROOT_FILE_TRANSFER
          File Root File Transfer
static java.lang.String PARAM_TRANSFER_ID
          TransferId
static java.lang.String PARAM_VERSION_EDITION
          Edition
static java.lang.String PARAM_VERSION_MAJOR
          Major version
static java.lang.String PARAM_VERSION_MINOR
          Minor version
static java.lang.String PARAM_VERSION_REVISION
          Revision version
static java.lang.String PART_NAME_MANIFEST
          The Mime Part Name of the manifest file
 
Constructor Summary
TransferCommons()
           
 
Method Summary
static java.lang.String URLToPartName(java.lang.String contentUrl)
          Mapping between contentUrl and part name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

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:
URL -
Returns:
the part name


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.