The ContentFunctionData type exposes the following members.

Constructors

  NameDescription
Private methodStatic memberContentFunctionData
Public methodContentFunctionData(ContentFunctionReference)
Initializes a new instance of the ContentFunctionData class for the specified extension page, with the specified function data.
Public methodContentFunctionData(PageReference, ContentFunctionReference)
Initializes a new instance of the ContentFunctionData class for the specified extension page, with the specified function data.
Public methodContentFunctionData(PageReference, PageData)
Initializes a new instance of the ContentFunctionData class for the specified extension page, with the specified function data.

Methods

  NameDescription
Public methodAccessFilter
Return whether the current user has right to view this content function in View mode.
Public methodClone
Creates a shallow copy of the content function data
Public methodCopy
Makes a clone of the content function to the target extension page.
Public methodStatic memberCreate(PageReference, Int32)
Creates an ExtensionFunctionData instance from the specified ContentFunctionType.
Public methodStatic memberCreate(PageReference, Int32, AccessLevel)
Creates an ExtensionFunctionData instance from the specified ContentFunctionType.
Public methodCreateWritableClone
Creates a writable copy of the ExtensionFunctionData instance.
Public methodStatic memberDelete
Deletes a ContentFunctionData instance.
Public methodDeserialize
Deserialize object from xml
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Private methodExtractFunctionLink
Public methodStatic memberFetchFunctionData(PageReference)
Fetch content from the first content function
Public methodStatic memberFetchFunctionData(PageReference, ContentFunctionReference)
Fetch content from a specific function in an Extension page.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFindContentFunction
Find a function if it exists in the Content Area, recursively.
Public methodGetContentAreaById
Gets a specific ContentAreaData instance by its identity.
Public methodGetContentAreas
Get an IList of content areas contained in the ExtensionFunctionData instance
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetValue
Retrieves the value of the ContentFunctionData instance's property with the specified name.
Public methodHasAccess(PageData, AccessLevel)
Determines whether the current principal has the requested access. If the requested access level is Edit or Delete. The return value is True if the current user has Administer access for the page that contains the function.
Public methodHasAccess(IPrincipal, AccessLevel)
Determines whether the specified principal has the requested access on function type of current content function
Public methodHasAccess(PageData, AccessLevel, IPrincipal)
Determines whether the current principal has the requested access. If the requested access level is Edit or Delete. The return value is True if the current user has Administer access for the page that contains the function.
Private methodInsertContentArea
Insert a ContentAreaData instance to the list of content areas of the ContentFunctionData instance.
Public methodLoad()()()()
Loads content function data and its properties, this also sets up nested structures it may have.
Public methodLoad(ContentFunctionData..::..FunctionStatus)
Loads content function data and its properties, this also sets up nested structures it may have.
Public methodStatic memberLoad(ContentFunctionReference)
Loads an existing ContentFunctionData instance.
Public methodStatic memberLoad(PageReference, ContentFunctionReference)
Loads an existing ContentFunctionData instance.
Public methodStatic memberLoadGlobalFunction(ContentFunctionReference) Obsolete.
Loads an existing global ContentFunctionData instance.
Public methodStatic memberLoadGlobalFunction(ContentFunctionReference, Guid)
Loads an existing global ContentFunctionData instance.
Public methodMakeReadOnly
Set the ExtensionFunctionData instance to be read only.
Public methodMakeWritable
Make FunctionPage writable
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Private methodStatic memberOnCreated
Private methodStatic memberOnCreating
Private methodStatic memberOnDeleted
Private methodStatic memberOnDeleting
Public methodPublish
Publish the current function page.
Public methodRebuildExtensionLink
Rebuild the extension links between page and functions after importing.
Public methodSave
Save changes to the ExtensionFunctionData instance.
Public methodSaveAsGlobal
Save the current instance of ContentFunctionData as a global function.
Public methodSerialize
Serialize object to xml
Private methodSetupFacadePropertyCollection
Only get properties assigned to the Extension Tab
Protected methodSetValue
Sets value for the property with the specified name for this ContentFunctionData instance.
Public methodToExportableData
Creates a clone of the ContentFunctionData instance for exporting.
Public methodToImportableData
Converts the imported object to an extension object respectively.
Public methodToString
Return the xml value of the function
(Overrides Object..::..ToString()()()().)

Fields

Properties

  NameDescription
Public propertyACL
Gets the access control list for the ExtensionFunctionData instance.
Public propertyAnchor
Represents a permanent URL to the content function.
Public propertyAreaCount
Gets a value that indicates the number of content areas in the ContentFunctionData instance.
Public propertyContentAreas
Gets or sets a list of content areas of type ContentAreaData in the ContentFunctionData instance.
Public propertyContentFunctionLink
Gets the content function link reference of the ExtensionFunctionData instance. This is link to the Page of current Function's instance (under Extension data Container, ShadowPage)
Public propertyControlPath
Gets or sets the virtual path to a template control file that is associated with the ContentFunctionData instance.
Public propertyCreatedTime
Gets the created time of the ContentFunctionData instance.
Public propertyExtensionPageLink
Specifies a page reference to the ExtensionPageData of the ContentFunctionData instance.
Public propertyFunctionID
The FunctionId should not be accessed directly. Use FunctionLink.
Public propertyFunctionPageLink
Sets or gets the ContentFunctionReference.
Public propertyFunctionType
Gets or sets the ExtensionGeneric..::..ContentFunctionInstanceCategory of the ContentFunctionData instance.
Public propertyFunctionTypeID
Gets the identity of ContentFunctionType from which the ExtensionFunctionData instance is created.
Public propertyGlobalFunction
Gets or sets the global function information of the ContentFunctionData instance if it is a global function.
Public propertyGuid
Represents the unique identity of the ContentFunctionData instance.
Public propertyHavingAreas
Gets a value that indicates whether there are content areas in the ContentFunctionData instance.
Public propertyIndex
Index of the content function to specify its position within the content area
Public propertyIsDynamicFunction
Gets a value that indicates whether the ContentFunctionData instance is a dynamic content function.
Public propertyIsGlobal
Gets the value that indicates whether the ExtensionFunctionData instance is a Global function or not.
Public propertyIsLoaded
Return if the content function is loaded with data, properties and nested structure.
Public propertyIsPersonalization
Gets the value that indicates whether the ExtensionFunctionData instance is a Personalization function or not.
Public propertyIsReadOnly
Gets a value that indicates whether the ExtensionFunctionData instance is read only.
Public propertyItem
Public propertyLinkUrl
Gets a value that indicates the URL to the ContentFunctionData instance.
Public propertyModifiedTime
Gets the last modified time of the ContentFunctionData instance.
Public propertyNeverUsed
Gets a value that indicates whether the ContentFunctionData instance used in any extension page.
Public propertyNote
Comment text for each Content function instance. May be used as a note, dialog between editors.
Public propertyProperty
Gets a collection of content function properties in the ContentFunctionData instance.
Public propertyRemoteSite
The RemoteSite should not be accessed directly. Use FunctionLink.
Public propertySavedTime
Gets the last saved time of the ContentFunctionData instance.
Private propertySpecializedFunctionProperty
Gets the specialized ExtensionFunctionProperty, which is stored in the hidden property named ExtensionGeneric.EXTENSION_FUNCTION_PROPERTY, in the ContentFunction page (in Extenstion data container)
Public propertyStartPublishTime
Gets the start publish time of the ContentFunctionData instance.
Public propertyStopPublishTime
Gets the stop publish time of the ContentFunctionData instance.
Public propertyVisibleInMenu
Gets or sets the value to determine whether the the ExtensionFunctionData instance is shown in tool box or not.
Public propertyVisitorGroupContainerID
Gets or sets the VisitorGroupContainerID. When a ContentFunction belongs to a PersonalizationContainer, the PersonalizationContainer's ID is set to this property.
Public propertyWorkID
The WorkID should not be accessed directly. Use FunctionLink.

Events

  NameDescription
Public eventStatic memberCreated
Occurs when a ContentFunctionData instance is created.
Public eventStatic memberCreating
Occurs when a ContentFunctionData instance is creating.
Public eventStatic memberDeleted
Occurs when a ContentFunctionData instance is deleted.
Public eventStatic memberDeleting
Occurs when a ContentFunctionData instance is deleting.

See Also