com.ibm.commerce.catalog.content.resources

Class CatalogGroupPageRelationResourceManager

    • Constructor Detail

      • CatalogGroupPageRelationResourceManager

        public CatalogGroupPageRelationResourceManager()
    • Method Detail

      • getEntityCreationData

        public EntityBeanCreationData getEntityCreationData(java.lang.Object ManagedResource)
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
        See Also:
        com.ibm.commerce.content.resources.ManagedResourceManager#getEntityCreationData(Object)
      • getManagedResource

        public java.lang.Object getManagedResource(java.lang.Object ecd)
                                            throws java.lang.Exception
        Returns the resource given the key supplied in the object.
        Parameters:
        ecd - The EntityCreationData object used to represent creating the managed resource.
        Returns:
        The object that represents the managed resource key.
        Throws:
        Problem - when resolving the managed resource key to the actual object.
        java.lang.Exception - any problem resolving the managed resource
      • getManagedResourceKey

        public ManagedResourceKey getManagedResourceKey(java.lang.Object managedResource)
                                                 throws java.lang.Exception
        Description copied from interface: ResourceManager
        This method returns the managed resource key.
        Specified by:
        getManagedResourceKey in interface ResourceManager
        Parameters:
        managedResource - The resource to return the managed resource key of.
        Returns:
        Returns a managed resource key
        Throws:
        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
        Throws:
        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
        Description copied from interface: ResourceManager
        This method returns the managed resource key.
        Specified by:
        getManagedResourceKey in interface ResourceManager
        Parameters:
        boKeyMap - A map that represents the managed resource.
        Returns:
        Returns a managed resource key
        Throws:
        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)
      • deleteRelatedManagedResources

        public void deleteRelatedManagedResources(ActivityToken activityToken,
                                                  java.lang.Object relatedResource)
                                           throws ResourceException
        Deletes all the catalog group page relation resources for the catalog group given content context.
        Specified by:
        deleteRelatedManagedResources in interface RelatedResourceManager
        Overrides:
        deleteRelatedManagedResources in class AbstractResourceManagerImpl
        Parameters:
        activityToken - The current activity.
        relatedResource - The related resource, a CatalogGroupAccessBean.
        Throws:
        java.lang.Exception - A problem when deleting the child resources.
        ResourceException - This is thrown if a problem occurs when deleting the child resources.
        See Also:
        com.ibm.commerce.content.resources.RelatedResourceManager#deleteRelatedManagedResources(ActivityToken, Object)
      • createRelatedManagedResources

        public void createRelatedManagedResources(ActivityToken activityToken,
                                                  java.lang.Object relatedResource,
                                                  java.lang.Object createData)
                                           throws ResourceException
        Description copied from interface: RelatedResourceManager
        Creates all the resources related to a given parent resource based on the original creation data.
        Specified by:
        createRelatedManagedResources in interface RelatedResourceManager
        Parameters:
        activityToken - The current activity.
        relatedResource - The parent resource.
        createData - The original creation data.
        Throws:
        ResourceException - on any problem creating resources
        See Also:
        com.ibm.commerce.content.resources.RelatedResourceManager#createRelatedManagedResources(ActivityToken, Object, Object)
      • updateRelatedManagedResources

        public void updateRelatedManagedResources(ActivityToken activityToken,
                                                  java.lang.Object relatedResource)
                                           throws ResourceException
        Description copied from interface: RelatedResourceManager
        Updates all the resources related to a given parent resource.
        Specified by:
        updateRelatedManagedResources in interface RelatedResourceManager
        Parameters:
        activityToken - The current activity.
        relatedResource - The parent resource.
        Throws:
        ResourceException - on any problem updating the child resources
        See Also:
        com.ibm.commerce.content.resources.RelatedResourceManager#updateRelatedManagedResources(ActivityToken, Object)