com.ibm.commerce.context.content

Class ContentContextFactory

  • java.lang.Object
    • com.ibm.commerce.context.content.ContentContextFactory


  • public class ContentContextFactory
    extends java.lang.Object
    Factory to create the content context object.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static ContentContext getContentContext(java.lang.String workspaceName)
      Returns a content context based on the specified workspace name.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • getContentContext

        public static ContentContext getContentContext(java.lang.String workspaceName)
                                                throws ResourceException
        Returns a content context based on the specified workspace name.
        Parameters:
        workspaceName - The workspace name.
        Returns:
        A content context.
        Throws:
        ResourceException - A problem creating the content context. Possible problems include resolving an available schema for the specified workspace.