com.cassinidivision.oce.content
Class C_ContentHyperlink

java.lang.Object
  extended bycom.webobjects.eocontrol.EOCustomObject
      extended bycom.webobjects.eocontrol.EOGenericRecord
          extended bycom.cassinidivision.oce.content.base._C_Content
              extended bycom.cassinidivision.oce.content.C_Content
                  extended bycom.cassinidivision.oce.content.base._C_LeafContent
                      extended bycom.cassinidivision.oce.content.C_LeafContent
                          extended bycom.cassinidivision.oce.content.base._C_Hyperlink
                              extended bycom.cassinidivision.oce.content.C_Hyperlink
                                  extended bycom.cassinidivision.oce.content.base._C_ContentHyperlink
                                      extended bycom.cassinidivision.oce.content.C_ContentHyperlink
All Implemented Interfaces:
_EOPrivateMemento, EODeferredFaulting, EOEnterpriseObject, EOFaulting, EOKeyValueCoding, EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCodingAdditions, EORelationshipManipulation, EOValidation, NSKeyValueCoding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable

public class C_ContentHyperlink
extends com.cassinidivision.oce.content.base._C_ContentHyperlink

A content class representing a hyperlink, whose target is another item of content in the database.

See Also:
Serialized Form

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.foundation.NSKeyValueCoding
NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
 
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
static int SameContentHyperlink
           
 String targetContentPath
          An additional, non-persistent instance variable for storing the path of the target of the hyperlink, used during importing before the fixHyperlinkPaths() methods are called.
 
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_ContentHyperlink()
           
 
Method Summary
 void appendExportXMLForPropertiesToString(StringBuffer returnString)
          Called during XML export to append XML corresponding to the receiver's properties (children) to the given string.
 void attachToContentAtPath(String path)
          Relate the receiver to another item of content using the unique URI namespace location for reference.
 void awakeFromInsertion(EOEditingContext anEditingContext)
          All newly-created content in the OCE system is immediately instantiated with the following values.
 C_Content copyIntoEC(EOEditingContext ec)
          Adds the copying of any related attributes to the superclass functionality.
 String defaultImageXMLRepresentation()
          Calculates the default image representation of the target, which is used to build the default XML representation.
 String defaultXMLRepresentation()
          Retrieves the default XML representation of the receiving content.
 StringBuffer exportXMLForAttributes()
          Called during XML export: builds a StringBuffer holding all the attribute name="value" pairs for the receiver's XML.
 String fullContentUrl()
          Retrieve an internal "placeholder" representation of the target destination content, for use in XML representations of the receiver.
 void takeAttributesFromDictionary(NSDictionary pList)
          Sets up the receiver's instance variables from given values.
 
Methods inherited from class com.cassinidivision.oce.content.base._C_ContentHyperlink
setTargetContent, setUrl, targetContent, url
 
Methods inherited from class com.cassinidivision.oce.content.base._C_Hyperlink
setTargetFrame, targetFrame
 
Methods inherited from class com.cassinidivision.oce.content.C_Content
addCAttributeWithValues, addCharacterData, allParents, appendExportXMLForAdditionalAttributesToString, appendExportXMLForAttributeNamedKeyPathToString, appendExportXMLForAttributeNamedValueToString, appendExportXMLForAttributesToString, appendExportXMLForAttributeToString, appendExportXMLForClosingTagToString, appendExportXMLForEmptyTagToString, appendExportXMLForObjectToString, appendExportXMLForOpeningTagToString, appendExportXMLForPropertyNamedKeyPathToString, appendExportXMLForPropertyNamedValueToString, appendExportXMLForPropertyToString, appendStringValueForPropertyToString, contentAtContentPath, contentId, contentPath, contentWithContentIdInEditingContext, copyToNewParent, copyWithinEC, deleteSelf, endElement, forceDeleteSelf, globalIDsForSelfAndAllChildren, globalIDsForSelfAndAllLoadedChildren, longDebuggingOutput, moveToNewParent, renameSelf, selfAndAllLoadedChildren, selfOrSomeDescendantPublished, setDataPropertyFromDictionary, setDatePropertyFromDictionary, setNumberPropertyFromDictionary, setStringPropertyFromDictionary, setStringPropertyNamedKeyPathFromDictionary, sortField, startCAttributeList, startElementWithAttributes
 
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 com.webobjects.eocontrol.EOCustomObject
__classDescription, __clearPendingChanges, __editingContext, __globalID, __hasAuxillaryObservers, __hasPendingChanges, __hasPendingUpdate, __isInitialized, __isPendingDeletion, __isPendingInsertion, __isShared, __lastSnapshot, __originalSnapshot, __retainCount, __setAuxillaryObservers, __setEditingContext, __setGlobalID, __setInitialized, __setLastSnapshot, __setOriginalSnapshot, __setPendingDeletion, __setPendingInsertion, __setPendingUpdate, __setRetainCount, __setShared, _createKeyGetBindingForKey, _createKeySetBindingForKey, _createStoredKeyGetBindingForKey, _createStoredKeySetBindingForKey, _fieldKeyBinding, _forwardingBindingNeededForClass, _methodKeyGetBinding, _methodKeySetBinding, addObjectToBothSidesOfRelationshipWithKey, addObjectToPropertyWithKey, allPropertyKeys, attributeKeys, awakeFromClientUpdate, awakeFromFetch, canAccessFieldsDirectly, changesFromSnapshot, classDescriptionForDestinationKey, clearFault, clearProperties, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, equals, faultHandler, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hashCode, inverseForRelationshipKey, invokeRemoteMethod, isFault, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey, shouldUseStoredAccessors, snapshot, storedValueForKey, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, toManyRelationshipKeys, toOneRelationshipKeys, toString, turnIntoFault, unableToSetNullForKey, updateFromSnapshot, userPresentableDescription, validateClientUpdate, validateForDelete, validateForInsert, validateForSave, validateForUpdate, validateTakeValueForKeyPath, validateValueForKey, valueForKey, valueForKeyPath, valuesForKeys, valuesForKeysWithMapping, willChange, willRead, willReadRelationship
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SameContentHyperlink

public static int SameContentHyperlink

targetContentPath

public String targetContentPath
An additional, non-persistent instance variable for storing the path of the target of the hyperlink, used during importing before the fixHyperlinkPaths() methods are called.

Constructor Detail

C_ContentHyperlink

public C_ContentHyperlink()
Method Detail

awakeFromInsertion

public void awakeFromInsertion(EOEditingContext anEditingContext)
Description copied from class: C_Content
All newly-created content in the OCE system is immediately instantiated with the following values.

Specified by:
awakeFromInsertion in interface EOEnterpriseObject
Overrides:
awakeFromInsertion in class C_Hyperlink

copyIntoEC

public C_Content copyIntoEC(EOEditingContext ec)
Adds the copying of any related attributes to the superclass functionality.

Overrides:
copyIntoEC in class C_Hyperlink
Parameters:
ec - editing context to copy into
Returns:
the new copy
See Also:
C_Content.copyIntoEC(com.webobjects.eocontrol.EOEditingContext)

appendExportXMLForPropertiesToString

public void appendExportXMLForPropertiesToString(StringBuffer returnString)
Description copied from class: C_Content
Called during XML export to append XML corresponding to the receiver's properties (children) to the given string.

The base implementation does nothing (there are no children, so there cannot be any properties).

Overrides:
appendExportXMLForPropertiesToString in class C_Hyperlink

exportXMLForAttributes

public StringBuffer exportXMLForAttributes()
Description copied from class: C_Content
Called during XML export: builds a StringBuffer holding all the attribute name="value" pairs for the receiver's XML.

Overrides:
exportXMLForAttributes in class C_Hyperlink

takeAttributesFromDictionary

public void takeAttributesFromDictionary(NSDictionary pList)
Description copied from class: C_Content
Sets up the receiver's instance variables from given values.

The values will normally have come from the attributes of an XML start element tag.

Overrides:
takeAttributesFromDictionary in class C_Hyperlink

defaultImageXMLRepresentation

public String defaultImageXMLRepresentation()
Calculates the default image representation of the target, which is used to build the default XML representation.

This method is not normally invoked directly.

Returns:
String providing an XML representation of the receiver.

fullContentUrl

public String fullContentUrl()
Retrieve an internal "placeholder" representation of the target destination content, for use in XML representations of the receiver.

Returns:
String containing XML destination content information.

defaultXMLRepresentation

public String defaultXMLRepresentation()
Description copied from class: C_Content
Retrieves the default XML representation of the receiving content.

The base implementation throws an exception (purely abstract content has no representation).

Overrides:
defaultXMLRepresentation in class C_Content

attachToContentAtPath

public void attachToContentAtPath(String path)
Relate the receiver to another item of content using the unique URI namespace location for reference.

Parameters:
path - URI to the content in the unique content namespace.