C# Class EPiCode.Relations.Core.RelationProviders.DynamicDataStoreProvider.DDSRuleProvider

Inheritance: RuleProviderBase
Afficher le fichier Open project: BVNetwork/Relations

Private Properties

Свойство Type Description
EnsureKey void
GetFromCache object
RemovedCallback void
SetKey void
SetKey void
StoreInCache void
UpdateCache void
UpdateLocalOnly void
UpdateRemoteOnly void

Méthodes publiques

Méthode Description
AddNewRule ( string name, string pageTypeLeft, string pageTypeRight, string ruleTextLeft, string ruleTextRight ) : Rule
DeleteAll ( ) : void
DeleteRule ( string name ) : void
GetAllRules ( ) : IEnumerable
GetAllRulesList ( ) : List
GetRule ( Identity id ) : Rule
GetRule ( string name ) : Rule
GetRules ( int pageID ) : IEnumerable
GetRules ( string pageTypeName ) : IEnumerable
GetRulesLeft ( int pageID ) : IEnumerable
GetRulesRight ( int pageID ) : IEnumerable
IsDescendent ( int pageID, int startID ) : bool
IsLeftRule ( int pageID, Rule rule ) : bool
IsLeftRule ( string pageTypeName, Rule rule ) : bool
RuleExists ( Identity id ) : bool
RuleExists ( string name ) : bool
Save ( Rule rel ) : Identity
SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart ) : PageDataCollection
SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart, bool isLeftRule ) : PageDataCollection
SearchRelations ( Rule rule, int pageID, string searchKeyWord, bool isLeftRule ) : PageDataCollection

Private Methods

Méthode Description
EnsureKey ( ) : void
GetFromCache ( string cacheKey ) : object

Will get the pages from the cache, if it exists.

RemovedCallback ( string key, object value, CacheItemRemovedReason reason ) : void
SetKey ( ) : void
SetKey ( long value ) : void
StoreInCache ( string cacheKey, object relations ) : void
UpdateCache ( ) : void
UpdateLocalOnly ( ) : void
UpdateRemoteOnly ( ) : void

Method Details

AddNewRule() public méthode

public AddNewRule ( string name, string pageTypeLeft, string pageTypeRight, string ruleTextLeft, string ruleTextRight ) : Rule
name string
pageTypeLeft string
pageTypeRight string
ruleTextLeft string
ruleTextRight string
Résultat Rule

DeleteAll() public méthode

public DeleteAll ( ) : void
Résultat void

DeleteRule() public méthode

public DeleteRule ( string name ) : void
name string
Résultat void

GetAllRules() public méthode

public GetAllRules ( ) : IEnumerable
Résultat IEnumerable

GetAllRulesList() public méthode

public GetAllRulesList ( ) : List
Résultat List

GetRule() public méthode

public GetRule ( Identity id ) : Rule
id Identity
Résultat Rule

GetRule() public méthode

public GetRule ( string name ) : Rule
name string
Résultat Rule

GetRules() public méthode

public GetRules ( int pageID ) : IEnumerable
pageID int
Résultat IEnumerable

GetRules() public méthode

public GetRules ( string pageTypeName ) : IEnumerable
pageTypeName string
Résultat IEnumerable

GetRulesLeft() public méthode

public GetRulesLeft ( int pageID ) : IEnumerable
pageID int
Résultat IEnumerable

GetRulesRight() public méthode

public GetRulesRight ( int pageID ) : IEnumerable
pageID int
Résultat IEnumerable

IsDescendent() public méthode

public IsDescendent ( int pageID, int startID ) : bool
pageID int
startID int
Résultat bool

IsLeftRule() public méthode

public IsLeftRule ( int pageID, Rule rule ) : bool
pageID int
rule Rule
Résultat bool

IsLeftRule() public méthode

public IsLeftRule ( string pageTypeName, Rule rule ) : bool
pageTypeName string
rule Rule
Résultat bool

RuleExists() public méthode

public RuleExists ( Identity id ) : bool
id Identity
Résultat bool

RuleExists() public méthode

public RuleExists ( string name ) : bool
name string
Résultat bool

Save() public méthode

public Save ( Rule rel ) : Identity
rel Rule
Résultat Identity

SearchRelations() public méthode

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart PageReference
Résultat PageDataCollection

SearchRelations() public méthode

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart, bool isLeftRule ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart PageReference
isLeftRule bool
Résultat PageDataCollection

SearchRelations() public méthode

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, bool isLeftRule ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
isLeftRule bool
Résultat PageDataCollection