com.arsdigita.populate.cms
Class CreateMultiPartArticle

java.lang.Object
  extended bycom.arsdigita.populate.cms.AbstractCreateContentItem
      extended bycom.arsdigita.populate.cms.CreateContentPage
          extended bycom.arsdigita.populate.cms.CreateMultiPartArticle
All Implemented Interfaces:
CreateContentItem
Direct Known Subclasses:
CreateTextMultiPartArticle

public class CreateMultiPartArticle
extends CreateContentPage


Constructor Summary
CreateMultiPartArticle()
           
CreateMultiPartArticle(Class itemClass, String name)
           
 
Method Summary
 void makeContent()
          Method makeContent.
protected  void makeImageSection(com.arsdigita.cms.contenttypes.MultiPartArticle article, int iIndex)
          Creates an image article section andd adds it to the article
protected  void makeTextSection(com.arsdigita.cms.contenttypes.MultiPartArticle article, int iIndex)
          Creates a text article section and adds it to the article
 
Methods inherited from class com.arsdigita.populate.cms.CreateContentPage
createItem, createItem, getContentBundle, getContentItem, getContentPage, getContentType, getContentTypeName, getParent, getSection, instantiateItem, publish, publish, setup
 
Methods inherited from class com.arsdigita.populate.cms.AbstractCreateContentItem
createImageAsset, createReusableImageAsset, createTextAsset, createTextAsset, createTextAsset, finishTasks, getAdminUser, makeTextBody, makeTextBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateMultiPartArticle

public CreateMultiPartArticle()

CreateMultiPartArticle

public CreateMultiPartArticle(Class itemClass,
                              String name)
Method Detail

makeContent

public void makeContent()
Description copied from interface: CreateContentItem
Method makeContent. Creates the content for the content item

Specified by:
makeContent in interface CreateContentItem
Specified by:
makeContent in class CreateContentPage
See Also:
CreateContentItem.makeContent()

makeImageSection

protected void makeImageSection(com.arsdigita.cms.contenttypes.MultiPartArticle article,
                                int iIndex)
Creates an image article section andd adds it to the article


makeTextSection

protected void makeTextSection(com.arsdigita.cms.contenttypes.MultiPartArticle article,
                               int iIndex)
Creates a text article section and adds it to the article



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:0021 UTC