Package tigase.xmpp

Class RepositoryAccess

  • Direct Known Subclasses:
    XMPPResourceConnection

    public abstract class RepositoryAccess
    extends java.lang.Object
    Describe class RepositoryAccess here.
    Created: Tue Oct 24 10:38:41 2006
    Author:
    Artur Hefczyc
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addDataList​(java.lang.String subnode, java.lang.String key, java.lang.String[] list)  
      void addOfflineDataList​(java.lang.String subnode, java.lang.String key, java.lang.String[] list)  
      void addPublicDataList​(java.lang.String subnode, java.lang.String key, java.lang.String[] list)  
      Authorization changeRegistration​(java.lang.String name_param, java.lang.String pass_param, java.util.Map<java.lang.String,​java.lang.String> registr_params)  
      java.lang.String getAuthenticationToken​(java.lang.String xmpp_sessionId)  
      Authorization getAuthState()
      Gets the value of authState
      abstract BareJID getBareJID()
      Returns user JID but without resource part.
      java.lang.String getData​(java.lang.String subnode, java.lang.String key, java.lang.String def)
      getData method is a twin sister (brother?) of setData(String, String, String) method.
      java.lang.String[] getDataGroups​(java.lang.String subnode)
      This method retrieves list of all direct subnodes for given node.
      java.lang.String[] getDataKeys​(java.lang.String subnode)
      This method returns all data keys available in permanent storage in given node.
      java.lang.String[] getDataList​(java.lang.String subnode, java.lang.String key)
      This method allows to retrieve list of values associated with one key.
      VHostItem getDomain()  
      JID getDomainAsJID()  
      java.lang.String getOfflineData​(java.lang.String subnode, java.lang.String key, java.lang.String def)  
      java.lang.String[] getOfflineDataList​(java.lang.String subnode, java.lang.String key)  
      java.lang.String getPublicData​(java.lang.String subnode, java.lang.String key, java.lang.String def)  
      java.lang.String[] getPublicDataList​(java.lang.String subnode, java.lang.String key)  
      abstract java.lang.String getUserName()  
      boolean isAnonymous()  
      boolean isAuthorized()
      This method allows you test this session if it already has been authorized.
      protected abstract void login()  
      void logout()  
      void queryAuth​(java.util.Map<java.lang.String,​java.lang.Object> authProps)  
      void removeData​(java.lang.String subnode, java.lang.String key)  
      void removeDataGroup​(java.lang.String subnode)
      Removes the last data node given in subnode path as parameter to this method.
      void removeOfflineData​(java.lang.String subnode, java.lang.String key)  
      void removeOfflineDataGroup​(java.lang.String subnode)  
      void removePublicData​(java.lang.String subnode, java.lang.String key)  
      void removePublicDataGroup​(java.lang.String subnode)  
      void setData​(java.lang.String subnode, java.lang.String key, java.lang.String value)
      This method stores given data in permanent storage in given point of hierarchy of data base.
      void setDataList​(java.lang.String subnode, java.lang.String key, java.lang.String[] list)
      This method allows to store list of values under one key ID reference.
      void setDomain​(VHostItem domain)  
      void setOfflineData​(java.lang.String subnode, java.lang.String key, java.lang.String value)  
      void setOfflineDataList​(java.lang.String subnode, java.lang.String key, java.lang.String[] list)  
      void setPublicData​(java.lang.String subnode, java.lang.String key, java.lang.String value)  
      void setPublicDataList​(java.lang.String subnode, java.lang.String key, java.lang.String[] list)  
      void setRegistration​(java.lang.String name_param, java.lang.String pass_param, java.util.Map<java.lang.String,​java.lang.String> registr_params)  
      Authorization unregister​(java.lang.String name_param)
      Deprecated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait