com.arsdigita.cms.contenttypes
Class ArticleSection

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.versioning.VersionedACSObject
                  extended bycom.arsdigita.cms.ContentItem
                      extended bycom.arsdigita.cms.ContentPage
                          extended bycom.arsdigita.cms.contenttypes.ArticleSection
All Implemented Interfaces:
com.arsdigita.auditing.Audited, com.arsdigita.cms.CustomCopy

public class ArticleSection
extends com.arsdigita.cms.ContentPage

Represents a section within a MultiPartArticle

Version:
$Id: //cms/content-types/mparticle/dev/src/com/arsdigita/cms/contenttypes/ArticleSection.java#6 $
Author:
Dave Turner

Field Summary
static String BASE_DATA_OBJECT_TYPE
           
static String IMAGE
           
static String PAGE_BREAK
           
static String RANK
           
static String TEXT
          attributes names
 
Fields inherited from class com.arsdigita.cms.ContentPage
LAUNCH_DATE, PAGES_IN_CATEGORY, PAGES_IN_FOLDER, QUERY_CATEGORY_ID, QUERY_PAGE, QUERY_ROOT_ID, QUERY_TYPE, SUMMARY, TITLE, versionId
 
Fields inherited from class com.arsdigita.cms.ContentItem
ANCESTORS, AUDITING, CHILDREN, CONTENT_SECTION, CONTENT_TYPE, DRAFT, DRAFT_VERSION, LANGUAGE, LIVE, NAME, PARENT, PENDING, VERSION, VERSIONS
 
Fields inherited from class com.arsdigita.versioning.VersionedACSObject
IS_DELETED, MASTER
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
ArticleSection()
          Default constructor.
ArticleSection(BigDecimal id)
          Constructor.
ArticleSection(com.arsdigita.persistence.DataObject obj)
          Constructor.
ArticleSection(com.arsdigita.persistence.OID id)
          Constructor.
ArticleSection(String type)
          Constructor.
 
Method Summary
 String getBaseDataObjectType()
           
 com.arsdigita.cms.ImageAsset getImage()
          Accessor.
 Integer getRank()
          Accessor.
 com.arsdigita.cms.TextAsset getText()
          Accessor.
 void initialize()
           
 boolean isPageBreak()
           
 void setImage(com.arsdigita.cms.ImageAsset image)
          Mutator.
 void setPageBreak(boolean val)
           
 void setRank(Integer rank)
          Mutator.
 void setText(com.arsdigita.cms.TextAsset text)
          Mutator..
 
Methods inherited from class com.arsdigita.cms.ContentPage
getContentBundle, getDisplayName, getLaunchDate, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getSearchSummary, getTitle, setLaunchDate, setName, setPagesQueryParameters, setPagesQueryParameters, setTitle
 
Methods inherited from class com.arsdigita.cms.ContentItem
addCategory, addPendingVersion, afterSave, assertDraft, assertLive, assertMaster, assertPending, beforeDelete, beforeSave, canPublishToFS, copy, copy, copyProperty, copyProperty, copyServices, copyServicesFrom, createLiveVersion, createPendingVersion, get, getCategories, getCategoryCollection, getChildren, getContentSection, getContentType, getCreationDate, getCreationIP, getCreationUser, getDraftVersion, getLanguage, getLastModifiedDate, getLastModifiedIP, getLastModifiedUser, getLifecycle, getLiveVersion, getLocale, getName, getParent, getPath, getPathInfo, getPathInfo, getPathNoJsp, getPendingVersions, getPublicVersion, getVersion, getWorkingVersion, isDraftVersion, isLive, isLiveVersion, isPendingVersion, isPublished, makeCopy, promotePendingVersion, publish, publishToFS, removeCategory, removeLifecycle, removePendingVersion, set, setContentSection, setContentType, setDefaultCategory, setLanguage, setLifecycle, setLive, setLiveVersion, setParent, setVersion, setVersionRecursively, unpublish, unpublishFromFS
 
Methods inherited from class com.arsdigita.versioning.VersionedACSObject
applyTag, applyUniqueTag, autoPropagateMaster, getMaster, getRolledBackTo, getTransactions, getTransactions, isMaster, isRolledBack, isSubtype, permanentlyDelete, propagateMaster, recordAttributeChange, rollBackTo, rollBackTo, rollForward, save, setMaster, trackChanges
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, clear, delete, disconnect, equals, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TEXT

public static final String TEXT
attributes names

See Also:
Constant Field Values

IMAGE

public static final String IMAGE
See Also:
Constant Field Values

RANK

public static final String RANK
See Also:
Constant Field Values

PAGE_BREAK

public static final String PAGE_BREAK
See Also:
Constant Field Values

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
See Also:
Constant Field Values
Constructor Detail

ArticleSection

public ArticleSection()
Default constructor.


ArticleSection

public ArticleSection(BigDecimal id)
               throws com.arsdigita.domain.DataObjectNotFoundException
Constructor. Retrieves an object instance with the given id.

Parameters:
id - the id of the object to retrieve

ArticleSection

public ArticleSection(com.arsdigita.persistence.OID id)
               throws com.arsdigita.domain.DataObjectNotFoundException
Constructor. Retrieves an object instance with the given OID.

Parameters:
id - the id of the object to retrieve

ArticleSection

public ArticleSection(com.arsdigita.persistence.DataObject obj)
Constructor. Creates an ArticleSection domain object using the object data given.

Parameters:
obj - the object data to use

ArticleSection

public ArticleSection(String type)
Constructor. Construct an object with the given type.

Method Detail

getBaseDataObjectType

public String getBaseDataObjectType()

getRank

public Integer getRank()
Accessor. Get this item's rank in the set of ArticleSections


setRank

public void setRank(Integer rank)
Mutator. Set this item's rank.


getText

public com.arsdigita.cms.TextAsset getText()
Accessor. Get the text associated with this item.


setText

public void setText(com.arsdigita.cms.TextAsset text)
Mutator.. Set the text associated with this item.


getImage

public com.arsdigita.cms.ImageAsset getImage()
Accessor. Get the image associated with this item.


setImage

public void setImage(com.arsdigita.cms.ImageAsset image)
Mutator. Set the image associated with this item.


initialize

public void initialize()

isPageBreak

public boolean isPageBreak()

setPageBreak

public void setPageBreak(boolean val)


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