|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.kernel.Resource
com.arsdigita.web.Application
com.arsdigita.faq.Faq
Faq class.
Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
|
static String |
versionId
|
Fields inherited from class com.arsdigita.web.Application |
PRIMARY_URL |
Fields inherited from class com.arsdigita.kernel.Resource |
CHILD_RESOURCE, DESCRIPTION, PARENT_RESOURCE, RESOURCE_TYPE, TIMESTAMP, TITLE |
Fields inherited from class com.arsdigita.kernel.ACSObject |
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE |
Constructor Summary | |
Faq(BigDecimal key)
|
|
Faq(com.arsdigita.persistence.DataObject dataObject)
|
|
Faq(com.arsdigita.persistence.OID oid)
|
Method Summary | |
static Faq |
create(String urlName,
String title,
com.arsdigita.web.Application parent)
Use this instead of the constructor to create new Faq objects |
QAPair |
createQuestion(String question,
String answer)
|
QAPair |
createQuestion(String question,
String answer,
String answerFormat)
Deprecated. use createQuestion(String, TypedText) instead |
QAPair |
createQuestion(String question,
com.arsdigita.util.TypedText answer)
|
protected String |
getBaseDataObjectType()
|
com.arsdigita.persistence.DataAssociation |
getQAPairs()
|
Methods inherited from class com.arsdigita.web.Application |
afterDelete, beforeSave, createApplication, createApplication, createRootApplication, getAncestorApplications, getApplicationType, getCanonicalURL, getChildApplications, getChildApplicationsForType, getContainingApplication, getContextPath, getCurrentApplication, getPackageType, getParentApplication, getPath, getPrimaryURL, getRelevantPrivileges, getServletPath, getSiteNode, getStylesheetPath, isInstalled, retrieveAllApplications, retrieveApplication, retrieveApplication, retrieveApplication, retrieveApplicationForPath, retrieveApplicationForSiteNode, setApplicationType, setParentApplication, setPath |
Methods inherited from class com.arsdigita.kernel.Resource |
afterSave, createResource, createResource, getChildResources, getContainer, getContainingResource, getDescription, getDisplayName, getParentResource, getResourceType, getTimestamp, getTitle, isContainerModified, retrieveAllResources, retrieveResource, retrieveResource, retrieveResource, setDescription, setParentResource, setResourceType, setTitle |
Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getDefaultDomainClass, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, setID, setID |
Methods inherited from class com.arsdigita.domain.ObservableDomainObject |
addObserver, getObservers |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String versionId
public static final String BASE_DATA_OBJECT_TYPE
Constructor Detail |
public Faq(com.arsdigita.persistence.OID oid) throws com.arsdigita.domain.DataObjectNotFoundException
public Faq(BigDecimal key) throws com.arsdigita.domain.DataObjectNotFoundException
public Faq(com.arsdigita.persistence.DataObject dataObject)
Method Detail |
protected String getBaseDataObjectType()
public static Faq create(String urlName, String title, com.arsdigita.web.Application parent)
public QAPair createQuestion(String question, String answer)
public QAPair createQuestion(String question, String answer, String answerFormat)
public QAPair createQuestion(String question, com.arsdigita.util.TypedText answer)
public com.arsdigita.persistence.DataAssociation getQAPairs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |