Class SavePersistentEntitySubCommand

java.lang.Object
com.ptc.core.command.common.bean.AbstractCommand
com.ptc.core.command.common.bean.AbstractServerCommand
com.ptc.core.command.common.bean.entity.AbstractEntityCommand
com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
com.ptc.core.command.common.bean.entity.SavePersistentEntitySubCommand
All Implemented Interfaces:
Command, com.ptc.core.command.common.ServerCommand, Externalizable, Serializable

public class SavePersistentEntitySubCommand extends com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand implements Externalizable


Supported API: true

Extendable: true
See Also:
  • Constructor Details

    • SavePersistentEntitySubCommand

      public SavePersistentEntitySubCommand()
      Creates a new instance.

      Supported API: true
  • Method Details

    • initialize

      public void initialize(SavePersistentEntityCommand save_command) throws CommandException


      Supported API: true
      Parameters:
      save_command -
      Throws:
      CommandException
    • getCurrentIndex

      public int getCurrentIndex()


      Supported API: true
      Returns:
      int
    • getIndex

      public int getIndex(TypeInstanceIdentifier the_type_instance_identifier)


      Supported API: true
      Parameters:
      the_type_instance_identifier -
      Returns:
      int
    • getIndex

      public int getIndex(AssociationTypeIdentifier the_association_type_identifier, TypeInstanceIdentifier the_type_instance_identifier, int start_index)


      Supported API: true
      Parameters:
      the_association_type_identifier -
      the_type_instance_identifier -
      start_index -
      Returns:
      int
    • getTypeInstance

      public TypeInstance getTypeInstance(int the_index)


      Supported API: true
      Parameters:
      the_index -
      Returns:
      TypeInstance
    • isHandled

      public boolean isHandled(int the_index)


      Supported API: true
      Parameters:
      the_index -
      Returns:
      boolean
    • persist

      public TypeInstance persist(TypeInstance the_source) throws CommandException


      Supported API: true
      Parameters:
      the_source -
      Returns:
      TypeInstance
      Throws:
      CommandException
    • processReplacements

      public void processReplacements(TypeInstance replacing_type_instance, int the_index)


      Supported API: true
      Parameters:
      replacing_type_instance -
      the_index -
    • mergeResult

      public void mergeResult(TypeInstance result_type_instance, int the_index)


      Supported API: true
      Parameters:
      result_type_instance -
      the_index -
    • makeHandled

      public void makeHandled(int the_index)


      Supported API: true
      Parameters:
      the_index -
    • addGlobalReplacement

      public void addGlobalReplacement(TypeInstanceIdentifier old_id, TypeInstanceIdentifier new_id)


      Supported API: true
      Parameters:
      old_id -
      new_id -
    • getGlobalReplacements

      public Map getGlobalReplacements()


      Supported API: true
      Returns:
      Map