Свойство | Тип | Описание | |
---|---|---|---|
_description | string | ||
_name | string |
Метод | Описание | |
---|---|---|
AddRelation ( string rule, int pageLeft, int pageRight ) : void |
Create a new relation between two pages in EPi
|
|
DeleteAll ( ) : void |
Delete all rules
|
|
DeleteAll ( string rule ) : void |
Delete all relations of a given rule
|
|
DeleteRelation ( Relation relationToDelete ) : void |
Delete single relation
|
|
GetAllRelations ( string rule ) : List |
Get all relations of a given rule
|
|
GetRelation ( Identity id ) : Relation |
Get single relation
|
|
GetRelation ( string rule, int pageLeft, int pageRight ) : Relation |
Get single relation
|
|
GetRelationPagesForPage ( int pageID, Rule rule ) : List |
Get related page IDs for page
|
|
GetRelationPagesForPage ( int pageID, Rule rule, Rule direction ) : List |
Get a list of all related pages through one direction of a given rule
|
|
GetRelationsCount ( string rule ) : int |
Get number of relations for a rule
|
|
GetRelationsForPage ( int pageID ) : List |
Get relations for given page
|
|
GetRelationsForPage ( int pageID, Rule rule ) : List |
Get relations for given page
|
|
GetRelationsForPage ( int pageID, Rule rule, Rule dir ) : List |
Get all page relations for the rule through a specific direction
|
|
GetRelationsForPageTwoHop ( int pageID, Rule firstRule, Rule firstDirection, Rule secondRule, Rule secondDirection ) : List |
Get a list of all related pages through one direction of two given rules
|
|
RaiseOnAddedRelation ( |
||
RaiseOnAddingRelation ( |
||
RaiseOnDeletedRelation ( |
||
RaiseOnDeletingRelation ( |
||
RelationExists ( string rule, int pageLeft, int pageRight ) : bool |
Check if a relation already exists
|
|
Save ( Relation relation ) : void |
Save relation
|
public abstract AddRelation ( string rule, int pageLeft, int pageRight ) : void | ||
rule | string | Rule to use for new relation |
pageLeft | int | Left side page |
pageRight | int | Right side page |
Результат | void |
public abstract DeleteAll ( string rule ) : void | ||
rule | string | |
Результат | void |
public abstract DeleteRelation ( Relation relationToDelete ) : void | ||
relationToDelete | Relation | Relation to be deleted |
Результат | void |
public abstract GetAllRelations ( string rule ) : List |
||
rule | string | Name of rule |
Результат | List |
public abstract GetRelation ( Identity id ) : Relation | ||
id | Identity | Relation ID |
Результат | Relation |
public abstract GetRelation ( string rule, int pageLeft, int pageRight ) : Relation | ||
rule | string | Rule |
pageLeft | int | Left page |
pageRight | int | Right page |
Результат | Relation |
public abstract GetRelationPagesForPage ( int pageID, Rule rule ) : List |
||
pageID | int | Page ID to get relations from |
rule | Rule | Rule to get relations through |
Результат | List |
public abstract GetRelationPagesForPage ( int pageID, Rule rule, Rule direction ) : List |
||
pageID | int | Page ID to get relations from |
rule | Rule | Rule to get relations through |
direction | Rule | Direction to search through |
Результат | List |
public abstract GetRelationsCount ( string rule ) : int | ||
rule | string | Rule to get number of relations of |
Результат | int |
public abstract GetRelationsForPage ( int pageID ) : List |
||
pageID | int | Page ID to fetch relations from |
Результат | List |
public abstract GetRelationsForPage ( int pageID, Rule rule ) : List |
||
pageID | int | Page ID to fetch relations from |
rule | Rule | Relation rule to use |
Результат | List |
public abstract GetRelationsForPage ( int pageID, Rule rule, Rule dir ) : List |
||
pageID | int | Page ID to get relations from |
rule | Rule | Rule to get relations through |
dir | Rule | |
Результат | List |
public abstract GetRelationsForPageTwoHop ( int pageID, Rule firstRule, Rule firstDirection, Rule secondRule, Rule secondDirection ) : List |
||
pageID | int | |
firstRule | Rule | |
firstDirection | Rule | |
secondRule | Rule | |
secondDirection | Rule | |
Результат | List |
public RaiseOnAddedRelation ( |
||
e | ||
Результат | void |
public RaiseOnAddingRelation ( |
||
e | ||
Результат | void |
public RaiseOnDeletedRelation ( |
||
e | ||
Результат | void |
public RaiseOnDeletingRelation ( |
||
e | ||
Результат | void |
public abstract RelationExists ( string rule, int pageLeft, int pageRight ) : bool | ||
rule | string | Rule to check |
pageLeft | int | Left page to check |
pageRight | int | Right page to check |
Результат | bool |
public abstract Save ( Relation relation ) : void | ||
relation | Relation | Relation to be saved |
Результат | void |