com.ptc.core.foundation.vc.wip.common
Class UndoCheckoutFromVaultCommand

java.lang.Object
  extended by com.ptc.core.command.common.bean.AbstractCommand
      extended by com.ptc.core.command.common.bean.AbstractServerCommand
          extended by com.ptc.core.command.common.bean.entity.AbstractEntityCommand
              extended by com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
                  extended by com.ptc.core.command.common.bean.vc.AbstractIterationEntityCommand
                      extended by com.ptc.core.command.common.bean.vc.AbstractVaultCommand
                          extended by com.ptc.core.foundation.vc.wip.common.UndoCheckoutFromVaultCommand
All Implemented Interfaces:
com.ptc.core.command.common.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:
Serialized Form

Constructor Summary
UndoCheckoutFromVaultCommand()
          Creates a new instance.
 
Method Summary
 String getComment()
          Overrides inherited accessor to throw UnsupportedOperationException.
 String getTargetId()
          Overrides inherited accessor to throw UnsupportedOperationException.
 void setComment(String note)
          Overrides inherited accessor to throw UnsupportedOperationException.
 void setTargetId(String note)
          Overrides inherited accessor to throw UnsupportedOperationException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndoCheckoutFromVaultCommand

public UndoCheckoutFromVaultCommand()
Creates a new instance.

Supported API: true

Method Detail

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