|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
ACSObject domain objects, based on the object
type and the Java class name.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.
ACSObjectSelectionModel
ImageDisplay to display the first
(according to the order attribute) image associated with an Article
The typical usage for this component is
ArticleImageDisplay
authoring steps that are used for
authoring a particular content type.authoring kit.authoring
steps.true is passed in) or that are draft items
(if false) is passed in.
LifecycleService components
VersionCopier to determine whether to
publish associated items when an item goes live.
Page
implementation of the ResourceHandler
interface.ACSObject.ListModel that iterates over categories via a cursor.CategoryCollectionListModel
CategoryCollectionListModel
ListModel that iterates over categories via an iteratorCategoryIteratorListModel
ListModel that iterates over categories via an iteratorCategoryPurposeIteratorListModel
CategoryTemplateMappingsDataObject is retrieved
from the persistent storage mechanism using the
specified OID.
DataObject is retrieved
from the persistent storage mechanism using the
specified BigDecimal ID and ObjectType of "CategoryTemplateMapping".
DataObject.
DataObject is
initialized with a new DataObject with an
ObjectType specified by the string
type.
DataObject
argument.
ACSObjectInstantiator
insteadContentItem 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.ContentItemRenderer.
content
item with the additional attributes name and title.DomainObjectTextRenderer to extract search content for any
subclass of ContentPage.DataTable that displays ContentPages based on the
passed-in query.ContentPanel component fetches
the XMLGenerator for the content
section.content sections.content types.content sections and content
types with particular publication lifecycles.workflow template registered to a content type within a content section.ToggleLink with a button-looking image
as a childCreationSelector.
DataObject to a proper
ACSObject subclass.
ACSObject to a proper
ACSObject subclass.
ContentItem to its proper subclass, based on the
values in its content type.
DataObject to a proper
ContentItem subclass.
DataObject to a proper
ContentItem subclass.
DomainObject to a proper
ContentItem subclass.
toClone
from top to bottom, expanding out nodes to clone, replicating nodes
to their specified depth, and then expanding out these new trees as
well.
content items, templates, content sections, and content types.content items.Authoring Kit user interface.authoring kit for a
content type.folders.ContentItem.true if the folder contains at least one
folder, false if the folder does not contain any
folders, but is either empty or contains only ordinary items.
object.
INSTANCES property for
ItemCopier.VERSION_COPY.
ContentItem.copyProperty(CustomCopy, Property, ItemCopier) instead
save
ACSObject.
ACSObject,
blatantly disregarding ObjectType.
ContentItemHelper.createContentItem(boolean)
so that new Items are saved in appropriate bundles.
TextAsset.
DataTable class in order
to construct a DataCollection during each requestdata query has no results.DomainService.ImageBrowserModel which displays all images in the
given ImageAssetCollectionImageBrowserModel by selecting all images which match the
given keyword.DefaultTemplateResolver insteadtemplate manager.DomainObjectRenderer.
DomainObjectRenderer.
DomainObjectSelectionModel
A SingleSelectionModel which loads an item from the database. The
SingleSelectionModel.isSelected(PageState) method will return true if
it was possible to load the item.
ElementAddForm.
ContentItem given a data object.
ElementAddForm.
ImageBrowserModel which is always emptyXMLContentItemHandler.cloneFolderTree(com.arsdigita.cms.installer.xml.XMLContentItemHandler.FolderTree, com.arsdigita.cms.Folder, com.arsdigita.cms.Folder, int, boolean, boolean, boolean, int) with the parameters
required to expand the FolderTree toClone with the parent
folder toAttachTo.
asset describing a concrete
file, such as an image./packages/cms/www).FolderManipulator in order to create a flat
item listing.FolderManipulator in order to create a flat
item listing.TreeModelBuilder that produces trees
containing the folder structure underneath a root folder.the item.
Duration.formatDuration(int).
item in the given section.
item in the given section.
item, using the given
templateContext.
item, using the given
templateContext.
ItemSelectionModel which will be used
to maintain the current text asset
AuthoringStep for the current position in
the collection.
Category for this
CategoryTemplateMapping
value.
ContentItem for the current position in
the collection.
ContentSection for this
CategoryTemplateMapping
ContentItem.getContentSection() instead
ContentItem.getContentSection() instead
MimeType for the current position in
the collection.
ContentType for this
CategoryTemplateMapping
LifecycleDefinition for the current position in
the collection.
KernelContext.getParty()
Link
DomainObject (the
ArticleImageAssociation for the current position in the
collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DomainObject for the current position in
the collection.
DRAFT version of this content item.
File for the current position in
the collection.
Image for the current position in
the collection.
Image for the current position in
the collection.
language or
null if no such instance exists.
String whether it is
internal or external.
null if the item does no longer exist.
ITEM_ID parameter from URL and
instantiates item according to this ID.
null, as folders do not have lifecycles.
LifecycleDefinition for the current position in
the collection.
LifecycleDefinition for the current position in
the collection.
Link
getPagesInSectionQuery( ContentSection s, String context, Category cat, OID userOID )
instead.
getPagesInSectionQuery( ContentSection s, String context,
OID userOID ) instead.
null if the item does no longer exist.
includeSelf is false)
or to the item itself otherwise.
ContentItem for the current position in
the collection.
PhaseDefinition for the current position in
the collection.
Category.getRootForObject(com.arsdigita.kernel.ACSObject) instead
ContentItem
ACSObject.
Link
Link
Link
target on the destination live server.
Link
TextPage.
Link
ContentItem.getDraftVersion() instead
instance is present in the bundle.
language.
SecurityManager for this
session.
asset representing an
image.ImageBrowserModel is an abstraction used by the
ImageBrowser class in order to display a table of images.ImageBrowserModel
This class will be supplied to the ImageBrowser
class in order to provide it with the model.ImageBrowser in order to
search images by keywordcontent
items.copyProperty method of CustomCopy
implementations.ItemLanguages.
ItemHistoryTable
ListModel that iterates over the passed in ItemCollection
This is an easy starting place for lists that need to dispaly items.GroupListModel
DomainObjectPropertySheetItemSearchSection which embedds
the form section in a form.ItemSearch component
ItemSearch for use in a popup
search window.ItemSearchPopup component
ResultsPane which will perform
the search and display the resultsItemSearchSection component
ItemSearchSection component
ItemSearchPopup designed to be
embedded in a form for use when javascript popup is not
available.ItemSearchSectionInline component
ContentItem from
the database.ItemSelectionModel.
ItemSelectionModel.
ItemSelectionModel.
ItemSelectionModel
ItemSelectionModel
ItemSelectionModel
ItemSelectionModel
ItemSelectionModel
ItemSelectionModel
TemplateResolver insteadSectionTemplatesListing
Dispatcher
that initializes this page.
Dispatcher
that initializes this page.
CategoryForm.CategoryMap with all categories which are assigned to
the item.
PurposeForm.PurposeMap with all purposes which are assigned to
the catgegory.
DomainObject)
constructors.
true if the renderer is in active mode.
true if this item is a DRAFT
version.
true if the folder is empty.
true if the current item in the collection is a
folder.
true if this item is a LIVE
version.
asset is local, and should therefore be
written to the file system as part of writing the item that contains
it.
true if this entry represents a move task.
true if this item is a
PENDING version.
true if this entry represents a publish task.
true if this entry represents a republish task.
true if this entry represents an unpublish task.
setLifecycleDefinition method.
add.
SecurityContainer around a child component.
LinkSelectionModel
ACSObject domain object
from the database
ACSObject domain object
from the database
CMSPage used for serving
content items.DataCollection for the DataTable to use
getRoot.
DataQuery that encapsulates
search results.
DataQuery that encapsulates
search results.
NameValidationListener.
NameValidationListener.
OrderedCategorizedObjectsList
onDelete method here.
onDelete method here.
CMS resources in a specific content section.setPhaseDefinition method.
setLifecycleDefinition method.
Resettable interface and
provides other useful methods.RessetableContainer.
RessetableContainer.
RessetableContainer.
ResourceType.Resource to a URL local to a
content section.asset representing a reusable
image.VersionedACSObject
so that changes are recorded even if the object is new
ContentSection.Security
An interface for making access checks within a content section.
PropertyEditor to provide
access control features.PropertyEditor.
PropertyEditor with the given
display component
SecurityPropertyEditor.AccessListModel during each
requestItemResolver.PageResolver.SingleImageSelectionModel
SingleImageSelectionModel
SingleImageSelectionModel
SingleImageSelectionModel
SortableList
UserTask.sendMessageToAssignees(Message)
Category for this
CategoryTemplateMapping
ComponentAccess for a component which has already
been added to the SecurityPropertyEditor.
ContentSection for this
CategoryTemplateMapping
ContentType for this
CategoryTemplateMapping
Link
LifecycleDefinition.
TextPageForm and sets the default mime type.
TextPageForm and sets the default mime type.
Link
Link
setPagesQueryParameters( String name, ContentSection s, String context, OID userOID )
instead.
Category.setRootForObject(com.arsdigita.kernel.ACSObject, com.arsdigita.categorization.Category) instead
Link
Link
Link
Link
inUrl.
inUrl.
TemplateCreate component
TemplateManager.TextAsset.DataObject is
initialized with a new DataObject with an
ObjectType specified by the string
typeName.
DataObject is
initialized with a new DataObject with an
ObjectType specified by type.
DataObject is retrieved
from the persistent storage mechanism using the
specified OID.
ContentItem.
ComponentAccess implementation that respects workflow
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||