C# 클래스 EPiCode.Relations.Core.RelationProviders.DDSInMemoryProvider.DDSInMemoryProvider

상속: RuleProviderBase
파일 보기 프로젝트 열기: BVNetwork/Relations

Private Properties

프로퍼티 타입 설명
EnsureKey void
GetFromCache object
RemovedCallback void
SetKey void
SetKey void
StoreInCache void
UpdateCache void
UpdateLocalOnly void
UpdateRemoteOnly void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddNewRule() 공개 메소드

public AddNewRule ( string name, string pageTypeLeft, string pageTypeRight, string ruleTextLeft, string ruleTextRight ) : Rule
name string
pageTypeLeft string
pageTypeRight string
ruleTextLeft string
ruleTextRight string
리턴 Rule

DeleteAll() 공개 메소드

public DeleteAll ( ) : void
리턴 void

DeleteRule() 공개 메소드

public DeleteRule ( string name ) : void
name string
리턴 void

GetAllRules() 공개 메소드

public GetAllRules ( ) : IEnumerable
리턴 IEnumerable

GetAllRulesList() 공개 메소드

public GetAllRulesList ( ) : List
리턴 List

GetRule() 공개 메소드

public GetRule ( Identity id ) : Rule
id Identity
리턴 Rule

GetRule() 공개 메소드

public GetRule ( string name ) : Rule
name string
리턴 Rule

GetRules() 공개 메소드

public GetRules ( int pageID ) : IEnumerable
pageID int
리턴 IEnumerable

GetRules() 공개 메소드

public GetRules ( string pageTypeName ) : IEnumerable
pageTypeName string
리턴 IEnumerable

GetRulesLeft() 공개 메소드

public GetRulesLeft ( int pageID ) : IEnumerable
pageID int
리턴 IEnumerable

GetRulesRight() 공개 메소드

public GetRulesRight ( int pageID ) : IEnumerable
pageID int
리턴 IEnumerable

IsDescendent() 공개 메소드

public IsDescendent ( int pageID, int startID ) : bool
pageID int
startID int
리턴 bool

IsLeftRule() 공개 메소드

public IsLeftRule ( int pageID, Rule rule ) : bool
pageID int
rule Rule
리턴 bool

IsLeftRule() 공개 메소드

public IsLeftRule ( string pageTypeName, Rule rule ) : bool
pageTypeName string
rule Rule
리턴 bool

RuleExists() 공개 메소드

public RuleExists ( Identity id ) : bool
id Identity
리턴 bool

RuleExists() 공개 메소드

public RuleExists ( string name ) : bool
name string
리턴 bool

Save() 공개 메소드

public Save ( Rule rel ) : Identity
rel Rule
리턴 Identity

SearchRelations() 공개 메소드

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart PageReference
리턴 PageDataCollection

SearchRelations() 공개 메소드

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart, bool isLeftRule ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart PageReference
isLeftRule bool
리턴 PageDataCollection

SearchRelations() 공개 메소드

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, bool isLeftRule ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
isLeftRule bool
리턴 PageDataCollection