Метод | Описание | |
---|---|---|
MetaBlogApi ( ) : System | ||
MetaBlogApi ( IBlogManager blogManager, ICategoryManager categoryManager, IEntryManager entryManager ) : System |
Метод | Описание | |
---|---|---|
Authenticate ( string username, string password ) : void |
Authenticate user
|
|
CheckUserCreateRights ( string path ) : void |
Ensure the context user has create rights to the item given by path. If the item in the path doesn't exist, the ancestors will be checked until an item is found to exist. |
|
CheckUserRights ( string blogid ) : void |
Ensure the user has adequate rights to the blog.
|
|
GetBlog ( string blogId ) : |
Gets the blog given by the provided ID
|
|
GetCategoriesAsString ( System.Item postItem, CookComputing.XmlRpc.XmlRpcStruct rpcstruct ) : string |
Gets the categories as string.
|
|
GetContentDatabase ( ) : Database |
Gets the database where content is authored
|
Метод | Описание | |
---|---|---|
CheckUserRights ( string blogid, string username ) : void | ||
GetCategoriesAsString ( ID BlogID, CookComputing.XmlRpc.XmlRpcStruct rpcstruct ) : string | ||
GetCategoriesAsString ( string postid, CookComputing.XmlRpc.XmlRpcStruct rpcstruct ) : string | ||
SetItemData ( System.Item item, CookComputing.XmlRpc.XmlRpcStruct rpcstruct ) : void |
Sets the item data from an XML RPC struct
|
|
deletePost ( string appKey, string postid, string userName, string password, bool publish ) : bool | ||
editPost ( string postid, string username, string password, CookComputing.XmlRpc.XmlRpcStruct rpcstruct, bool publish ) : bool | ||
getCategories ( string blogid, string username, string password ) : CookComputing.XmlRpc.XmlRpcStruct[] | ||
getPost ( string postid, string username, string password ) : CookComputing.XmlRpc.XmlRpcStruct | ||
getRecentPosts ( string blogid, string username, string password, int numberOfPosts ) : CookComputing.XmlRpc.XmlRpcStruct[] | ||
getTemplate ( string appKey, string blogid, string username, string password, string templateType ) : string | ||
getUsersBlogs ( string appKey, string username, string password ) : CookComputing.XmlRpc.XmlRpcStruct[] | ||
newMediaObject ( string blogid, string username, string password, CookComputing.XmlRpc.XmlRpcStruct rpcstruct ) : CookComputing.XmlRpc.XmlRpcStruct | ||
newPost ( string blogid, string username, string password, CookComputing.XmlRpc.XmlRpcStruct rpcstruct, bool publish ) : string | ||
pingback ( string sourceUri, string targetUri ) : void |
protected Authenticate ( string username, string password ) : void | ||
username | string | UserName |
password | string | Password |
Результат | void |
protected CheckUserCreateRights ( string path ) : void | ||
path | string | The path of the item to check the rights on. |
Результат | void |
protected CheckUserRights ( string blogid ) : void | ||
blogid | string | The ID of the blog to check the rights of. |
Результат | void |
protected GetBlog ( string blogId ) : |
||
blogId | string | The ID of the blog to get |
Результат |
protected GetCategoriesAsString ( System.Item postItem, CookComputing.XmlRpc.XmlRpcStruct rpcstruct ) : string | ||
postItem | System.Item | |
rpcstruct | CookComputing.XmlRpc.XmlRpcStruct | The rpcstruct. |
Результат | string |
protected GetContentDatabase ( ) : Database | ||
Результат | Database |
public MetaBlogApi ( IBlogManager blogManager, ICategoryManager categoryManager, IEntryManager entryManager ) : System | ||
blogManager | IBlogManager | |
categoryManager | ICategoryManager | |
entryManager | IEntryManager | |
Результат | System |