Package com.ibm.commerce.attachment.commands

Provides the controller and task commands used for Attachment.

See: Description

  • Interface Summary 
    Interface Description
    AddAttachmentAssetCmd
    Interface for the command AddAttachmentAsset
    AddAttachmentRelationCmd
    Interface for the command AddAttachmentRelation
    AddAttachmentTargetCmd
    Interface for the command AddAttachmentTarget
    AttachmentAddCmd
    Interface for AttachmentAdd command
    AttachmentDeleteCmd
    Interface for AttachmentDelete command
    AttachmentRelationBaseAddCmd
    Interface for AttachmentRelationBaseAdd command.
    AttachmentRelationBaseDeleteCmd
    Interface for AttachmentRelationBaseDelete command.
    AttachmentRelationBaseUpdateCmd
    Interface for AttachmentRelationBaseUpdate command.
    AttachmentUpdateCmd
    Interface for AttachmentUpdate command
    DeleteAttachmentAssetCmd
    Interface for the command DeleteAttachmentAsset
    DeleteAttachmentRelationCmd
    Interface for the command DeleteAttachmentRelation
    DeleteAttachmentTargetCmd
    Interface for the command DeleteAttachmentTarget
    ManagedFileDeleteCmd
    This controller command is used to delete managed files.
    UpdateAttachmentAssetCmd
    Interface for the task command UpdateAttachmentAsset This task command updates an attachment asset.
    UpdateAttachmentRelationCmd
    Interface for the command UpdateAttachmentRelation.
    UpdateAttachmentTargetCmd
    Interface for the command UpdateAttachmentTarget.
    WriteManagedFileCmd
    Interface for the command WriteManagedFile.
  • Class Summary 
    Class Description
    AddAttachmentAssetCmdImpl
    Create an attachment asset with the specified parameters.
    AddAttachmentRelationCmdImpl
    Creates an attachment relation with the specified parameters: The attachment object type ID of the business object. The primary key, as a string, of the business object. The attachment target ID. The attachment relation usage ID. The sequence.
    Behavior:
    Creates the attachment relation using the specified parameters Access Bean:
    AttachmentRelationAccessBean StoreEntityAccessBean Helper:
    AttachmentRelationHelper
    AddAttachmentTargetCmdImpl
    Create an attachment target with the specified parameters.
    AttachmentAddCmdImpl
    The AttachmentAddCmd is a URL and controller command that: Creates a new Attachment Target. Creates new Attachment Target Descriptions. Creates new Attachment Asset for the Attachment Target. Creates new Attachment Asset Languages for each Attachment Asset in the Attachment Target. Creates new managed file with the attachment asset path as the file path When this command is called through URL: Only one attachment target description can be created. Only one attachment asset and one language for the attachment asset will be created. Managed file will not be created. When this command is called as a command: the vector of AttachmentTargetDescriptionDataBean will be used to create multiple target descriptions. the vector of AttachmentAssetDataBean will be used to create multiple assets and all the asset languages. when command is called using databeans, if any of the parameters are not specified, it will be set to null.
    AttachmentDeleteCmdImpl
    The AttachmentDeleteCmd is a URL and controller command that: Deletes an Attachment Target.
    AttachmentRelationBaseAddCmdImpl
    The AttachmentRelationBaseAddCmd is a base URL and controller command for the business object attachment relationship that: Adds a new attachment relation for the specified object. Add the descriptions for the attachment relation.
    AttachmentRelationBaseDeleteCmdImpl
    An abstract implementation for the controller command to delete an Attachment Relation for a given business object.
    AttachmentRelationBaseUpdateCmdImpl
    The AttachmentRelationBaseUpdateCmd is a base command for the business object attachment relationship URL and controller command that: Updates a new attachment relation for the specified object. Update the descriptions for the attachment relation.
    AttachmentUpdateCmdImpl
    The AttachmentUpdateCmd is a URL and controller command that: Updates an Attachment Target. Updates Attachment Target Descriptions. Delete the lists of unwanted attachment assets. Updates Attachment Assets for the Attachment Target. Updates Attachment Asset Languages for each Attachment Asset in the Attachment Target. Updates the content of the managed file that the attachment asset is pointed to by the attachment asset path. When this command is called through URL: Create Missing option is set to true by default and cannot be changed when the command is called through URL. Only one attachment target description can be update, with one attachment asset and one language for the attachment asset. Attachment asset cannot be deleted from attachment target. Only 1 attachment asset can be updated. 1 asset language can be added to the attachment asset. 1 asset language can be removed from the attachment asset. Only data provided by the caller will be updated.
    DeleteAttachmentAssetCmdImpl
    Deletes an attachment asset with the specified parameters.
    DeleteAttachmentRelationCmdImpl
    Deletes an attachment relation with the specified parameters.
    DeleteAttachmentTargetCmdImpl
    Deletes an attachment target with the specified parameters.
    Behaviour: If the attachment targe ID is not specified, then it will use the identifier, store entity ID, and member ID to find the attachment target.
    ManagedFileDeleteCmdImpl
    This is the default implementation of the controller command ManagedFileDeleteCmd.
    UpdateAttachmentAssetCmdImpl
    Updates an attachment asset with the specified parameters.
    UpdateAttachmentRelationCmdImpl
    Updates an attachment relation with the specified parameters.
    UpdateAttachmentTargetCmdImpl
    Updates an attachment target.
    Behaviour:
    Updates the attachment target with the specified attachment target ID.
    WriteManagedFileCmdImpl
    The command implementation of the command WriteManagedFile.

Package com.ibm.commerce.attachment.commands Description

Provides the controller and task commands used for Attachment.