com.ibm.commerce.foundation.server.command.bod
Interface AbstractChangeNounPartActionCmd
-
- All Superinterfaces:
- com.ibm.websphere.command.Command, java.io.Serializable
- All Known Subinterfaces:
- AbstractSyncNounPartActionCmd, ChangeActivityPartCmd, ChangeAttachmentPartActionCmd, ChangeCampaignElementPartCmd, ChangeCampaignPartCmd, ChangeCatalogEntryPartCmd, ChangeCatalogFilterPartActionCmd, ChangeCatalogGroupPartCmd, ChangeCatalogPartCmd, ChangeClientLocationPartActionCmd, ChangeGiftListPartActionCmd, ChangeInstallmentRulePartActionCmd, ChangeInstallmentRulePartCmd, ChangeInventoryAvailabilityPartCmd, ChangeLayoutPartActionCmd, ChangeMarketingContentPartCmd, ChangeMarketingEmailTemplatePartCmd, ChangeMarketingSpotPartCmd, ChangeMemberGroupPartActionCmd, ChangeMemberGroupPartCmd, ChangeOnlineStorePartActionCmd, ChangePagePartActionCmd, ChangePointOfInterestPartActionCmd, ChangePromotionPartCmd, ChangeSearchTermAssociationPartActionCmd, ChangeSubscriptionPartActionCmd, ChangeWalletItemPartActionCmd, ChangeWalletPartActionCmd
- All Known Implementing Classes:
- AbstractChangeCatalogEntryPartCmdImpl, AbstractChangeCatalogGroupCatalogEntryPartCmdImpl, AbstractChangeCatalogGroupParentCmdImpl, AbstractChangeCatalogGroupPartCmdImpl, AbstractChangeCatalogPartCmdImpl, AbstractChangeMemberGroupMemberPartCmdImpl, AbstractChangeNounPartActionCmdImpl, AbstractChangeNounPartUsingBusinessObjectMediatorCmdImpl, com.ibm.commerce.foundation.celadon.common.oagis.CeladonChangeNounPartUsingBusinessObjectMediatorCmdImpl, com.ibm.commerce.foundation.celadon.common.oagis.CeladonChangeNounPartUsingCommandPipelineImpl, ChangeActivityPartCmdImpl, ChangeAttachmentAttachmentAssetActionCmdImpl, ChangeAttachmentAttachmentDescriptionActionCmdImpl, ChangeAttachmentBasePartActionCmdImpl, ChangeCampaignElementPartCmdImpl, ChangeCampaignPartCmdImpl, ChangeCatalogAttributesCmdImpl, ChangeCatalogDescriptionCmdImpl, ChangeCatalogEntryAssociationCmdImpl, ChangeCatalogEntryAttributeAllowedValuesCmdImpl, ChangeCatalogEntryAttributesCmdImpl, ChangeCatalogEntryDescriptionCmdImpl, ChangeCatalogEntryDisplaySequenceCmdImpl, ChangeCatalogEntryFulfillmentPropertiesCmdImpl, ChangeCatalogEntryIdentifierCmdImpl, ChangeCatalogEntryKitComponentCmdImpl, ChangeCatalogEntryListPriceCmdImpl, ChangeCatalogEntryParentCatentryCmdImpl, ChangeCatalogEntryParentCmdImpl, ChangeCatalogFilterBasePartCmdImpl, ChangeCatalogFilterCatalogGroupSelectionPartCmdImpl, ChangeCatalogFilterConditionGroupPartCmdImpl, ChangeCatalogFilterConditionPartCmdImpl, ChangeCatalogFilterConditionValuePartCmdImpl, ChangeCatalogFilterDescriptionCmdImpl, ChangeCatalogFilterProductSetSelectionPartCmdImpl, ChangeCatalogGroupAssociationCmdImpl, ChangeCatalogGroupAttributesCmdImpl, ChangeCatalogGroupBasePartCmdImpl, ChangeCatalogGroupDescriptionCmdImpl, ChangeCatalogGroupIdentifierCmdImpl, ChangeCatalogGroupNavigationRelationshipCmdImpl, ChangeCatalogGroupParentCmdImpl, ChangeCatalogGroupTaxonomyAttributeCmdImpl, ChangeCatalogIdentifierCmdImpl, ChangeClientLocationBasePartCmdImpl, ChangeClientLocationBasePartUsingCommandPipelineCmdImpl, ChangeGiftListAccessSpecifierPartCmdImpl, ChangeGiftListBasePartCmdImpl, ChangeGiftListCoRegistrantPartCmdImpl, ChangeGiftListDescriptionPartCmdImpl, ChangeGiftListEventInformationPartCmdImpl, ChangeGiftListItemPartCmdImpl, ChangeGiftListPurchaseRecordPartCmdImpl, ChangeGiftListRegistrantPartCmdImpl, ChangeInstallmentRuleBasePartCmdImpl, ChangeInstallmentRulePartCmdImpl, ChangeInventoryAvailabilityBasePartCmdImpl, ChangeLayoutBasePartCmdImpl, ChangeLayoutPageLocationPartCmdImpl, ChangeLayoutWidgetChildSlotPartCmdImpl, ChangeLayoutWidgetExtendedDataPartCmdImpl, ChangeLayoutWidgetPartCmdImpl, ChangeLayoutWidgetPropertyPartCmdImpl, ChangeMarketingContentAttachmentReferenceCmdImpl, ChangeMarketingContentDescriptionPartCmdImpl, ChangeMarketingContentImageMapAreaPartCmdImpl, ChangeMarketingContentImageMapPartCmdImpl, ChangeMarketingContentPartCmdImpl, ChangeMarketingEmailTemplatePartCmdImpl, ChangeMarketingSpotDefaultContentPartCmdImpl, ChangeMarketingSpotPartCmdImpl, ChangeMarketingSpotTitlePartCmdImpl, ChangeMemberGroupBasePartCmdImpl, ChangeMemberGroupConditionElementNVPPartCmdImpl, ChangeMemberGroupConditionElementPartCmdImpl, ChangeMemberGroupDescriptionPartCmdImpl, ChangeMemberGroupExcludedOrganizationPartCmdImpl, ChangeMemberGroupExcludedPersonPartCmdImpl, ChangeMemberGroupIncludedOrganizationPartCmdImpl, ChangeMemberGroupIncludedPersonPartCmdImpl, ChangeOnlineStoreBasePartCmdImpl, ChangeOnlineStoreContactInfoPartCmdImpl, ChangeOnlineStoreDescriptionPartCmdImpl, ChangeOnlineStoreLocationInfoPartCmdImpl, ChangePageBasePartCmdImpl, ChangePageSEOPropertiesCmdImpl, ChangePageSEOURLCmdImpl, ChangePointOfInterestBasePartCmdImpl, ChangePriceListPriceEntryActionCmdImpl, ChangePromotionBasePartCmdImpl, ChangePromotionDescriptionPartCmdImpl, ChangePromotionElementPartCmdImpl, ChangeSearchTermAssociationBasePartCmdImpl, ChangeWalletBasePartCmdImpl, ChangeWalletItemBasePartCmdImpl
public interface AbstractChangeNounPartActionCmd extends com.ibm.websphere.command.Command
The purpose of this interface is to represent a command that understands how to perform a change operation a particular part of the noun.
This interface represents the command that will preform the change actions on a particular part of the noun. This command is given the noun to work upon and a list of
ActionExpression
objects. Each action expression will represent a change operation on a common type that is part of the noun. Each action expression will contain the instance of the noun part to apply the operation on.
-
-
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 void
addActionExpression(java.lang.Object noun, ActionExpression changeAction)
This method add the list ofActionExpression
to perform against the specified noun.boolean
isGeneric()
This method returns true if the command can be run as a generic user, otherwise false.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
-
addActionExpression
void addActionExpression(java.lang.Object noun, ActionExpression changeAction)
This method add the list ofActionExpression
to perform against the specified noun. These change actions contain the the part of the noun to change and the operation associated with that part.- Parameters:
noun
- The noun to apply the action expressions againsts.changeAction
- The action expressions 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. These persistent objects are 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.
-
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.
-
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.
-
-