Deprecated Classes |
com.arsdigita.cms.ACSObjectSelectionModel
Use ACSObjectSelectionModel
Loads a subclass of an ACSObject from the database.
By default, uses a BigDecimal state parameter in order to
store and retrieve the item ID.
The getSelectedKey(PageState state) method will
return the BigDecimal ID of the currently selected object. This
method will return the ID even if the object with this ID does not
actually exist.
The getSelectedObject(PageState state) method will
return the object whose ID is getSelectedKey(PageState state). If
the object does not actually exist, the method will return
null.
Thus, it is possible to implement the following pattern:
ACSObjectSelectionModel model = new ACSObjectSelectionModel(....);
// ....
ACSObject obj;
if(model.isSelected(state)) {
obj = (ACSObject) model.getSelectedObject(state);
if (obj == null) {
// Create a new object
obj = model.createObject(model.getSelectedKey(state));
model.setSelectedObject(state, obj);
}
}
The createObject method is merely a convenience
method for instantiating the right subclass of
ACSObject .
Advanced Usage: The ACSObjectSelectionModel
is actually just a wrapper for a SingleSelectionModel which
maintains the currently selected object's ID as a BigDecimal . By default, a new ParameterSingleSelectionModel is wrapped in this way; however, any
SingleSelectionModel may be wrapped. Thus, it becomes
possible to use the ACSObjectSelectionModel even if
the currently selected ID is not stored in a state parameter. |
com.arsdigita.cms.ContentItemInstantiator
Use ACSObjectInstantiator
instead |
com.arsdigita.cms.ui.ContentItemRenderer
Use ContentItemPane instead
A Bebop component that takes a the ContentItem from the request and
renders it as XML. The XML can then be styled with XSL in order to insert the
object's properties into the page. |
com.arsdigita.cms.dispatcher.DefaultItemTemplateResolver
Included for compatibility with london code. use DefaultTemplateResolver instead |
com.arsdigita.cms.ui.DomainObjectRenderer
Use DomainObjectXMLRenderer instead |
com.arsdigita.cms.ui.formbuilder.FormsUserPage
use PageFactory |
com.arsdigita.cms.ui.HorizontalLine
with no replacement |
com.arsdigita.cms.ui.ItemPropertySheet
Use DomainObjectPropertySheet |
com.arsdigita.cms.ui.authoring.WorkflowLockedComponentAccess
Use com.arsdigita.cms.workflow.ui.WorkflowLockedComponentAccess |
Deprecated Methods |
com.arsdigita.cms.ui.ItemPropertySheet.add(String, String)
|
com.arsdigita.cms.ui.ItemPropertySheet.add(String, String, ItemPropertySheet.AttributeFormatter)
|
com.arsdigita.cms.installer.xml.ContentTypeHelperImpl.addAuthoringStep(String, String, String, BigDecimal)
|
com.arsdigita.cms.installer.xml.ContentTypeHelper.addAuthoringStep(String, String, String, BigDecimal)
|
com.arsdigita.cms.ACSObjectSelectionModel.addChangeListener(ChangeListener)
|
com.arsdigita.cms.ContentItem.assertMaster()
with no replacement |
com.arsdigita.cms.Security.canAccess(Party, String)
|
com.arsdigita.cms.dispatcher.ServiceDispatcher.checkUserAccess(HttpServletRequest, HttpServletResponse, RequestContext)
subclasses of ResourceHandler should check the
permissions directly on the ContentItem being served. This
method currently acts as a no-op |
com.arsdigita.cms.ACSObjectSelectionModel.clearSelection(PageState)
|
com.arsdigita.cms.ContentItem.copyProperty(ContentItem, String, ItemCopier)
use ContentItem.copyProperty(CustomCopy, Property, ItemCopier) instead |
com.arsdigita.cms.ItemSelectionModel.createACSObject(BigDecimal)
Use createACSObject() instead |
com.arsdigita.cms.ACSObjectSelectionModel.createACSObject(BigDecimal)
|
com.arsdigita.cms.ItemSelectionModel.createItem(BigDecimal)
use createItem() instead |
com.arsdigita.cms.AuthoringKit.createStep(String, String, String, BigDecimal)
|
com.arsdigita.cms.dispatcher.Utilities.disableBrowserCache(HttpServletResponse)
use com.arsdigita.dispatcher.DispatcherHelper.cacheDisable(HttpServletResponse) |
com.arsdigita.cms.ui.ItemPropertySheet.AttributeFormatter.format(ContentItem, String, PageState)
|
com.arsdigita.cms.Article.getCaption(ImageAsset)
Do not use this method, it will always return the
first available caption regardless of what image is in use. Use
ArticleImageAssnCollection.getCaption() or
ArticleImageAssociation.getCaption(). |
com.arsdigita.cms.dispatcher.CMSPage.getContentItem(HttpServletRequest)
use com.arsdigita.cms.CMS.getContext().getContentItem() instead |
com.arsdigita.cms.ui.ContentItemPage.getContentItem(PageState)
Use the ItemSelectionModel |
com.arsdigita.cms.dispatcher.CMSPage.getContentItem(PageState)
use com.arsdigita.cms.CMS.getContext().getContentItem() instead |
com.arsdigita.cms.ContentSection.getContentSection(ContentItem)
use ContentItem.getContentSection() instead |
com.arsdigita.cms.ContentSection.getContentSection(Folder)
use ContentItem.getContentSection() instead |
com.arsdigita.cms.ui.ContentItemPage.getContentSection(HttpServletRequest)
use com.arsdigita.cms.CMS.getContext().getContentSection() instead |
com.arsdigita.cms.dispatcher.CMSPage.getContentSection(HttpServletRequest)
use com.arsdigita.cms.CMS.getContext().getContentSection() instead |
com.arsdigita.cms.dispatcher.CMSPage.getContentSection(PageState)
use com.arsdigita.cms.CMS.getContext().getContentSection() instead |
com.arsdigita.cms.dispatcher.Utilities.getCurrentUser(HttpServletRequest)
use KernelContext.getParty() |
com.arsdigita.cms.dispatcher.CMSPage.getCurrentUser(PageState)
Use Kernel.getContext().getParty() if possible and
Web.getContext().getUser() if necessary. |
com.arsdigita.cms.SectionTemplateMapping.getDefaultTemplate(ContentSection, ContentType, String)
use getDefaultTemplates with the MimeType or use the
collection since there can be one default per mime type per context |
com.arsdigita.cms.TemplateManager.getDefaultTemplate(ContentSection, ContentType, String)
Use getDefaultTemplate(ContentSection, ContentType, String, MimeType) |
com.arsdigita.cms.installer.xml.ContentTypeHelperImpl.getDescription()
use getLabelBundle and getLabelKey |
com.arsdigita.cms.installer.xml.ContentTypeHelper.getDescription()
|
com.arsdigita.cms.ui.ItemPropertySheet.getItemSelectionModel()
|
com.arsdigita.cms.ACSObjectSelectionModel.getJavaClass()
|
com.arsdigita.cms.AuthoringStep.getLabel()
use setLabelKey and setLabelBundle instead |
com.arsdigita.cms.installer.xml.ContentTypeHelperImpl.getLabel()
use getLabelBundle and getLabelKey |
com.arsdigita.cms.installer.xml.ContentTypeHelper.getLabel()
|
com.arsdigita.cms.ItemTemplateMapping.getMapping(ContentItem, String)
use getMapping(ContentItem item, String useContext, MimeType mimeType) |
com.arsdigita.cms.SectionTemplateMapping.getMapping(ContentSection, ContentType, Template, String)
use getMapping(ContentSection section, ContentType type, Template template, String useContext, MimeType mimeType) |
com.arsdigita.cms.ACSObjectSelectionModel.getObjectType()
|
com.arsdigita.cms.ContentPage.getPagesInSectionQuery(ContentSection, String)
This doesn't filter its results based on the
permissions of the current user. Use
getPagesInSectionQuery( ContentSection s, String context,
OID userOID ) instead. |
com.arsdigita.cms.ContentPage.getPagesInSectionQuery(ContentSection, String, Category)
This doesn't filter its results based on the permissions of
the current user. Use getPagesInSectionQuery( ContentSection s, String context, Category cat, OID userOID )
instead. |
com.arsdigita.cms.ContentSection.getRootCategory()
use Category.getRootForObject(com.arsdigita.kernel.ACSObject) instead |
com.arsdigita.cms.ACSObjectSelectionModel.getSelectedKey(PageState)
|
com.arsdigita.cms.DomainObjectSelectionModel.getSelectedObject(PageState)
|
com.arsdigita.cms.ACSObjectSelectionModel.getSelectedObject(PageState)
|
com.arsdigita.cms.ACSObjectSelectionModel.getSingleSelectionModel()
|
com.arsdigita.cms.ACSObjectSelectionModel.getStateParameter()
|
com.arsdigita.cms.ItemTemplateMapping.getTemplate(ContentItem, String)
use getTemplate(ContentItem item, String useContext, MimeType mimeType) |
com.arsdigita.cms.dispatcher.DefaultTemplateResolver.getTypeTemplate(ContentSection, ContentItem, HttpServletRequest)
Use the version that specifies a mime type |
com.arsdigita.cms.ContentItem.getWorkingVersion()
use ContentItem.getDraftVersion() instead |
com.arsdigita.cms.ACSObjectSelectionModel.isInitialized(PageState)
|
com.arsdigita.cms.ACSObjectSelectionModel.isSelected(PageState)
|
com.arsdigita.cms.ui.ItemPropertySheet.properties()
|
com.arsdigita.cms.ACSObjectSelectionModel.removeChangeListener(ChangeListener)
|
com.arsdigita.cms.installer.xml.ContentTypeHelperImpl.setDescription(String)
use setLabelBundle and setLabelKey |
com.arsdigita.cms.installer.xml.ContentTypeHelper.setDescription(String)
|
com.arsdigita.cms.lifecycle.Phase.setEndTime(Long)
use setEndDate(new Date(time)) |
com.arsdigita.cms.AuthoringStep.setLabel(String)
use setLabelKey and setLabelBundle instead |
com.arsdigita.cms.installer.xml.ContentTypeHelperImpl.setLabel(String)
use setLabelBundle and setLabelKey |
com.arsdigita.cms.installer.xml.ContentTypeHelper.setLabel(String)
|
com.arsdigita.cms.ContentPage.setPagesQueryParameters(String, ContentSection, String)
This doesn't filter its results based on the permissions of
the current user. Use setPagesQueryParameters( String name, ContentSection s, String context, OID userOID )
instead. |
com.arsdigita.cms.ContentSection.setRootCategory(Category)
use Category.setRootForObject(com.arsdigita.kernel.ACSObject, com.arsdigita.categorization.Category) instead |
com.arsdigita.cms.ACSObjectSelectionModel.setSelectedKey(PageState, Object)
|
com.arsdigita.cms.DomainObjectSelectionModel.setSelectedObject(PageState, DomainObject)
|
com.arsdigita.cms.ACSObjectSelectionModel.setSelectedObject(PageState, DomainObject)
|
com.arsdigita.cms.lifecycle.Phase.setStartTime(Long)
use setStartDate(new Date(time)) |