Package io.meeds.tenant.hub.rest.client
Class WomClientService
java.lang.Object
io.meeds.tenant.hub.rest.client.WomClientService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.meeds.wom.api.model.WomConnectionResponseconnectToWom(io.meeds.wom.api.model.WomConnectionRequest connectionRequest) disconnectFromWom(io.meeds.wom.api.model.WomDisconnectionRequest disconnectionRequest) io.meeds.wom.api.model.HubbooleanisDeedManager(String address, long nftId) io.meeds.wom.api.model.HubReportretrieveReport(long reportId) voidsaveHubAvatar(String hubAddress, String signedMessage, String token, InputStream inputStream) voidsaveHubBanner(String hubAddress, String signedMessage, String rawMessage, String token, InputStream inputStream) io.meeds.wom.api.model.HubReportsaveReport(io.meeds.wom.api.model.HubReportVerifiableData reportRequest)
-
Constructor Details
-
WomClientService
public WomClientService()
-
-
Method Details
-
isDeedManager
public boolean isDeedManager(String address, long nftId) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
getHub
public io.meeds.wom.api.model.Hub getHub(String hubAddress, boolean forceRefresh) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
generateToken
- Throws:
io.meeds.wom.api.constant.WomException
-
connectToWom
public io.meeds.wom.api.model.WomConnectionResponse connectToWom(io.meeds.wom.api.model.WomConnectionRequest connectionRequest) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
disconnectFromWom
public String disconnectFromWom(io.meeds.wom.api.model.WomDisconnectionRequest disconnectionRequest) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
saveReport
public io.meeds.wom.api.model.HubReport saveReport(io.meeds.wom.api.model.HubReportVerifiableData reportRequest) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
retrieveReport
public io.meeds.wom.api.model.HubReport retrieveReport(long reportId) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
saveHub
public String saveHub(io.meeds.wom.api.model.Hub hub, String hubSignedMessage, String token) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
saveHubAvatar
public void saveHubAvatar(String hubAddress, String signedMessage, String token, InputStream inputStream) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
saveHubBanner
public void saveHubBanner(String hubAddress, String signedMessage, String rawMessage, String token, InputStream inputStream) throws io.meeds.wom.api.constant.WomException - Throws:
io.meeds.wom.api.constant.WomException
-
getWomUrl
-