C# Class N2.Details.EditableItemSelectionAttribute

Inheritance: N2.Details.EditableDropDownAttribute
Mostrar archivo Open project: n2cms/n2cms

Public Methods

Method Description
EditableItemSelectionAttribute ( ) : N2.Definitions
EditableItemSelectionAttribute ( Type linkedType ) : N2.Definitions
EditableItemSelectionAttribute ( Type linkedType, string title, int sortOrder ) : N2.Definitions
UpdateEditor ( ContentItem item, System editor ) : void
UpdateItem ( ContentItem item, System editor ) : bool
Write ( ContentItem item, string propertyName, System writer ) : void

Protected Methods

Method Description
ConvertToValue ( string value ) : object
GetDataItemsByIds ( ) : IEnumerable
GetListItems ( ) : System.Web.UI.WebControls.ListItem[]
GetStoredSelection ( ContentItem item ) : HashSet
GetValue ( ContentItem item ) : string
ReplaceStoredValue ( ContentItem item, IEnumerable linksToReplace ) : void

Private Methods

Method Description
Is ( EditableItemSelectionFilter filter ) : bool

Method Details

ConvertToValue() protected method

protected ConvertToValue ( string value ) : object
value string
return object

EditableItemSelectionAttribute() public method

public EditableItemSelectionAttribute ( ) : N2.Definitions
return N2.Definitions

EditableItemSelectionAttribute() public method

public EditableItemSelectionAttribute ( Type linkedType ) : N2.Definitions
linkedType System.Type
return N2.Definitions

EditableItemSelectionAttribute() public method

public EditableItemSelectionAttribute ( Type linkedType, string title, int sortOrder ) : N2.Definitions
linkedType System.Type
title string
sortOrder int
return N2.Definitions

GetDataItemsByIds() protected method

protected GetDataItemsByIds ( ) : IEnumerable
return IEnumerable

GetListItems() protected method

protected GetListItems ( ) : System.Web.UI.WebControls.ListItem[]
return System.Web.UI.WebControls.ListItem[]

GetStoredSelection() protected method

protected GetStoredSelection ( ContentItem item ) : HashSet
item ContentItem
return HashSet

GetValue() protected method

protected GetValue ( ContentItem item ) : string
item ContentItem
return string

ReplaceStoredValue() protected method

protected ReplaceStoredValue ( ContentItem item, IEnumerable linksToReplace ) : void
item ContentItem
linksToReplace IEnumerable
return void

UpdateEditor() public method

public UpdateEditor ( ContentItem item, System editor ) : void
item ContentItem
editor System
return void

UpdateItem() public method

public UpdateItem ( ContentItem item, System editor ) : bool
item ContentItem
editor System
return bool

Write() public method

public Write ( ContentItem item, string propertyName, System writer ) : void
item ContentItem
propertyName string
writer System
return void