com.ibm.commerce.context.content.resources.file

Class ManagedFileResourceManager

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ManagedFileResourceManager

        public ManagedFileResourceManager()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • getManagedResourceKey

        public ManagedResourceKey getManagedResourceKey(EntityBeanCreationData data)
                                                 throws java.lang.Exception
        This method returns the business object key based on the specified entity creation data.
        Parameters:
        data - The managed file entity creation data.
        Returns:
        The business object key that contains the internal file id.
        Throws:
        java.lang.Exception
        See Also:
        com.ibm.commerce.context.content.resources.AbstractEntityBeanResourceManagerImpl#getBusinessObjectKey(com.ibm.commerce.context.content.objects.EntityCreationData)
      • getManagedResourceKey

        public ManagedResourceKey getManagedResourceKey(java.lang.Object resource)
                                                 throws java.lang.Exception
        This method returns the business object key based on the specified resource.
        Parameters:
        resource - The Managed File Access bean.
        Returns:
        The business object key that contains the internal file id.
        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.context.content.resources.AbstractResourceManagerImpl#getBusinessObjectKey(java.lang.Object)
      • getManagedResourceKey

        public ManagedResourceKey getManagedResourceKey(java.util.Map record)
                                                 throws java.lang.Exception
        This method returns the business object key. This business object key is the long value of the CMFILE_ID in the map.
        Parameters:
        record - A map that represents the business object.
        Returns:
        A business object key
        Throws:
        java.lang.Exception
      • getAppName

        public java.lang.String getAppName()
        This method returns the appName.
        Returns:
        The appName.
      • setAppName

        public void setAppName(java.lang.String theAppName)
        This method sets the appName.
        Parameters:
        theAppName - The appName to set.
      • getModuleName

        public java.lang.String getModuleName()
        This method gets the moduleName.
        Returns:
        The moduleName.
      • setModuleName

        public void setModuleName(java.lang.String theModuleName)
        This method sets the moduleName.
        Parameters:
        theModuleName - The moduleName to set.