|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.populate.cms.AbstractCreateContentItem
Copyright (C) 2001, 2002, 2003 Red Hat Inc. All Rights Reserved. The contents of this file are subject to the CCM Public License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.redhat.com/licenses/ccmpl.html Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
Constructor Summary | |
AbstractCreateContentItem()
|
Method Summary | |
protected com.arsdigita.cms.ImageAsset |
createImageAsset(String sName,
com.arsdigita.cms.ContentItem parent)
Method createImageAsset. |
protected com.arsdigita.cms.ReusableImageAsset |
createReusableImageAsset(String sName,
com.arsdigita.cms.ContentItem parent)
Method createImageAsset. |
protected com.arsdigita.cms.TextAsset |
createTextAsset(String sName,
com.arsdigita.cms.ContentItem parent)
Method createTextAsset. |
protected com.arsdigita.cms.TextAsset |
createTextAsset(String sName,
com.arsdigita.cms.ContentItem parent,
int iIndex)
Method createTextAsset. |
protected com.arsdigita.cms.TextAsset |
createTextAsset(String sName,
com.arsdigita.cms.ContentItem parent,
String sText)
Method createTextAsset. |
protected void |
finishTasks(com.arsdigita.workflow.simple.Workflow w)
Method finishTasks. |
protected com.arsdigita.kernel.User |
getAdminUser()
Method getAdminUser. |
abstract com.arsdigita.cms.ContentItem |
getContentItem()
Method getContentItem. |
abstract String |
getContentType()
Method getContentType. |
abstract String |
getContentTypeName()
Method getContentTypeName. |
abstract void |
makeContent()
Method makeContent. |
protected String |
makeTextBody()
Method makeTextBody. |
protected String |
makeTextBody(int iIndex)
Method makeTextBody. |
abstract void |
publish()
Method publish. |
abstract void |
setup(String sIdentifier,
com.arsdigita.cms.ContentItem parent,
com.arsdigita.cms.ContentSection section)
Method setup. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractCreateContentItem()
Method Detail |
public abstract void setup(String sIdentifier, com.arsdigita.cms.ContentItem parent, com.arsdigita.cms.ContentSection section)
CreateContentItem
setup
in interface CreateContentItem
sIdentifier
- the title of the content item. This should be unique
across content itemsparent
- the parent of the created content tems. Should usually be
a Folder.section
- the content section in which to place the content itemCreateContentItem.setup(String, ContentItem, ContentSection)
public abstract void makeContent()
CreateContentItem
makeContent
in interface CreateContentItem
CreateContentItem.makeContent()
public abstract void publish()
CreateContentItem
publish
in interface CreateContentItem
CreateContentItem.publish()
public abstract String getContentType()
CreateContentItem
getContentType
in interface CreateContentItem
CreateContentItem.getContentType()
public abstract String getContentTypeName()
CreateContentItem
getContentTypeName
in interface CreateContentItem
CreateContentItem.getContentTypeName()
public abstract com.arsdigita.cms.ContentItem getContentItem()
CreateContentItem
getContentItem
in interface CreateContentItem
CreateContentItem.getContentItem()
protected String makeTextBody(int iIndex)
iIndex
- an index to place at the beginning of the returned string
in order to make it unique
protected String makeTextBody()
protected com.arsdigita.cms.ImageAsset createImageAsset(String sName, com.arsdigita.cms.ContentItem parent)
sName
- name of the ImageAssetparent
- the ImageAsset's parent
protected com.arsdigita.cms.ReusableImageAsset createReusableImageAsset(String sName, com.arsdigita.cms.ContentItem parent)
sName
- name of the ImageAssetparent
- the ImageAsset's parent
protected com.arsdigita.cms.TextAsset createTextAsset(String sName, com.arsdigita.cms.ContentItem parent, String sText)
sName
- name of the TextAssetsText
- the text of the TextAssetparent
- the parent of the TextAsset
protected com.arsdigita.cms.TextAsset createTextAsset(String sName, com.arsdigita.cms.ContentItem parent)
sName
- name of the TextAssetparent
- parent of the TextAsset
protected com.arsdigita.cms.TextAsset createTextAsset(String sName, com.arsdigita.cms.ContentItem parent, int iIndex)
sName
- name of the TextAssetparent
- parent of the TextAssetiIndex
- integer to make the text of the TextAsset unique
protected com.arsdigita.kernel.User getAdminUser()
protected void finishTasks(com.arsdigita.workflow.simple.Workflow w)
w
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |