com.arsdigita.cms.installer.xml
Class ContentTypeHelperImpl

java.lang.Object
  extended bycom.arsdigita.cms.installer.xml.ContentTypeHelperImpl
All Implemented Interfaces:
ContentTypeHelper
Direct Known Subclasses:
UDCTHelper

public class ContentTypeHelperImpl
extends Object
implements ContentTypeHelper


Constructor Summary
ContentTypeHelperImpl()
           
 
Method Summary
 void addAuthoringStep(String label, String description, String component, BigDecimal ordering)
          Deprecated.  
 void addAuthoringStep(String labelKey, String labelBundle, String descriptionKey, String descriptionBundle, String component, BigDecimal ordering)
           
 AuthoringKit createAuthoringKit()
           
 ContentType createType()
           
 AuthoringKit getAuthoringKit()
           
 String getClassName()
           
 ContentType getContentType()
           
 String getDescription()
          Deprecated. use getLabelBundle and getLabelKey
 String getDescriptionBundle()
           
 String getDescriptionKey()
           
 String getLabel()
          Deprecated. use getLabelBundle and getLabelKey
 String getLabelBundle()
           
 String getLabelKey()
           
 String getObjectType()
           
 boolean isInternal()
           
 void saveType()
           
 void setClassName(String classname)
           
 void setCreateComponent(String createComponent)
           
 void setDescription(String description)
          Deprecated. use setLabelBundle and setLabelKey
 void setDescriptionBundle(String descriptionBundle)
          The descriptionBundle and descriptionKey work together to specify where to locate the given description.
 void setDescriptionKey(String descriptionKey)
          The descriptionBundle and descriptionKey work together to specify where to locate the given description.
 void setInternal(boolean internal)
           
 void setLabel(String label)
          Deprecated. use setLabelBundle and setLabelKey
 void setLabelBundle(String labelBundle)
          The labelBundle and labelKey work together to specify where to locate the given label.
 void setLabelKey(String labelKey)
          The labelBundle and labelKey work together to specify where to locate the given label.
 void setName(String name)
          Doesn't do anything
 void setObjectType(String objType)
           
 void setParentType(String parentType)
          Doesn't do anything
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeHelperImpl

public ContentTypeHelperImpl()
Method Detail

setLabel

public void setLabel(String label)
Deprecated. use setLabelBundle and setLabelKey

Specified by:
setLabel in interface ContentTypeHelper

getLabel

public String getLabel()
Deprecated. use getLabelBundle and getLabelKey

Specified by:
getLabel in interface ContentTypeHelper

setLabelBundle

public void setLabelBundle(String labelBundle)
The labelBundle and labelKey work together to specify where to locate the given label. These are the bundle and key use to create a GlobalizedMessage

Specified by:
setLabelBundle in interface ContentTypeHelper

getLabelBundle

public String getLabelBundle()
Specified by:
getLabelBundle in interface ContentTypeHelper

setLabelKey

public void setLabelKey(String labelKey)
The labelBundle and labelKey work together to specify where to locate the given label. These are the bundle and key use to create a GlobalizedMessage

Specified by:
setLabelKey in interface ContentTypeHelper

getLabelKey

public String getLabelKey()
Specified by:
getLabelKey in interface ContentTypeHelper

setInternal

public void setInternal(boolean internal)
Specified by:
setInternal in interface ContentTypeHelper

isInternal

public boolean isInternal()
Specified by:
isInternal in interface ContentTypeHelper

setDescription

public void setDescription(String description)
Deprecated. use setLabelBundle and setLabelKey

Specified by:
setDescription in interface ContentTypeHelper

getDescription

public String getDescription()
Deprecated. use getLabelBundle and getLabelKey

Specified by:
getDescription in interface ContentTypeHelper

setDescriptionBundle

public void setDescriptionBundle(String descriptionBundle)
The descriptionBundle and descriptionKey work together to specify where to locate the given description. These are the bundle and key use to create a GlobalizedMessage

Specified by:
setDescriptionBundle in interface ContentTypeHelper

getDescriptionBundle

public String getDescriptionBundle()
Specified by:
getDescriptionBundle in interface ContentTypeHelper

setDescriptionKey

public void setDescriptionKey(String descriptionKey)
The descriptionBundle and descriptionKey work together to specify where to locate the given description. These are the bundle and key use to create a GlobalizedMessage

Specified by:
setDescriptionKey in interface ContentTypeHelper

getDescriptionKey

public String getDescriptionKey()
Specified by:
getDescriptionKey in interface ContentTypeHelper

setObjectType

public void setObjectType(String objType)
Specified by:
setObjectType in interface ContentTypeHelper

getObjectType

public String getObjectType()
Specified by:
getObjectType in interface ContentTypeHelper

setClassName

public void setClassName(String classname)
Specified by:
setClassName in interface ContentTypeHelper

getClassName

public String getClassName()
Specified by:
getClassName in interface ContentTypeHelper

setCreateComponent

public void setCreateComponent(String createComponent)
Specified by:
setCreateComponent in interface ContentTypeHelper

getAuthoringKit

public AuthoringKit getAuthoringKit()
Specified by:
getAuthoringKit in interface ContentTypeHelper

getContentType

public ContentType getContentType()
Specified by:
getContentType in interface ContentTypeHelper

setName

public void setName(String name)
Doesn't do anything

Specified by:
setName in interface ContentTypeHelper

setParentType

public void setParentType(String parentType)
Doesn't do anything

Specified by:
setParentType in interface ContentTypeHelper

createType

public ContentType createType()
Specified by:
createType in interface ContentTypeHelper

createAuthoringKit

public AuthoringKit createAuthoringKit()
Specified by:
createAuthoringKit in interface ContentTypeHelper

addAuthoringStep

public void addAuthoringStep(String label,
                             String description,
                             String component,
                             BigDecimal ordering)
Deprecated.  

Specified by:
addAuthoringStep in interface ContentTypeHelper

addAuthoringStep

public void addAuthoringStep(String labelKey,
                             String labelBundle,
                             String descriptionKey,
                             String descriptionBundle,
                             String component,
                             BigDecimal ordering)
Specified by:
addAuthoringStep in interface ContentTypeHelper

saveType

public void saveType()
Specified by:
saveType in interface ContentTypeHelper


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