C# Class EPiCode.Relations.Core.RelationProviders.RuleProviderBase

Inheritance: System.Configuration.Provider.ProviderBase
显示文件 Open project: BVNetwork/Relations Class Usage Examples

Protected Properties

Property Type Description
_description string
_name string

Public Methods

Method Description
AddNewRule ( string name, string pageTypeLeft, string pageTypeRight, string ruleTextLeft, string ruleTextRight ) : Rule
DeleteAll ( ) : void
DeleteRule ( string name ) : void
GetAllRules ( ) : System.Collections.Generic.IEnumerable
GetAllRulesList ( ) : System.Collections.Generic.List
GetRule ( EPiServer id ) : Rule
GetRule ( string name ) : Rule
GetRules ( int pageID ) : System.Collections.Generic.IEnumerable
GetRules ( string pageTypeName ) : System.Collections.Generic.IEnumerable
GetRulesLeft ( int pageID ) : System.Collections.Generic.IEnumerable
GetRulesRight ( int pageID ) : System.Collections.Generic.IEnumerable
IsDescendent ( int pageID, int startID ) : bool
IsLeftRule ( int pageID, Rule rule ) : bool
IsLeftRule ( string pageTypeName, Rule rule ) : bool
RuleExists ( EPiServer id ) : bool
RuleExists ( string name ) : bool
Save ( Rule rel ) : EPiServer.Data.Identity
SearchRelations ( Rule rule, int pageID, string searchKeyWord, EPiServer hierarchyStart ) : EPiServer.Core.PageDataCollection
SearchRelations ( Rule rule, int pageID, string searchKeyWord, EPiServer hierarchyStart, bool isLeftRule ) : EPiServer.Core.PageDataCollection
SearchRelations ( Rule rule, int pageID, string searchKeyWord, bool isLeftRule ) : EPiServer.Core.PageDataCollection

Method Details

AddNewRule() public abstract method

public abstract AddNewRule ( string name, string pageTypeLeft, string pageTypeRight, string ruleTextLeft, string ruleTextRight ) : Rule
name string
pageTypeLeft string
pageTypeRight string
ruleTextLeft string
ruleTextRight string
return Rule

DeleteAll() public abstract method

public abstract DeleteAll ( ) : void
return void

DeleteRule() public abstract method

public abstract DeleteRule ( string name ) : void
name string
return void

GetAllRules() public abstract method

public abstract GetAllRules ( ) : System.Collections.Generic.IEnumerable
return System.Collections.Generic.IEnumerable

GetAllRulesList() public abstract method

public abstract GetAllRulesList ( ) : System.Collections.Generic.List
return System.Collections.Generic.List

GetRule() public abstract method

public abstract GetRule ( EPiServer id ) : Rule
id EPiServer
return Rule

GetRule() public abstract method

public abstract GetRule ( string name ) : Rule
name string
return Rule

GetRules() public abstract method

public abstract GetRules ( int pageID ) : System.Collections.Generic.IEnumerable
pageID int
return System.Collections.Generic.IEnumerable

GetRules() public abstract method

public abstract GetRules ( string pageTypeName ) : System.Collections.Generic.IEnumerable
pageTypeName string
return System.Collections.Generic.IEnumerable

GetRulesLeft() public abstract method

public abstract GetRulesLeft ( int pageID ) : System.Collections.Generic.IEnumerable
pageID int
return System.Collections.Generic.IEnumerable

GetRulesRight() public abstract method

public abstract GetRulesRight ( int pageID ) : System.Collections.Generic.IEnumerable
pageID int
return System.Collections.Generic.IEnumerable

IsDescendent() public abstract method

public abstract IsDescendent ( int pageID, int startID ) : bool
pageID int
startID int
return bool

IsLeftRule() public abstract method

public abstract IsLeftRule ( int pageID, Rule rule ) : bool
pageID int
rule Rule
return bool

IsLeftRule() public abstract method

public abstract IsLeftRule ( string pageTypeName, Rule rule ) : bool
pageTypeName string
rule Rule
return bool

RuleExists() public abstract method

public abstract RuleExists ( EPiServer id ) : bool
id EPiServer
return bool

RuleExists() public abstract method

public abstract RuleExists ( string name ) : bool
name string
return bool

Save() public abstract method

public abstract Save ( Rule rel ) : EPiServer.Data.Identity
rel Rule
return EPiServer.Data.Identity

SearchRelations() public abstract method

public abstract SearchRelations ( Rule rule, int pageID, string searchKeyWord, EPiServer hierarchyStart ) : EPiServer.Core.PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart EPiServer
return EPiServer.Core.PageDataCollection

SearchRelations() public abstract method

public abstract SearchRelations ( Rule rule, int pageID, string searchKeyWord, EPiServer hierarchyStart, bool isLeftRule ) : EPiServer.Core.PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart EPiServer
isLeftRule bool
return EPiServer.Core.PageDataCollection

SearchRelations() public abstract method

public abstract SearchRelations ( Rule rule, int pageID, string searchKeyWord, bool isLeftRule ) : EPiServer.Core.PageDataCollection
rule Rule
pageID int
searchKeyWord string
isLeftRule bool
return EPiServer.Core.PageDataCollection

Property Details

_description protected_oe property

protected string _description
return string

_name protected_oe property

protected string _name
return string