Свойство | Тип | Описание | |
---|---|---|---|
_btnImport | System.Web.UI.WebControls.Button | ||
_lblImport | System.Web.UI.WebControls.Label |
Метод | Описание | |
---|---|---|
GetActionLink ( int tagId, string action ) : string | ||
GetBlacklistLink ( int tagId ) : string |
Generates link for adding and removing tag to/from blacklist. Used for setting value in the table on content view. |
|
GetIsBlackListed ( int tagId ) : string |
Checks if given tag blacklisted is. Used for setting value in the table on content view. |
Метод | Описание | |
---|---|---|
BtnImportClick ( object sender, |
Imports tags are not in Content Repository but in Lucene index and removes tag entities from Content Repository are not in Lucene index and are not blacklisted.
|
|
OnInit ( |
Overridden OnInit method. It initializes _allTags and _tagsInRepository variables. Sets Syncronization label's text the correct value based on _allTags and _tagsInRepository variables. It sets instances of Add Tag button and Add Tag textbox. |
Метод | Описание | |
---|---|---|
BtnAddTagClick ( object sender, |
Event handler of Add tag button. It adds tags are in Add tag textbox separated by spaces. |
|
SetDataSource ( ) : void |
Sets datasource of listview. Loads tags form Content Repository and adds the following properties of them to a datatable: DisplayName, Created By, Creation Date, Modification Date, Reference Count, Path, Is Blacklisted an Node ID. Sets this datatable as datasource to the listview. |
protected BtnImportClick ( object sender, |
||
sender | object | Sender parameter |
e | EventArgs parameter | |
Результат | void |
public GetActionLink ( int tagId, string action ) : string | ||
tagId | int | |
action | string | |
Результат | string |
public GetBlacklistLink ( int tagId ) : string | ||
tagId | int | Node ID of given tag. |
Результат | string |
public GetIsBlackListed ( int tagId ) : string | ||
tagId | int | Node ID of given tag. |
Результат | string |
protected OnInit ( |
||
e | EventArg parameter. | |
Результат | void |
protected Button,System.Web.UI.WebControls _btnImport | ||
Результат | System.Web.UI.WebControls.Button |