public class ProcessCatalogEntryCreateActionCmdImpl extends AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpl implements ProcessCatalogEntryActionCmd
| Constructor and Description |
|---|
ProcessCatalogEntryCreateActionCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
This methods calls the catalog entry mediator
to create the catalog entry.
|
void |
read() |
void |
save()
Saves the changes associated with the catalog entry creattion.
|
void |
validate()
Data validations for this command
The following validations are done.
1.Validate if the store in context is not a Channel Hub Store.
2.Validate if the catalog in context is the master catalog.
3.Validate that the catalog entry identifier and catalog entry type
are provided for creating and that the catalog entry type is valid.
4.
|
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediatorgetActionExpression, getNoun, isGeneric, isReadyToCallExecute, reset, setActionExpression, setNoun, setPersistentObjectsexecute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisGeneric, setActionExpression, setNoun, setPersistentObjectspublic ProcessCatalogEntryCreateActionCmdImpl()
public void performExecute()
throws java.lang.Exception
performExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpljava.lang.Exceptionpublic void validate()
throws CatalogApplicationException
validate in interface AbstractProcessNounActionCmdvalidate in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImplCatalogApplicationExceptionAbstractProcessNounActionCmd.validate()public void read()
throws AbstractApplicationException
AbstractApplicationExceptioncom.ibm.commerce.foundation.server.command.bod.AbstractProcessNounActionCmd#read()public void save()
throws AbstractApplicationException
AbstractApplicationException