Class ManagedFileContainer

    • Field Detail


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

        public static final java.lang.String MANAGED_FILE_RESOURCE_MANAGER_NAME
        This is the resource manager name for an attachment resource manager.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ManagedFileContainer

        public ManagedFileContainer()
        This method creates the attachment container.
    • Method Detail

      • singleton

        public static ResourceContainer singleton()
        This method returns the configured attachment container.
        The attachment container.
      • commit

        public void commit(ContentData contentData)
                    throws ResourceException
        This method promotes the content managed resource found in the workspace to the base edition. This method calls the executeContentManagedFilesEARUpdate after the changes have been promoted to the base.
        Specified by:
        commit in interface ResourceContainer
        commit in class AbstractResourceContainerImpl
        contentData - The content data to commit.
        ResourceException - This is thrown when there is a problem with the promote. The problem is most likely database-related and the exception will be wrapped in a ResourceException.