com.arsdigita.cms.contenttypes
Class FAQItem

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.FAQItem
All Implemented Interfaces:
com.arsdigita.auditing.Audited, com.arsdigita.cms.CustomCopy

public class FAQItem
extends com.arsdigita.cms.ContentPage

This content type represents a FAQItem.

Version:
$Revision: #6 $ $Date: 2004/04/07 $

Field Summary
static String ANSWER
          PDL property name for answer
static String BASE_DATA_OBJECT_TYPE
          Data object type for this domain object
static String QUESTION
          PDL property name for question
static String SECTION_NAME
          PDL property for name of section
 
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
FAQItem()
           
FAQItem(BigDecimal id)
           
FAQItem(com.arsdigita.persistence.DataObject obj)
           
FAQItem(com.arsdigita.persistence.OID id)
           
FAQItem(String type)
           
 
Method Summary
 void beforeSave()
           
 String getAnswer()
           
 String getQuestion()
           
 String getSearchSummary()
           
 String getSectionName()
           
 void setAnswer(String answer)
           
 void setQuestion(String question)
           
 void setSectionName(String sn)
           
 
Methods inherited from class com.arsdigita.cms.ContentPage
getBaseDataObjectType, getContentBundle, getDisplayName, getLaunchDate, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getTitle, setLaunchDate, setName, setPagesQueryParameters, setPagesQueryParameters, setTitle
 
Methods inherited from class com.arsdigita.cms.ContentItem
addCategory, addPendingVersion, afterSave, assertDraft, assertLive, assertMaster, assertPending, beforeDelete, 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, initialize, 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

QUESTION

public static final String QUESTION
PDL property name for question

See Also:
Constant Field Values

ANSWER

public static final String ANSWER
PDL property name for answer

See Also:
Constant Field Values

SECTION_NAME

public static final String SECTION_NAME
PDL property for name of section

See Also:
Constant Field Values

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
Data object type for this domain object

See Also:
Constant Field Values
Constructor Detail

FAQItem

public FAQItem()

FAQItem

public FAQItem(BigDecimal id)
        throws com.arsdigita.domain.DataObjectNotFoundException

FAQItem

public FAQItem(com.arsdigita.persistence.OID id)
        throws com.arsdigita.domain.DataObjectNotFoundException

FAQItem

public FAQItem(com.arsdigita.persistence.DataObject obj)

FAQItem

public FAQItem(String type)
Method Detail

beforeSave

public void beforeSave()

getQuestion

public String getQuestion()

setQuestion

public void setQuestion(String question)

getSectionName

public String getSectionName()

setSectionName

public void setSectionName(String sn)

getAnswer

public String getAnswer()

setAnswer

public void setAnswer(String answer)

getSearchSummary

public String getSearchSummary()


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