C# Class SecurityInnovation.TeamMentor.WebClient.WebServices.TM_Xml_Database_JavaScriptProxy

Inheritance: IJavascriptProxy
Mostra file Open project: TeamMentor-OWASP/Master Class Usage Examples

Public Methods

Method Description
AddGuidanceItemsToView ( System.Guid viewId, List guidanceItemIds ) : bool
BatchUserCreation ( string batchUserData ) : List
CreateArticle ( TeamMentor_Article article ) : System.Guid
CreateFolder ( System.Guid libraryId, System.Guid parentFolderId, string newFolderName ) : Folder_V3
CreateGuidanceItem ( GuidanceItem_V3 guidanceItem ) : System.Guid
CreateGuidanceType ( GuidanceType guidanceType, string columns ) : GuidanceType
CreateLibrary ( Library library ) : Library_V3
CreateUser ( NewUser newUser ) : int
CreateUser_Random ( ) : TMUser
CreateUsers ( List newUsers ) : List
CreateView ( System.Guid folderId, View view ) : View_V3
DeleteDeletedGuidanceTypes ( ) : bool
DeleteDeletedLibraries ( ) : bool
DeleteFolder ( System.Guid libraryId, System.Guid folderId ) : bool
DeleteGuidanceItem ( System.Guid guidanceItemId ) : bool
DeleteGuidanceItems ( List guidanceItemIds ) : bool
DeleteGuidanceType ( string guidanceTypeId ) : bool
DeleteUser ( int userId ) : bool
DeleteUsers ( List userIds ) : List
GetAllGuidanceItems ( ) : List
GetAllGuidanceItemsInViews_XmlDB ( ) : List
GetAllGuidanceItems_XmlDB ( ) : List
GetAllLibraryIds ( ) : List
GetAllUserLogs ( ) : string
GetDeletedLibraries ( ) : List
GetFolders ( ) : List
GetFolders ( System.Guid libraryId ) : List
GetGuidanceItemById ( string guidanceItemid ) : TeamMentor_Article
GetGuidanceItemHtml ( System.Guid GuidanceItemId ) : string
GetGuidanceItemKeywords ( string itemId ) : List
GetGuidanceItemsHtml ( List GuidanceItemsIds ) : List
GetGuidanceItemsInFolder ( System.Guid folderId ) : List
GetGuidanceItemsInFolder_XmlDB ( System.Guid folderId ) : List
GetGuidanceItemsInLibrary ( System.Guid libraryId ) : List
GetGuidanceItemsInLibrary_XmlDB ( System.Guid libraryId ) : List
GetGuidanceItemsInView ( System.Guid viewId ) : List
GetGuidanceItemsInViews ( List viewIds ) : List
GetGuidanceItemsInViews_XmlDB ( List viewIds ) : List
GetGuidanceTypeById ( string guidanceTypeId ) : GuidanceType
GetGuidanceTypeByName ( string guidanceTypeName ) : GuidanceType
GetGuidanceTypeColumns ( System.Guid guidanceTypeId ) : List
GetGuidanceTypes ( ) : List
GetLibraries ( ) : List
GetLibraryById ( string libraryId ) : Library
GetLibraryById ( System.Guid libraryId ) : TM_Library
GetLibraryByName ( string libraryName ) : Library
GetSchemaById ( string schemaId ) : Schema
GetTime ( ) : string
GetUserGroupId ( int userId ) : int
GetUserGroupName ( int userId ) : string
GetUserRoles ( int userId ) : List
GetUser_byID ( int userId ) : TMUser
GetUser_byName ( string name ) : TMUser
GetUsers ( ) : List
GetUsers_byID ( List userIds ) : List
GetViewById ( string viewId ) : View_V3
GetViews ( ) : List
GetViewsInLibraryRoot ( string libraryId ) : List
LogUserGUID ( string GUID ) : void
Login ( string username, string passwordHash ) : System.Guid
Login_PwdInClearText ( string username, string passwordHash ) : System.Guid
MoveViewToFolder ( System.Guid viewId, System.Guid folderId ) : bool
RemoveGuidanceItemsFromView ( System.Guid viewId, List guidanceItemIds ) : bool
RemoveGuidanceTypeColumns ( string schemaId ) : void
RemoveViewFromFolder ( System.Guid libraryId, System.Guid viewId ) : bool
RenameFolder ( System.Guid libraryId, System.Guid folderId, string newFolderName ) : bool
SetGuidanceItemKeywords ( string itemId, string keywords ) : void
SetUserGroupId ( int userId, int groupId ) : bool
SetUserPasswordHash ( int userId, string passwordHash ) : bool
TM_Xml_Database_JavaScriptProxy ( ) : System
UnDeleteLibrary ( System.Guid libraryId ) : bool
UpdateGuidanceItem ( GuidanceItem_V3 guidanceItem ) : bool
UpdateGuidanceItem ( TeamMentor_Article article ) : bool
UpdateGuidanceType ( GuidanceType guidanceType, string columns ) : void
UpdateLibrary ( Library library ) : bool
UpdateUser ( int userId, string userName, string firstname, string lastname, string title, string company, string email, int groupId ) : bool
UpdateView ( View view ) : bool

Method Details

AddGuidanceItemsToView() public method

public AddGuidanceItemsToView ( System.Guid viewId, List guidanceItemIds ) : bool
viewId System.Guid
guidanceItemIds List
return bool

BatchUserCreation() public method

public BatchUserCreation ( string batchUserData ) : List
batchUserData string
return List

CreateArticle() public method

public CreateArticle ( TeamMentor_Article article ) : System.Guid
article TeamMentor_Article
return System.Guid

CreateFolder() public method

public CreateFolder ( System.Guid libraryId, System.Guid parentFolderId, string newFolderName ) : Folder_V3
libraryId System.Guid
parentFolderId System.Guid
newFolderName string
return Folder_V3

CreateGuidanceItem() public method

public CreateGuidanceItem ( GuidanceItem_V3 guidanceItem ) : System.Guid
guidanceItem GuidanceItem_V3
return System.Guid

CreateGuidanceType() public method

public CreateGuidanceType ( GuidanceType guidanceType, string columns ) : GuidanceType
guidanceType GuidanceType
columns string
return GuidanceType

CreateLibrary() public method

public CreateLibrary ( Library library ) : Library_V3
library urn.microsoft.guidanceexplorer.Library
return Library_V3

CreateUser() public method

public CreateUser ( NewUser newUser ) : int
newUser NewUser
return int

CreateUser_Random() public method

public CreateUser_Random ( ) : TMUser
return TMUser

CreateUsers() public method

public CreateUsers ( List newUsers ) : List
newUsers List
return List

CreateView() public method

public CreateView ( System.Guid folderId, View view ) : View_V3
folderId System.Guid
view urn.microsoft.guidanceexplorer.View
return View_V3

DeleteDeletedGuidanceTypes() public method

public DeleteDeletedGuidanceTypes ( ) : bool
return bool

DeleteDeletedLibraries() public method

public DeleteDeletedLibraries ( ) : bool
return bool

DeleteFolder() public method

public DeleteFolder ( System.Guid libraryId, System.Guid folderId ) : bool
libraryId System.Guid
folderId System.Guid
return bool

DeleteGuidanceItem() public method

public DeleteGuidanceItem ( System.Guid guidanceItemId ) : bool
guidanceItemId System.Guid
return bool

DeleteGuidanceItems() public method

public DeleteGuidanceItems ( List guidanceItemIds ) : bool
guidanceItemIds List
return bool

DeleteGuidanceType() public method

public DeleteGuidanceType ( string guidanceTypeId ) : bool
guidanceTypeId string
return bool

DeleteUser() public method

public DeleteUser ( int userId ) : bool
userId int
return bool

DeleteUsers() public method

public DeleteUsers ( List userIds ) : List
userIds List
return List

GetAllGuidanceItems() public method

public GetAllGuidanceItems ( ) : List
return List

GetAllGuidanceItemsInViews_XmlDB() public method

public GetAllGuidanceItemsInViews_XmlDB ( ) : List
return List

GetAllGuidanceItems_XmlDB() public method

public GetAllGuidanceItems_XmlDB ( ) : List
return List

GetAllLibraryIds() public method

public GetAllLibraryIds ( ) : List
return List

GetAllUserLogs() public method

public GetAllUserLogs ( ) : string
return string

GetDeletedLibraries() public method

public GetDeletedLibraries ( ) : List
return List

GetFolders() public method

public GetFolders ( ) : List
return List

GetFolders() public method

public GetFolders ( System.Guid libraryId ) : List
libraryId System.Guid
return List

GetGuidanceItemById() public method

public GetGuidanceItemById ( string guidanceItemid ) : TeamMentor_Article
guidanceItemid string
return TeamMentor_Article

GetGuidanceItemHtml() public method

public GetGuidanceItemHtml ( System.Guid GuidanceItemId ) : string
GuidanceItemId System.Guid
return string

GetGuidanceItemKeywords() public method

public GetGuidanceItemKeywords ( string itemId ) : List
itemId string
return List

GetGuidanceItemsHtml() public method

public GetGuidanceItemsHtml ( List GuidanceItemsIds ) : List
GuidanceItemsIds List
return List

GetGuidanceItemsInFolder() public method

public GetGuidanceItemsInFolder ( System.Guid folderId ) : List
folderId System.Guid
return List

GetGuidanceItemsInFolder_XmlDB() public method

public GetGuidanceItemsInFolder_XmlDB ( System.Guid folderId ) : List
folderId System.Guid
return List

GetGuidanceItemsInLibrary() public method

public GetGuidanceItemsInLibrary ( System.Guid libraryId ) : List
libraryId System.Guid
return List

GetGuidanceItemsInLibrary_XmlDB() public method

public GetGuidanceItemsInLibrary_XmlDB ( System.Guid libraryId ) : List
libraryId System.Guid
return List

GetGuidanceItemsInView() public method

public GetGuidanceItemsInView ( System.Guid viewId ) : List
viewId System.Guid
return List

GetGuidanceItemsInViews() public method

public GetGuidanceItemsInViews ( List viewIds ) : List
viewIds List
return List

GetGuidanceItemsInViews_XmlDB() public method

public GetGuidanceItemsInViews_XmlDB ( List viewIds ) : List
viewIds List
return List

GetGuidanceTypeById() public method

public GetGuidanceTypeById ( string guidanceTypeId ) : GuidanceType
guidanceTypeId string
return GuidanceType

GetGuidanceTypeByName() public method

public GetGuidanceTypeByName ( string guidanceTypeName ) : GuidanceType
guidanceTypeName string
return GuidanceType

GetGuidanceTypeColumns() public method

public GetGuidanceTypeColumns ( System.Guid guidanceTypeId ) : List
guidanceTypeId System.Guid
return List

GetGuidanceTypes() public method

public GetGuidanceTypes ( ) : List
return List

GetLibraries() public method

public GetLibraries ( ) : List
return List

GetLibraryById() public method

public GetLibraryById ( string libraryId ) : Library
libraryId string
return urn.microsoft.guidanceexplorer.Library

GetLibraryById() public method

public GetLibraryById ( System.Guid libraryId ) : TM_Library
libraryId System.Guid
return TM_Library

GetLibraryByName() public method

public GetLibraryByName ( string libraryName ) : Library
libraryName string
return urn.microsoft.guidanceexplorer.Library

GetSchemaById() public method

public GetSchemaById ( string schemaId ) : Schema
schemaId string
return Schema

GetTime() public method

public GetTime ( ) : string
return string

GetUserGroupId() public method

public GetUserGroupId ( int userId ) : int
userId int
return int

GetUserGroupName() public method

public GetUserGroupName ( int userId ) : string
userId int
return string

GetUserRoles() public method

public GetUserRoles ( int userId ) : List
userId int
return List

GetUser_byID() public method

public GetUser_byID ( int userId ) : TMUser
userId int
return TMUser

GetUser_byName() public method

public GetUser_byName ( string name ) : TMUser
name string
return TMUser

GetUsers() public method

public GetUsers ( ) : List
return List

GetUsers_byID() public method

public GetUsers_byID ( List userIds ) : List
userIds List
return List

GetViewById() public method

public GetViewById ( string viewId ) : View_V3
viewId string
return View_V3

GetViews() public method

public GetViews ( ) : List
return List

GetViewsInLibraryRoot() public method

public GetViewsInLibraryRoot ( string libraryId ) : List
libraryId string
return List

LogUserGUID() public method

public LogUserGUID ( string GUID ) : void
GUID string
return void

Login() public method

public Login ( string username, string passwordHash ) : System.Guid
username string
passwordHash string
return System.Guid

Login_PwdInClearText() public method

public Login_PwdInClearText ( string username, string passwordHash ) : System.Guid
username string
passwordHash string
return System.Guid

MoveViewToFolder() public method

public MoveViewToFolder ( System.Guid viewId, System.Guid folderId ) : bool
viewId System.Guid
folderId System.Guid
return bool

RemoveGuidanceItemsFromView() public method

public RemoveGuidanceItemsFromView ( System.Guid viewId, List guidanceItemIds ) : bool
viewId System.Guid
guidanceItemIds List
return bool

RemoveGuidanceTypeColumns() public method

public RemoveGuidanceTypeColumns ( string schemaId ) : void
schemaId string
return void

RemoveViewFromFolder() public method

public RemoveViewFromFolder ( System.Guid libraryId, System.Guid viewId ) : bool
libraryId System.Guid
viewId System.Guid
return bool

RenameFolder() public method

public RenameFolder ( System.Guid libraryId, System.Guid folderId, string newFolderName ) : bool
libraryId System.Guid
folderId System.Guid
newFolderName string
return bool

SetGuidanceItemKeywords() public method

public SetGuidanceItemKeywords ( string itemId, string keywords ) : void
itemId string
keywords string
return void

SetUserGroupId() public method

public SetUserGroupId ( int userId, int groupId ) : bool
userId int
groupId int
return bool

SetUserPasswordHash() public method

public SetUserPasswordHash ( int userId, string passwordHash ) : bool
userId int
passwordHash string
return bool

TM_Xml_Database_JavaScriptProxy() public method

public TM_Xml_Database_JavaScriptProxy ( ) : System
return System

UnDeleteLibrary() public method

public UnDeleteLibrary ( System.Guid libraryId ) : bool
libraryId System.Guid
return bool

UpdateGuidanceItem() public method

public UpdateGuidanceItem ( GuidanceItem_V3 guidanceItem ) : bool
guidanceItem GuidanceItem_V3
return bool

UpdateGuidanceItem() public method

public UpdateGuidanceItem ( TeamMentor_Article article ) : bool
article TeamMentor_Article
return bool

UpdateGuidanceType() public method

public UpdateGuidanceType ( GuidanceType guidanceType, string columns ) : void
guidanceType GuidanceType
columns string
return void

UpdateLibrary() public method

public UpdateLibrary ( Library library ) : bool
library urn.microsoft.guidanceexplorer.Library
return bool

UpdateUser() public method

public UpdateUser ( int userId, string userName, string firstname, string lastname, string title, string company, string email, int groupId ) : bool
userId int
userName string
firstname string
lastname string
title string
company string
email string
groupId int
return bool

UpdateView() public method

public UpdateView ( View view ) : bool
view urn.microsoft.guidanceexplorer.View
return bool