com.ail.core.product.updateproduct
Class UpdateProductCommand
java.lang.Object
com.ail.core.Type
com.ail.core.command.AbstractCommand
com.ail.core.command.Command
com.ail.core.product.updateproduct.UpdateProductCommand
- All Implemented Interfaces:
- CommandArg, UpdateProductArg, java.io.Serializable, java.lang.Cloneable
public class UpdateProductCommand
- extends Command
- implements UpdateProductArg
- Version:
- $Revision$
- Author:
- $Author$
- See Also:
- Serialized Form
| Methods inherited from class com.ail.core.Type |
addAttribute, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateProductCommand
public UpdateProductCommand()
setArgs
public void setArgs(CommandArg arg)
- Description copied from class:
AbstractCommand
- Update this Command object's arguments with those taken from the command
arg passed in. This is in effect a bulk setter. This interface will be
implemented by beans that have many more getters/setters to support
their properties. The implementations of this method take 'that', and
pull all the relevant properties into this.
- Specified by:
setArgs in class AbstractCommand
- Parameters:
arg - Source for arguments
getArgs
public CommandArg getArgs()
- Description copied from class:
AbstractCommand
- Get the argument set associated with this command.
- Specified by:
getArgs in class AbstractCommand
- Returns:
- This objects arguments.
getProductDetailsArg
public ProductDetails getProductDetailsArg()
- Details of the product to be removed from the registry.
- Specified by:
getProductDetailsArg in interface UpdateProductArg
- Returns:
- @{inheritDoc}
setProductDetailsArg
public void setProductDetailsArg(ProductDetails productDetailsArg)
- Details of the product to be removed from the registry
- Specified by:
setProductDetailsArg in interface UpdateProductArg
- Parameters:
productsRet - @{inheritDoc}- See Also:
UpdateProductArg.getProductDetailsArg()
getProductNameArg
public java.lang.String getProductNameArg()
- The name of the product to be updated.
- Specified by:
getProductNameArg in interface UpdateProductArg
- Parameters:
getProductNameArg - @{inheritDoc}
- Returns:
- The name of the product to be updated.
setProductNameArg
public void setProductNameArg(java.lang.String productNameArg)
- The name of the product to be updated.
- Specified by:
setProductNameArg in interface UpdateProductArg
- Parameters:
productNameArg - @{inheritDoc}