C# Class Composite.Data.DynamicTypes.DataTypeDescriptorFormsHelper

Mostrar archivo Open project: Orckestra/C1-CMS Class Usage Examples

Private Properties

Property Type Description
BindingIsOptional bool
DataTypeDescriptorFormsHelper System
GenerateForm void
GetAvailablePublishingFlowTransitions string>.Dictionary
GetBindingName string
GetDefaultValue object
GetFieldBindingType System.Type
IsNotFieldBinding bool
IsNullableStringReference bool

Public Methods

Method Description
AddReadOnlyField ( string fieldName ) : void
AddReadOnlyFields ( IEnumerable fieldNames ) : void
BindingsToObject ( object>.Dictionary bindings, IData dataObject ) : string>.Dictionary
DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor ) : System
DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor, bool showPublicationStatusSelector, EntityToken entityToken ) : System

Creates an instance of DataTypeDescriptorFormsHelper

DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor, string bindingNamesPrefix ) : System
DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor, string bindingNamesPrefix, bool showPublicationStatusSelector, EntityToken entityToken ) : System
GetBindingName ( string prefix, string bindingName ) : string
GetBindings ( IData dataObject ) : object>.Dictionary
GetBindings ( IData dataObject, bool allowMandatoryNonDefaultingProperties ) : object>.Dictionary
GetBindingsValidationRules ( IData data ) : List>.Dictionary
GetForm ( ) : string
GetNewBindings ( ) : object>.Dictionary
ObjectToBindings ( IData dataObject, object>.Dictionary bindings ) : string>.Dictionary
UpdateWithBindings ( IData dataObject, object>.Dictionary bindings ) : void
UpdateWithNewBindings ( object>.Dictionary bindings ) : void

Private Methods

Method Description
BindingIsOptional ( string bindingName ) : bool
DataTypeDescriptorFormsHelper ( ) : System
GenerateForm ( ) : void
GetAvailablePublishingFlowTransitions ( EntityToken entityToken ) : string>.Dictionary
GetBindingName ( Composite.Data.DynamicTypes.DataFieldDescriptor dataFieldDescriptor ) : string
GetDefaultValue ( Type type ) : object
GetFieldBindingType ( Composite.Data.DynamicTypes.DataFieldDescriptor fieldDescriptor ) : Type
IsNotFieldBinding ( string bindingName ) : bool
IsNullableStringReference ( PropertyInfo propertyInfo ) : bool

Method Details

AddReadOnlyField() public method

public AddReadOnlyField ( string fieldName ) : void
fieldName string
return void

AddReadOnlyFields() public method

public AddReadOnlyFields ( IEnumerable fieldNames ) : void
fieldNames IEnumerable
return void

BindingsToObject() public method

public BindingsToObject ( object>.Dictionary bindings, IData dataObject ) : string>.Dictionary
bindings object>.Dictionary
dataObject IData
return string>.Dictionary

DataTypeDescriptorFormsHelper() public method

public DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor ) : System
dataTypeDescriptor DataTypeDescriptor
return System

DataTypeDescriptorFormsHelper() public method

Creates an instance of DataTypeDescriptorFormsHelper
public DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor, bool showPublicationStatusSelector, EntityToken entityToken ) : System
dataTypeDescriptor DataTypeDescriptor
showPublicationStatusSelector bool
entityToken Composite.C1Console.Security.EntityToken EntityToken is used for resolving to which publication states, current user has access to.
return System

DataTypeDescriptorFormsHelper() public method

public DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor, string bindingNamesPrefix ) : System
dataTypeDescriptor DataTypeDescriptor
bindingNamesPrefix string
return System

DataTypeDescriptorFormsHelper() public method

public DataTypeDescriptorFormsHelper ( DataTypeDescriptor dataTypeDescriptor, string bindingNamesPrefix, bool showPublicationStatusSelector, EntityToken entityToken ) : System
dataTypeDescriptor DataTypeDescriptor
bindingNamesPrefix string
showPublicationStatusSelector bool
entityToken Composite.C1Console.Security.EntityToken
return System

GetBindingName() public static method

public static GetBindingName ( string prefix, string bindingName ) : string
prefix string
bindingName string
return string

GetBindings() public method

public GetBindings ( IData dataObject ) : object>.Dictionary
dataObject IData
return object>.Dictionary

GetBindings() public method

public GetBindings ( IData dataObject, bool allowMandatoryNonDefaultingProperties ) : object>.Dictionary
dataObject IData
allowMandatoryNonDefaultingProperties bool
return object>.Dictionary

GetBindingsValidationRules() public method

public GetBindingsValidationRules ( IData data ) : List>.Dictionary
data IData
return List>.Dictionary

GetForm() public method

public GetForm ( ) : string
return string

GetNewBindings() public method

public GetNewBindings ( ) : object>.Dictionary
return object>.Dictionary

ObjectToBindings() public method

public ObjectToBindings ( IData dataObject, object>.Dictionary bindings ) : string>.Dictionary
dataObject IData
bindings object>.Dictionary
return string>.Dictionary

UpdateWithBindings() public method

public UpdateWithBindings ( IData dataObject, object>.Dictionary bindings ) : void
dataObject IData
bindings object>.Dictionary
return void

UpdateWithNewBindings() public method

public UpdateWithNewBindings ( object>.Dictionary bindings ) : void
bindings object>.Dictionary
return void