com.ibm.commerce.attachment.content.resources

Class AttachmentAssetResourceManager

    • Constructor Detail

      • AttachmentAssetResourceManager

        public AttachmentAssetResourceManager()
    • Method Detail

      • getUniqueInstance

        public static AttachmentAssetResourceManager getUniqueInstance()
        Retrieve the singleton of the resource manager.
        Returns:
        Resource Manager
      • getEntityCreationData

        public EntityBeanCreationData getEntityCreationData(java.lang.Object businessObject)
                                                     throws java.lang.Exception
        Retrieve the EntityCreationData of the Attachment Asset
        Parameters:
        businessObject - The AttachmentAssetAccessBean
        Returns:
        The EntityCreationData of the Attachment Asset
        Throws:
        Any - exception captured
        java.lang.Exception
        See Also:
        com.ibm.commerce.content.resources.ManagedResourceManager#getEntityCreationData(Object)
      • getManagedResourceKey

        public ManagedResourceKey getManagedResourceKey(java.lang.Object businessObject)
                                                 throws java.lang.Exception
        Retrieve the ManagedResourceKey for the Attachment Asset. The ManagedResourceKey consists of the Attachment Asset ID.
        Specified by:
        getManagedResourceKey in interface ResourceManager
        Parameters:
        businessObject - The AttachmentAssetAccessBean
        Returns:
        The ManagedResourceKey of the Attachment Asset
        Throws:
        Any - exception captured
        java.lang.Exception - This is thrown if a problem occurs when obtaining the managed resource key for the record.
        See Also:
        com.ibm.commerce.content.resources.ManagedResourceManager#getManagedResourceKey(Object)
      • getManagedResourceKey

        public ManagedResourceKey getManagedResourceKey(EntityBeanCreationData ecd)
                                                 throws java.lang.Exception
        Retrieve the ManagedResourceKey for the Attachment Asset. The ManagedResourceKey consists of the Attachment Asset ID.
        Parameters:
        ecd - The AttachmentAssetEntityCreationData
        Returns:
        The ManagedResourceKey of the Attachment Asset
        Throws:
        Any - exception captured
        java.lang.Exception
        See Also:
        com.ibm.commerce.content.resources.ManagedResourceManager#getManagedResourceKey(EntityCreationData)
      • getManagedResourceKey

        public ManagedResourceKey getManagedResourceKey(java.util.Map boKeyMap)
                                                 throws java.lang.Exception
        Retrieve the ManagedResourceKey for the Attachment Asset. The ManagedResourceKey consists of the Attachment Asset ID.
        Specified by:
        getManagedResourceKey in interface ResourceManager
        Parameters:
        boKeyMap - The key consists of the primary key of ATCHAST, which is the ATCHAST_ID.
        Returns:
        The ManagedResourceKey of the Attachment Asset
        Throws:
        Any - exception captured
        java.lang.Exception - This is thrown if a problem occurs when obtaining the managed resource key for the record.
        See Also:
        com.ibm.commerce.content.resources.ManagedResourceManager#getManagedResourceKey(Map)