public class MovableTypeApiClientImpl extends Object implements MovableTypeApiClient
| コンストラクタと説明 |
|---|
MovableTypeApiClientImpl(String username,
String password,
String clientId,
String endpoint)
MovableTypeApiClientImpl
|
MovableTypeApiClientImpl(String username,
String password,
String clientId,
String endpoint,
String authUsername,
String authPassword)
MovableTypeApiClientImpl - Basic Authentication
|
public MovableTypeApiClientImpl(String username, String password, String clientId, String endpoint) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException, KeyManagementException, NoSuchAlgorithmException
username - password - clientId - endpoint - com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionKeyManagementExceptionNoSuchAlgorithmExceptionpublic MovableTypeApiClientImpl(String username, String password, String clientId, String endpoint, String authUsername, String authPassword) throws KeyManagementException, NoSuchAlgorithmException, IOException
username - password - clientId - endpoint - authUsername - authPassword - KeyManagementExceptionNoSuchAlgorithmExceptionIOExceptionpublic void setVersion(String version)
setVersion インタフェース内 MovableTypeApiClientpublic void setEndpoint(String endpoint)
setEndpoint インタフェース内 MovableTypeApiClientpublic String getEndpoint()
getEndpoint インタフェース内 MovableTypeApiClientpublic Version getVersion() throws KeyManagementException, NoSuchAlgorithmException, IOException
MovableTypeApiClientpublic int getResponseCode()
throws IOException
getResponseCode インタフェース内 MovableTypeApiClientIOExceptionpublic String getResponseMessage() throws IOException
getResponseMessage インタフェース内 MovableTypeApiClientIOExceptionpublic String getResponseBody() throws IOException
getResponseBody インタフェース内 MovableTypeApiClientIOExceptionpublic Authentication getAuthentication()
MovableTypeApiClientgetAuthentication インタフェース内 MovableTypeApiClientpublic Status deleteToken() throws KeyManagementException, NoSuchAlgorithmException, IOException
public Status signOut() throws KeyManagementException, NoSuchAlgorithmException, IOException
signOut インタフェース内 MovableTypeApiClientKeyManagementExceptionNoSuchAlgorithmExceptionIOExceptionpublic Site createWebsite(Site site) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Site createBlog(int site_id, Site site) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Site deleteSite(int site_id) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Site getSite(int site_id, String fields) throws KeyManagementException, NoSuchAlgorithmException, IOException
getSite インタフェース内 MovableTypeApiClientKeyManagementExceptionNoSuchAlgorithmExceptionIOExceptionpublic SiteItems searchSites(SiteSearchParam siteSearchParam) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Site updateSite(int site_id, Site site) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Entry postEntry(int site_id, Entry entry) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Entry deleteEntry(int site_id, Integer entry_id) throws KeyManagementException, NoSuchAlgorithmException, IOException
public EntryItems getEntries(int site_id) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Entry getEntry(int site_id, int entry_id, String fields) throws KeyManagementException, NoSuchAlgorithmException, IOException
public EntryItems searchEntry(EntrySearchParam search) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Entry updateEntry(int site_id, int entry_id, Entry entry) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Asset uploadAsset(UploadParam upload) throws IOException, KeyManagementException, NoSuchAlgorithmException
public Asset deleteAsset(int site_id, int asset_id) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Asset getAsset(int site_id, int asset_id, String fields) throws KeyManagementException, NoSuchAlgorithmException, IOException
public AssetItems searchAsset(int site_id, AssetSearchParam search) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Category createCategory(int site_id, Category category) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Category deleteCategory(int site_id, int category_id) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Category getCategory(int site_id, int category_id, String fields) throws KeyManagementException, NoSuchAlgorithmException, IOException
public CategoryItems searchCategory(int site_id, CategorySearchParam search) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Category updateCategory(int site_id, int category_id, Category category) throws KeyManagementException, NoSuchAlgorithmException, IOException
public User createUser(CreateUser createUser) throws KeyManagementException, NoSuchAlgorithmException, IOException
public User deleteUser(int user_id) throws KeyManagementException, NoSuchAlgorithmException, IOException
public UserItems searchUser(UserSearchParam search) throws KeyManagementException, NoSuchAlgorithmException, IOException
public User getUser(String user_id, String fields) throws KeyManagementException, NoSuchAlgorithmException, IOException
getUser インタフェース内 MovableTypeApiClientKeyManagementExceptionNoSuchAlgorithmExceptionIOExceptionpublic User updateUser(int user_id, User user) throws KeyManagementException, NoSuchAlgorithmException, IOException
public Status unlockUser(int user_id) throws KeyManagementException, NoSuchAlgorithmException, IOException
Copyright © 2017. All rights reserved.