C# 클래스 Sitecore.SharedSource.MoveValidator.Utils.MoveUtil

파일 보기 프로젝트 열기: Velir/Sitecore-MoveValidator

공개 메소드들

메소드 설명
GetInsertOptions ( Item item ) : List

Returns the Insert Options of the passed Item.

GetSettingsItem ( ) : MoveValidatorSettingsItem

Returns the Custom Item for the Move Validator Settings Item

IsValidCopy ( Item item, Item destinationItem ) : bool

Validates the selected item against the destination items insert options and location (as it related to the setting item).

PromptUser ( ClientPipelineArgs args ) : void

Prompts the user after the validation has failed

PromptUser ( ClientPipelineArgs args, Item selectedItem, Item destinationItem ) : void

Prompts the user after the validation has failed. Additional functionality to pass parameters into the args so they can be picked up on the postback.

메소드 상세

GetInsertOptions() 공개 정적인 메소드

Returns the Insert Options of the passed Item.
public static GetInsertOptions ( Item item ) : List
item Item
리턴 List

GetSettingsItem() 공개 정적인 메소드

Returns the Custom Item for the Move Validator Settings Item
public static GetSettingsItem ( ) : MoveValidatorSettingsItem
리턴 Sitecore.SharedSource.MoveValidator.CustomItems.Common.MoveValidator.MoveValidatorSettingsItem

IsValidCopy() 공개 정적인 메소드

Validates the selected item against the destination items insert options and location (as it related to the setting item).
public static IsValidCopy ( Item item, Item destinationItem ) : bool
item Item
destinationItem Item
리턴 bool

PromptUser() 공개 정적인 메소드

Prompts the user after the validation has failed
public static PromptUser ( ClientPipelineArgs args ) : void
args ClientPipelineArgs Client Pipeline Arguments
리턴 void

PromptUser() 공개 정적인 메소드

Prompts the user after the validation has failed. Additional functionality to pass parameters into the args so they can be picked up on the postback.
public static PromptUser ( ClientPipelineArgs args, Item selectedItem, Item destinationItem ) : void
args ClientPipelineArgs Client Pipeline Arguments
selectedItem Item Selected Item that is being copied or moved
destinationItem Item Destination Item
리턴 void