|
|||||||||||
| 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_Directory
com.cassinidivision.oce.content.C_Directory
com.cassinidivision.oce.content.base._C_RootDirectory
com.cassinidivision.oce.content.C_RootDirectory
A class representing the single root directory in the content hierarchy.
There should only ever be one instance of this class represented in the database.
| 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_RootDirectory()
|
|
| Method Summary | |
NSMutableArray |
allParents()
Retrieve all the ancestors of the receiving instance. |
void |
awakeFromInsertion(EOEditingContext ec)
All newly-created content in the OCE system is immediately instantiated with the following values. |
NSArray |
contentArrayFromPathArray(NSArray pathArray)
Constructs an array of content objects from an array of path strings. |
String |
contentPath()
Returns the root directory path "/". |
C_Content |
copyIntoEC(EOEditingContext ec)
Throws an exception if invoked (the root directory cannot be duplicated). |
static C_RootDirectory |
rootDirectoryInEditingContext(EOEditingContext aContext)
Fetches the single C_RootDirectory instance. |
| Methods inherited from class com.cassinidivision.oce.content.C_Directory |
acceptableClassesOfChildren, appendExportXMLForPropertiesToString, exportXMLForAttributes, takeAttributesFromDictionary |
| 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_RootDirectory()
| Method Detail |
public void awakeFromInsertion(EOEditingContext ec)
C_Content
awakeFromInsertion in interface EOEnterpriseObjectawakeFromInsertion in class C_ContentContainerpublic C_Content copyIntoEC(EOEditingContext ec)
copyIntoEC in class C_DirectoryC_Content.copyIntoEC(com.webobjects.eocontrol.EOEditingContext)
public static C_RootDirectory rootDirectoryInEditingContext(EOEditingContext aContext)
throws C_ContentException
Throws an exception if there is more than one in the database (which should never be the case).
aContext - editing context for the fetch
C_ContentExceptionpublic String contentPath()
contentPath in class C_ContentC_Content.contentPath()public NSMutableArray allParents()
C_Content
allParents in class C_Contentpublic NSArray contentArrayFromPathArray(NSArray pathArray)
pathArray - array of paths
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||