Class UndoCheckoutFromVaultCommand

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.vc.AbstractIterationEntityCommand
com.ptc.core.command.common.bean.vc.AbstractVaultCommand
com.ptc.core.foundation.vc.wip.common.UndoCheckoutFromVaultCommand
All Implemented Interfaces:
Command, com.ptc.core.command.common.ServerCommand, Externalizable, Serializable

public class UndoCheckoutFromVaultCommand extends com.ptc.core.command.common.bean.vc.AbstractVaultCommand implements Externalizable


Supported API: true

Extendable: true
See Also:
  • Constructor Details

    • UndoCheckoutFromVaultCommand

      public UndoCheckoutFromVaultCommand()
      Creates a new instance.

      Supported API: true
  • Method Details

    • setComment

      public void setComment(String note) throws UnsupportedOperationException
      Overrides inherited accessor to throw UnsupportedOperationException. Since a checkout is being undone, what remains is what existed prior to the checkout. Thus, an undo checkout comment is not applicable.

      Supported API: true
      Overrides:
      setComment in class com.ptc.core.command.common.bean.vc.AbstractVaultCommand
      Parameters:
      note -
      Throws:
      UnsupportedOperationException
    • getComment

      public String getComment() throws UnsupportedOperationException
      Overrides inherited accessor to throw UnsupportedOperationException. Since a checkout is being undone, what remains is what existed prior to the checkout. Thus, an undo checkout comment is not applicable.

      Supported API: true
      Overrides:
      getComment in class com.ptc.core.command.common.bean.vc.AbstractVaultCommand
      Returns:
      String
      Throws:
      UnsupportedOperationException
    • setTargetId

      public void setTargetId(String note) throws UnsupportedOperationException
      Overrides inherited accessor to throw UnsupportedOperationException. Since a checkout is being undone, what remains is what existed prior to the checkout. Thus, attempting to apply an identifier as the target of an undo checkout is not applicable.

      Supported API: true
      Overrides:
      setTargetId in class com.ptc.core.command.common.bean.vc.AbstractIterationEntityCommand
      Parameters:
      note -
      Throws:
      UnsupportedOperationException
    • getTargetId

      public String getTargetId() throws UnsupportedOperationException
      Overrides inherited accessor to throw UnsupportedOperationException. Since a checkout is being undone, what remains is what existed prior to the checkout. Thus, attempting to apply an identifier as the target of an undo checkout is not applicable.

      Supported API: true
      Overrides:
      getTargetId in class com.ptc.core.command.common.bean.vc.AbstractIterationEntityCommand
      Returns:
      String
      Throws:
      UnsupportedOperationException