com.ibm.commerce.attachment.content.resources

Class AttachmentTargetResourceManager

    • Constructor Detail

      • AttachmentTargetResourceManager

        public AttachmentTargetResourceManager()
    • Method Detail

      • getUniqueInstance

        public static AttachmentTargetResourceManager 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 Target
        Parameters:
        businessObject - The AttachmentTargetAccessBean
        Returns:
        The EntityCreationData of the Attachment Target
        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 Target. The ManagedResourceKey consists of the Attachment Target ID.
        Specified by:
        getManagedResourceKey in interface ResourceManager
        Parameters:
        businessObject - The AttachmentTargetAccessBean
        Returns:
        The ManagedResourceKey of the Attachment Target
        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 Target. The ManagedResourceKey consists of the Attachment Target ID.
        Parameters:
        ecd - The AttachmentTargetEntityCreationData
        Returns:
        The ManagedResourceKey of the Attachment Target
        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 Target. The ManagedResourceKey consists of the Attachment Target ID.
        Specified by:
        getManagedResourceKey in interface ResourceManager
        Parameters:
        boKeyMap - The key consists of the primary key of ATCHTGT, which is the ATCHTGT_ID.
        Returns:
        The ManagedResourceKey of the Attachment Asset Language
        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)