Class MoveClient

java.lang.Object
org.compiere.process.SvrProcess
org.idempiere.process.MoveClient
All Implemented Interfaces:
ProcessCall

public class MoveClient extends SvrProcess
Process to move a client from a external database to current, or copy a template in current database
  • Constructor Details

    • MoveClient

      public MoveClient()
  • Method Details

    • prepare

      protected void prepare()
      Prepare - e.g., get Parameters.
      Specified by:
      prepare in class SvrProcess
      See Also:
    • doIt

      protected String doIt() throws Exception
      Perform process.
      Specified by:
      doIt in class SvrProcess
      Returns:
      Message (variables are parsed)
      Throws:
      Exception - if not successful
    • parseFallbackRecordsString

      public List<MoveClient.FallbackRecord> parseFallbackRecordsString(String fallbackRecordsString)
      Convert a string of table=ID (or table=UUID) to a List of String,PO maps
      Parameters:
      fallbackRecordsString -
      Returns:
    • getFallbackRecordByTableName

      public static MoveClient.FallbackRecord getFallbackRecordByTableName(List<MoveClient.FallbackRecord> records, String tableName, String foreignUUID)
      Get the fallback record associated to the tablename in the fallbackRecords list
      Parameters:
      fallbackRecords -
      tableName -
      foreignUUID -
      Returns: