The Portrate Interview Engine

DPLCampaign Methods

The methods of the DPLCampaign class are listed below. For a complete list of DPLCampaign class members, see the DPLCampaign Members topic.

Public Instance Methods

AddChild (inherited from AbstractCampaignElement) Adds a child graph element to this element.
ClearCampaignElements (inherited from DPLCampaignElementContainer) Removes all campaign elements in this container
Configure Overridden to read the 'finishUrl' element, which is the URL used for redirecting the client when the campaign is finished.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetCampaignElement (inherited from DPLCampaignElementContainer)Overloaded. Locates the current campaign element for the given index. Typically the campaign element returned will be a form ref. The index takes the form "1.2.3.4" where each '.' represents a nested "level" in the element hierarchy.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
HasCampaignElement (inherited from DPLCampaignElementContainer) Returns true if the container has the campaign element at the given index, and false if not. This should be used to determine when to move onto the next "super-container" of elements.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
InitVariables (inherited from AbstractCampaignElement) Initializes the user varaibles for the given context.
IsDisplayable (inherited from AbstractCampaignElement) Returns TRUE if this element is displayable in the current context, and FALSE if not.
NextCampaignElement (inherited from DPLCampaignElementContainer)Overloaded. Returns the next logical element in this campaign relative to the given index. The index takes the form "1.2.3.4" where each '.' in the index is a level in the 'nested' hierarchy of elements. Typically the returned element will be a form reference that can be used to get the actual IFormModel to be displayed next.
RemoveCampaignElement (inherited from DPLCampaignElementContainer) Removes the campaign element at the given index.
SetCampaignElement (inherited from DPLCampaignElementContainer)Overloaded. Adds the given element to this container, adding new instances of the DPLCampaignSection when no container is found at a specific level. If a non-container exists at one of the higher level indices, then an exception is thrown.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize 
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DPLCampaign Class | Portrate.Interview.Model Namespace