public class CmsPlatformServiceImpl extends BaseServiceImpl implements CmsPlatformService
apiInfoList, serviceInfo| Constructor and Description |
|---|
CmsPlatformServiceImpl() |
CmsPlatformServiceImpl(ServiceInfo serviceInfo) |
CmsPlatformServiceImpl(String accessKey,
String secretKey) |
| Modifier and Type | Method and Description |
|---|---|
ArticleEventNotifyResponse |
articleEventNotify(ArticleEventNotifyRequest articleEventNotifyRequest)
ArticleArticleEventNotify
|
ArticleCreateResponse |
batchCreateSourceArticle(ArticleCreateRequest articleCreateRequest)
ArticleBatchCreateSourceArticle
|
ArticleDeleteResponse |
deleteSourceArticle(ArticleDeleteRequest articleDeleteRequest)
ArticleDeleteSourceArticle
|
ArticleDeleteByOpenidResponse |
deleteSourceArticleByOpenid(ArticleDeleteByOpenidRequest articleDeleteByOpenidRequest)
ArticleDeleteSourceArticleByOpenid
|
ArticleUploadDetailResponse |
getArticleBatchUploadDetail(ArticleUploadDetailRequest articleUploadDetailRequest)
ArticleGetArticleBatchUploadDetail
|
static CmsPlatformService |
getInstance()
Deprecated.
每次调用该方法都会新建一个实例,不建议使用该方法,可以参考Demo的使用方法
|
static CmsPlatformService |
getInstance(String region)
Deprecated.
每次调用该方法都会新建一个实例,不建议使用该方法,可以参考Demo的使用方法
|
destroy, getAccessKey, getApiInfoList, getHttpClient, getISigner, getRegion, getSecretKey, getServiceInfo, getSessionToken, getSignUrl, json, post, proto, put, putData, putDataWithResponse, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSessionToken, setSocketTimeout, signSts2clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getAccessKey, getRegion, getSecretKey, getSessionToken, getSignUrl, json, post, proto, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSessionToken, setSocketTimeout, signSts2public CmsPlatformServiceImpl()
public CmsPlatformServiceImpl(ServiceInfo serviceInfo)
public static CmsPlatformService getInstance()
public static CmsPlatformService getInstance(String region) throws Exception
Exceptionpublic ArticleCreateResponse batchCreateSourceArticle(ArticleCreateRequest articleCreateRequest) throws Exception
CmsPlatformServicebatchCreateSourceArticle in interface CmsPlatformServicearticleCreateRequest - - the batchCreateSourceArticle requestException - the exceptionpublic ArticleUploadDetailResponse getArticleBatchUploadDetail(ArticleUploadDetailRequest articleUploadDetailRequest) throws Exception
CmsPlatformServicegetArticleBatchUploadDetail in interface CmsPlatformServicearticleUploadDetailRequest - - the getArticleBatchUploadDetail requestException - the exceptionpublic ArticleDeleteResponse deleteSourceArticle(ArticleDeleteRequest articleDeleteRequest) throws Exception
CmsPlatformServicedeleteSourceArticle in interface CmsPlatformServicearticleDeleteRequest - - the deleteSourceArticle requestException - the exceptionpublic ArticleDeleteByOpenidResponse deleteSourceArticleByOpenid(ArticleDeleteByOpenidRequest articleDeleteByOpenidRequest) throws Exception
CmsPlatformServicedeleteSourceArticleByOpenid in interface CmsPlatformServicearticleDeleteByOpenidRequest - - the deleteSourceArticleByOpenid requestException - the exceptionpublic ArticleEventNotifyResponse articleEventNotify(ArticleEventNotifyRequest articleEventNotifyRequest) throws Exception
CmsPlatformServicearticleEventNotify in interface CmsPlatformServicearticleEventNotifyRequest - - the articleEventNotify requestException - the exceptionCopyright © 2023. All rights reserved.