|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOGenericRecord
com.cassinidivision.oce.content.base._C_Content
com.cassinidivision.oce.content.C_Content
com.cassinidivision.oce.content.base._C_ContentContainer
com.cassinidivision.oce.content.C_ContentContainer
com.cassinidivision.oce.content.base._C_FeaturePage
com.cassinidivision.oce.content.C_FeaturePage
Class representing a page of content within a feature.
Pages may exist in several versions, with different content, so the class doesn't directly reference the page content; rather, only page versions are referenced.
| Nested Class Summary |
| Nested classes inherited from class com.webobjects.eocontrol.EOGenericRecord |
EOGenericRecord._DictionaryBinding, EOGenericRecord._LazyDictionaryBinding |
| Nested classes inherited from class com.webobjects.eocontrol.EOCustomObject |
EOCustomObject._BooleanFieldBinding, EOCustomObject._FieldBinding, EOCustomObject._LazyFieldBinding, EOCustomObject._NumberFieldBinding |
| Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCodingAdditions |
EOKeyValueCodingAdditions.DefaultImplementation, EOKeyValueCodingAdditions.Utility |
| Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCoding |
EOKeyValueCoding._BestBindingCreation, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCoding._StoredForwardingBinding |
| Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Nested classes inherited from class com.webobjects.eocontrol._EOPrivateMemento |
_EOPrivateMemento.DefaultImplementation |
| Field Summary |
| Fields inherited from class com.webobjects.eocontrol.EOGenericRecord |
_CLASS |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
_KeyPathSeparatorChar, KeyPathSeparator |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
| Constructor Summary | |
C_FeaturePage()
|
|
| Method Summary | |
NSArray |
acceptableClassesOfChildren()
Reports which classes of children are acceptable within the receiver. |
void |
appendExportXMLForPropertiesToString(StringBuffer returnString)
Calculates the export XML string for all properties (child tags and child text) owned by the receiver, and appends it to the given string. |
C_PageVersion |
authorizedPageVersionForDate(NSTimestamp aDate)
Retrieve the first "authorized" page version found; in other words, the first version with an effective date before or on the date specified. |
void |
awakeFromInsertion(EOEditingContext ec)
All newly-created content in the OCE system is immediately instantiated with the following values. |
C_Content |
copyIntoEC(EOEditingContext ec)
Extends the superclass copy functionality to include the deep copying of child content. |
void |
deleteChild(C_Content aChild)
Overrides the superclass implementation by refusing to delete the last version of a page. |
C_Content |
duplicateChild(C_Content aChild)
Creates a new copy of the specified child within the receiver, with an appropriate new (unique) name. |
StringBuffer |
exportXMLForAttributes()
Called during XML export: builds a StringBuffer holding all the attribute name="value" pairs for the receiver's XML. |
NSArray |
orderedChildren()
Sorts the children of the receiver by name. |
int |
pageIndex()
Retrieves the index of this page in the parent feature. |
C_PageVersion |
pageVersionForDate(NSTimestamp aDate)
Retrieve the first page version found with an effective date before or on the date specified. |
String |
sortField()
Provides a field which can be used to sort C_Content objects of any one type, by simply sorting on the given field alphabetically. |
void |
takeAttributesFromDictionary(NSDictionary pList)
Sets up the receiver's instance variables from given values. |
| Methods inherited from class com.cassinidivision.oce.content.base._C_FeaturePage |
appearsInIndex, ordering, setAppearsInIndex, setOrdering |
| Methods inherited from class com.cassinidivision.oce.content.base._C_ContentContainer |
addToChildren, children, removeFromChildren, setChildren |
| Methods inherited from class com.cassinidivision.oce.content.base._C_Content |
addToXmlAttributes, className, creationDate, modificationDate, name, parent, removeFromXmlAttributes, setClassName, setCreationDate, setModificationDate, setName, setParent, setXmlAttributes, setXmlLabel, xmlAttributes, xmlLabel |
| Methods inherited from class com.webobjects.eocontrol.EOGenericRecord |
__setClassDescription, _keyGetBindingForKey, _keySetBindingForKey, _otherStorageBinding, _storedKeyGetBindingForKey, _storedKeySetBindingForKey, classDescription, usesDeferredFaultCreation |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public C_FeaturePage()
| Method Detail |
public void awakeFromInsertion(EOEditingContext ec)
C_Content
awakeFromInsertion in interface EOEnterpriseObjectawakeFromInsertion in class C_ContentContainerpublic C_Content copyIntoEC(EOEditingContext ec)
C_ContentContainer
copyIntoEC in class C_ContentContainerec - editing context to copy into
C_Content.copyIntoEC(com.webobjects.eocontrol.EOEditingContext)public C_PageVersion pageVersionForDate(NSTimestamp aDate)
If none are found, the earliest page version later than the effective date will be returned.
aDate - date for comparison
public C_PageVersion authorizedPageVersionForDate(NSTimestamp aDate)
aDate - date for comparison
public NSArray acceptableClassesOfChildren()
C_ContentContainerThe base implementation returns an empty array.
acceptableClassesOfChildren in class C_ContentContainerpublic void deleteChild(C_Content aChild)
By definition, there should always be at least one version of a page.
deleteChild in class C_ContentContaineraChild - the child to be deleted.C_ContentContainer.deleteChild(com.cassinidivision.oce.content.C_Content)public C_Content duplicateChild(C_Content aChild)
C_ContentContainer
duplicateChild in class C_ContentContaineraChild - the child to duplicate
public NSArray orderedChildren()
C_ContentContainer
orderedChildren in class C_ContentContainerpublic String sortField()
C_ContentThe default implementation returns the name attribute; subclasses may override as necessary.
sortField in class C_Contentpublic void appendExportXMLForPropertiesToString(StringBuffer returnString)
C_ContentContainer
appendExportXMLForPropertiesToString in class C_ContentContainerreturnString - StringBuffer to which the result will be appendedC_Content.appendExportXMLForPropertiesToString(java.lang.StringBuffer)public StringBuffer exportXMLForAttributes()
C_Content
exportXMLForAttributes in class C_ContentContainerpublic void takeAttributesFromDictionary(NSDictionary pList)
C_ContentThe values will normally have come from the attributes of an XML start element tag.
takeAttributesFromDictionary in class C_ContentpList - The dictionary of values.public int pageIndex()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||