|
|||||||||||
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.versioning.VersionedACSObject
com.arsdigita.cms.ContentItem
com.arsdigita.cms.ContentPage
com.arsdigita.cms.formbuilder.FormItem
Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
|
static String |
CSS
|
static String |
FORM
|
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 |
Fields inherited from interface com.arsdigita.cms.dispatcher.XMLGenerator |
versionId |
Constructor Summary | |
FormItem()
|
|
FormItem(BigDecimal id)
|
|
FormItem(com.arsdigita.persistence.DataObject obj)
|
|
FormItem(com.arsdigita.persistence.OID oid)
|
|
FormItem(String typeName)
|
Method Summary | |
protected void |
beforeSave()
|
boolean |
copyProperty(com.arsdigita.cms.CustomCopy src,
com.arsdigita.persistence.metadata.Property property,
com.arsdigita.cms.ItemCopier copier)
|
void |
delete()
|
void |
generateXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent,
String useContext)
|
protected void |
generateXMLBody(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent,
com.arsdigita.bebop.Component c)
|
String |
getCSS()
This returns a string that can be used to locate a Cascading Style Sheet that can be used to style this item. |
com.arsdigita.formbuilder.PersistentForm |
getForm()
|
static FormItem |
getItemByName(com.arsdigita.cms.Folder folder,
String name)
|
protected com.arsdigita.bebop.Form |
instantiateForm(com.arsdigita.formbuilder.PersistentForm form,
boolean readOnly)
|
void |
setCSS(String css)
This sets a string that can be used to locate a Cascading Style Sheet that can be used to style this item. |
Methods inherited from class com.arsdigita.cms.ContentPage |
getBaseDataObjectType, 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, canPublishToFS, copy, copy, 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, 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 |
public static final String BASE_DATA_OBJECT_TYPE
public static final String FORM
public static final String CSS
Constructor Detail |
public FormItem()
public FormItem(String typeName)
public FormItem(com.arsdigita.persistence.DataObject obj)
public FormItem(BigDecimal id) throws com.arsdigita.domain.DataObjectNotFoundException
public FormItem(com.arsdigita.persistence.OID oid) throws com.arsdigita.domain.DataObjectNotFoundException
Method Detail |
protected void beforeSave()
public void delete()
public boolean copyProperty(com.arsdigita.cms.CustomCopy src, com.arsdigita.persistence.metadata.Property property, com.arsdigita.cms.ItemCopier copier)
copyProperty
in interface com.arsdigita.cms.CustomCopy
public static FormItem getItemByName(com.arsdigita.cms.Folder folder, String name) throws com.arsdigita.domain.DataObjectNotFoundException
com.arsdigita.domain.DataObjectNotFoundException
public com.arsdigita.formbuilder.PersistentForm getForm()
public void setCSS(String css)
public String getCSS()
protected com.arsdigita.bebop.Form instantiateForm(com.arsdigita.formbuilder.PersistentForm form, boolean readOnly)
public void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent, String useContext)
generateXML
in interface com.arsdigita.cms.dispatcher.XMLGenerator
protected void generateXMLBody(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent, com.arsdigita.bebop.Component c)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |