com.arsdigita.populate.cms
Class CreateContentPage

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

public abstract class CreateContentPage
extends AbstractCreateContentItem


Constructor Summary
CreateContentPage(Class itemClass, String name)
           
 
Method Summary
protected  com.arsdigita.cms.ContentPage createItem()
          Creates a basic multi-lingual item in english
protected  com.arsdigita.cms.ContentPage createItem(String language)
          Creates a basic multi-lingual item.
protected  com.arsdigita.cms.ContentBundle getContentBundle()
           
 com.arsdigita.cms.ContentItem getContentItem()
          Method getContentItem.
 com.arsdigita.cms.ContentPage getContentPage()
           
 String getContentType()
          Method getContentType.
 String getContentTypeName()
          Method getContentTypeName.
protected  com.arsdigita.cms.ContentItem getParent()
           
protected  com.arsdigita.cms.ContentSection getSection()
           
protected  com.arsdigita.cms.ContentPage instantiateItem()
           
abstract  void makeContent()
          Method makeContent.
 void publish()
          Publishes now.
 void publish(Date pubDate)
           
 void setup(String sIdentifier, com.arsdigita.cms.ContentItem parent, com.arsdigita.cms.ContentSection section)
          Method 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

CreateContentPage

public CreateContentPage(Class itemClass,
                         String name)
Method Detail

setup

public void setup(String sIdentifier,
                  com.arsdigita.cms.ContentItem parent,
                  com.arsdigita.cms.ContentSection section)
Description copied from interface: CreateContentItem
Method setup. Call first to do setup work

Specified by:
setup in interface CreateContentItem
Specified by:
setup in class AbstractCreateContentItem
See Also:
CreateContentItem.setup(String, ContentItem, ContentSection)

makeContent

public abstract 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 AbstractCreateContentItem
See Also:
CreateContentItem.makeContent()

publish

public void publish()
Publishes now.

Specified by:
publish in interface CreateContentItem
Specified by:
publish in class AbstractCreateContentItem
See Also:
publish(Date)

publish

public void publish(Date pubDate)
See Also:
CreateContentItem.publish()

getContentType

public String getContentType()
Description copied from interface: CreateContentItem
Method getContentType.

Specified by:
getContentType in interface CreateContentItem
Specified by:
getContentType in class AbstractCreateContentItem
See Also:
CreateContentItem.getContentType()

getContentTypeName

public String getContentTypeName()
Description copied from interface: CreateContentItem
Method getContentTypeName.

Specified by:
getContentTypeName in interface CreateContentItem
Specified by:
getContentTypeName in class AbstractCreateContentItem
See Also:
CreateContentItem.getContentTypeName()

getContentItem

public com.arsdigita.cms.ContentItem getContentItem()
Description copied from interface: CreateContentItem
Method getContentItem. Returns the created content item, or null if it has not been created yet

Specified by:
getContentItem in interface CreateContentItem
Specified by:
getContentItem in class AbstractCreateContentItem
See Also:
CreateContentItem.getContentItem()

getContentPage

public com.arsdigita.cms.ContentPage getContentPage()

getContentBundle

protected com.arsdigita.cms.ContentBundle getContentBundle()

getParent

protected com.arsdigita.cms.ContentItem getParent()

getSection

protected com.arsdigita.cms.ContentSection getSection()

instantiateItem

protected com.arsdigita.cms.ContentPage instantiateItem()

createItem

protected com.arsdigita.cms.ContentPage createItem()
Creates a basic multi-lingual item in english


createItem

protected com.arsdigita.cms.ContentPage createItem(String language)
Creates a basic multi-lingual item.

Parameters:
language - the items language


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