Свойство | Type | Description | |
---|---|---|---|
_description | string | ||
_name | string |
Méthode | Description | |
---|---|---|
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 |
Résultat | void |
public abstract DeleteAll ( string rule ) : void | ||
rule | string | |
Résultat | void |
public abstract DeleteRelation ( Relation relationToDelete ) : void | ||
relationToDelete | Relation | Relation to be deleted |
Résultat | void |
public abstract GetAllRelations ( string rule ) : List |
||
rule | string | Name of rule |
Résultat | List |
public abstract GetRelation ( Identity id ) : Relation | ||
id | Identity | Relation ID |
Résultat | Relation |
public abstract GetRelation ( string rule, int pageLeft, int pageRight ) : Relation | ||
rule | string | Rule |
pageLeft | int | Left page |
pageRight | int | Right page |
Résultat | Relation |
public abstract GetRelationPagesForPage ( int pageID, Rule rule ) : List |
||
pageID | int | Page ID to get relations from |
rule | Rule | Rule to get relations through |
Résultat | 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 |
Résultat | List |
public abstract GetRelationsCount ( string rule ) : int | ||
rule | string | Rule to get number of relations of |
Résultat | int |
public abstract GetRelationsForPage ( int pageID ) : List |
||
pageID | int | Page ID to fetch relations from |
Résultat | List |
public abstract GetRelationsForPage ( int pageID, Rule rule ) : List |
||
pageID | int | Page ID to fetch relations from |
rule | Rule | Relation rule to use |
Résultat | 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 | |
Résultat | 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 | |
Résultat | List |
public RaiseOnAddedRelation ( |
||
e | ||
Résultat | void |
public RaiseOnAddingRelation ( |
||
e | ||
Résultat | void |
public RaiseOnDeletedRelation ( |
||
e | ||
Résultat | void |
public RaiseOnDeletingRelation ( |
||
e | ||
Résultat | 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 |
Résultat | bool |
public abstract Save ( Relation relation ) : void | ||
relation | Relation | Relation to be saved |
Résultat | void |