Class HubService

java.lang.Object
io.meeds.tenant.hub.service.HubService

@Service public class HubService extends Object
  • Field Details

  • Constructor Details

    • HubService

      public HubService()
  • Method Details

    • getHubAddress

      public String getHubAddress()
    • isConnected

      public boolean isConnected()
    • getHub

      public HubTenant getHub()
    • getHub

      public HubTenant getHub(boolean forceRefresh)
    • getDeedId

      public long getDeedId()
    • getDeedCity

      public short getDeedCity()
    • getDeedType

      public short getDeedType()
    • getDeedManager

      public String getDeedManager()
    • getHubJoinDate

      public Instant getHubJoinDate()
    • isDeedManager

      public boolean isDeedManager(String address)
    • isDeedManager

      public boolean isDeedManager(String address, long nftId) throws io.meeds.wom.api.constant.WomException
      Throws:
      io.meeds.wom.api.constant.WomException
    • generateWomToken

      public String generateWomToken() throws io.meeds.wom.api.constant.WomException
      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 void disconnectFromWom(io.meeds.wom.api.model.WomDisconnectionRequest disconnectionRequest) throws io.meeds.wom.api.constant.WomException
      Throws:
      io.meeds.wom.api.constant.WomException
    • updateHubCard

      public void updateHubCard() throws io.meeds.wom.api.constant.WomException
      Throws:
      io.meeds.wom.api.constant.WomException
    • saveHubAvatar

      public void saveHubAvatar() throws io.meeds.wom.api.constant.WomException
      Throws:
      io.meeds.wom.api.constant.WomException