com.ibm.commerce.foundation.server.command.bod
Interface AbstractProcessNounActionCmd
-
- All Superinterfaces:
- com.ibm.websphere.command.Command, java.io.Serializable
- All Known Subinterfaces:
- ProcessActionCatalogCmd, ProcessActionCatalogEntryCmd, ProcessActionCatalogGroupCmd, ProcessActivityActionCmd, ProcessCampaignActionCmd, ProcessCatalogEntryActionCmd, ProcessCatalogFilterActionCmd, ProcessCatalogGroupActionCmd, ProcessClientLocationActionCmd, ProcessGiftListActionCmd, ProcessInstallmentRuleActionCmd, ProcessInventoryRequirementActionCmd, ProcessLayoutActionCmd, ProcessMarketingContentActionCmd, ProcessMarketingEmailTemplateActionCmd, ProcessMarketingSpotActionCmd, ProcessMarketingTriggerActionCmd, ProcessMemberGroupActionCmd, ProcessOnlineStoreActionCmd, ProcessPageActionCmd, ProcessPointOfInterestActionCmd, ProcessPromotionActionCmd, ProcessSearchTermAssociationActionCmd, ProcessSubscriptionActionCmd, ProcessWalletActionCmd, ProcessWalletItemActionCmd
- All Known Implementing Classes:
- AbstractProcessCatalogActionCmdImpl, AbstractProcessCatalogGroupLinkActionCmdImpl, AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpl, AbstractProcessCustomActionUsingBusinessObjectMediatorCmdImpl, AbstractProcessDeleteActionUsingBusinessObjectMediatorCmdImpl, AbstractProcessInventoryRequirementActionCmdImpl, AbstractProcessNounActionCmdImpl, com.ibm.commerce.foundation.celadon.common.oagis.CeladonProcessCreateActionUsingBusinessObjectMediatorCmdImpl, com.ibm.commerce.foundation.celadon.common.oagis.CeladonProcessDeleteActionUsingBusinessObjectMediatorCmdImpl, ProcessActivityActivateActionCmdImpl, ProcessActivityAddActionCmdImpl, ProcessActivityDeactivateActionCmdImpl, ProcessActivityDeleteActionCmdImpl, ProcessActivityProcessWinnerActionCmdImpl, ProcessCampaignAddActionCmdImpl, ProcessCampaignDeleteActionCmdImpl, ProcessCatalogCreateActionCmdImpl, ProcessCatalogDeleteActionCmdImpl, ProcessCatalogEntryCreateActionCmdImpl, ProcessCatalogEntryDeleteActionCmdImpl, ProcessCatalogFilterCreateActionCmdImpl, ProcessCatalogFilterDeleteActionCmdImpl, ProcessCatalogGroupCopyActionCmdImpl, ProcessCatalogGroupCreateActionCmdImpl, ProcessCatalogGroupDeleteActionCmdImpl, ProcessCatalogGroupLinkActionCmdImpl, ProcessCatalogGroupUnLinkActionCmdImpl, ProcessClientLocationCreateActionCmdImpl, ProcessClientLocationCreateActionCmdImplExtended, ProcessClientLocationDeleteActionCmdImpl, ProcessClientLocationDeleteActionCmdImplExtended, ProcessExternalInventoryRequirementCheckInventoryActionWithUOMCmdImpl, ProcessGiftListAnnounceActionCmdImpl, ProcessGiftListAuthenticateActionCmdImpl, ProcessGiftListCompleteActionCmdImpl, ProcessGiftListCreateActionCmdImpl, ProcessGiftListDeleteActionCmdImpl, ProcessInstallmentRuleActivateActionCmdImpl, ProcessInstallmentRuleAddActionCmdImpl, ProcessInstallmentRuleCreateActionCmdImpl, ProcessInstallmentRuleDeactivateActionCmdImpl, ProcessInstallmentRuleDeleteActionCmdImpl, ProcessInventoryRequirementCancelInventoryReservationActionCmdImpl, ProcessInventoryRequirementCheckInventoryActionCmdImpl, ProcessInventoryRequirementDecrementCacheActionCmdImpl, ProcessInventoryRequirementReserveInventoryActionCmdImpl, ProcessLayoutCreateActionCmdImpl, ProcessLayoutDeleteActionCmdImpl, ProcessMarketingContentAddActionCmdImpl, ProcessMarketingContentDeleteActionCmdImpl, ProcessMarketingEmailTemplateAddActionCmdImpl, ProcessMarketingEmailTemplateDeleteActionCmdImpl, ProcessMarketingSpotAddActionCmdImpl, ProcessMarketingSpotDeleteActionCmdImpl, ProcessMarketingTriggerActionCmdImpl, ProcessMarketingTriggerClearEntireCacheActionCmdImpl, ProcessMarketingTriggerClearMarketingCacheActionCmdImpl, ProcessMarketingTriggerClearUserBehaviorCacheActionCmdImpl, ProcessMarketingTriggerClickActionCmdImpl, ProcessMarketingTriggerEvaluateActionCmdImpl, ProcessMarketingTriggerEvaluateForTargetActionCmdImpl, ProcessMarketingTriggerEvaluateForTriggerActionCmdImpl, ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl, ProcessMarketingTriggerEvaluateOrderActionCmdImpl, ProcessMarketingTriggerLoadTriggerFiltersActionCmdImpl, ProcessMarketingTriggerRecordActionCmdImpl, ProcessMarketingTriggerSaveStatisticsActionCmdImpl, ProcessMarketingTriggerSendActionCmdImpl, ProcessMarketingTriggerSendTriggersActionCmdImpl, ProcessMemberGroupActivateActionCmdImpl, ProcessMemberGroupAddActionCmdImpl, ProcessMemberGroupDeleteActionCmdImpl, ProcessMemberGroupDeleteAllMembersActionCmdImpl, ProcessOnlineStoreCloseActionCmdImpl, ProcessOnlineStoreOpenActionCmdImpl, ProcessPageCreateActionCmdImpl, ProcessPageDeleteActionCmdImpl, ProcessPointOfInterestCreateActionCmdImpl, ProcessPointOfInterestDeleteActionCmdImpl, ProcessPromotionActivateActionCmdImpl, ProcessPromotionArchiveActionCmdImpl, ProcessPromotionCreateActionCmdImpl, ProcessPromotionDeactivateActionCmdImpl, ProcessPromotionDeleteActionCmdImpl, ProcessSearchTermAssociationCreateActionCmdImpl, ProcessSearchTermAssociationDeleteActionCmdImpl, ProcessSubscriptionActivateActionCmdImpl, ProcessSubscriptionCancelActionCmdImpl, ProcessSubscriptionCreateActionCmdImpl, ProcessWalletCreateActionCmdImpl, ProcessWalletDeleteActionCmdImpl, ProcessWalletItemCreateActionCmdImpl, ProcessWalletItemDeleteActionCmdImpl, ProcessWalletMigrateActionCmdImpl
public interface AbstractProcessNounActionCmd extends com.ibm.websphere.command.Command
The purpose of this interface is to represent a command that understands how to perform a particular process action on a noun.
The command is given the noun and action expression to peform. The command is given the opportunity to perform some preprocessing logic and indicate the amount of data to retrieve in order to perform the process action. When the command is executed it is given the persistent objects which represents the data that is managed by the controller. The command implementation performs the business logic associated with the process action to perform.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM Copyright notice field.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description boolean
isGeneric()
This method returns true if the command can be run as a generic user, otherwise false.void
setActionExpression(ActionExpression processAction)
This method sets theActionExpression
to perform.void
setNoun(java.lang.Object noun)
This method sets the noun that is acted upon as part of the process action.void
setPersistentObjects(java.util.Map persistentObjects)
This method sets the persistent objects that were retrieved by the controller that can be used when executing the command.void
validate()
This method performs any additional validation on the action expressions specified.
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
IBM Copyright notice field.- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
void validate() throws AbstractApplicationException
This method performs any additional validation on the action expressions specified.- Throws:
AbstractApplicationException
- A problem occurred while preprocessing the request. This problem could because of some validation logic performed which the action specified is not valid.
-
setNoun
void setNoun(java.lang.Object noun)
This method sets the noun that is acted upon as part of the process action.- Parameters:
noun
- The noun to act upon.
-
setActionExpression
void setActionExpression(ActionExpression processAction)
This method sets theActionExpression
to perform. These change actions contain the noun to execute the process action on and the control parameters that are part of that action.- Parameters:
processAction
- The action expression to perform.
-
setPersistentObjects
void setPersistentObjects(java.util.Map persistentObjects)
This method sets the persistent objects that were retrieved by the controller that can be used when executing the command. This persistent objects is saved at the end of the controller and the command only needs to update these objects with the changed information.- Parameters:
persistentObjects
- The persistent objects that were retrieved by the controller.
-
isGeneric
boolean isGeneric()
This method returns true if the command can be run as a generic user, otherwise false. The default implementation will return true.- Returns:
- true if the command can run as a generic user, otherwise false.
-
-