Interface BuddyProperties

All Known Implementing Classes:
SFSBuddyProperties

public interface BuddyProperties
The BuddyProperties class is attached to each User and represents the Buddy status of each User. In other words these data will reflect in every BuddyList where the user was added. An example is the on-line/off-line status or the BuddyVariables or the Status String which are all common. This allows us to have a central place where these informations are stored at runtime instead of adding them to each Buddy object created in every BuddyList. ----------------------------------------------------------------------------------------- Fundamentally the BuddyProperties object is simply a wrapper for the buddy variables. ----------------------------------------------------------------------------------------- In fact all of the exposed properties: - isOnline - getState - getNickname are nothing but persistent BuddyVariables using special "reserved" keys.
  • Method Details

    • init

      void init(Object o)
    • isOnline

      boolean isOnline()
    • setOnline

      void setOnline(boolean flag)
    • getState

      String getState()
    • setState

      void setState(String state)
    • getNickName

      String getNickName()
    • setNickName

      void setNickName(String buddyNickName)
    • getVariable

      BuddyVariable getVariable(String varName)
    • getVariables

      List<BuddyVariable> getVariables()
    • setVariable

      void setVariable(BuddyVariable buddyVariable)
    • getPersistentVariables

      List<BuddyVariable> getPersistentVariables()
    • setVariables

      void setVariables(List<BuddyVariable> buddyVariables)
    • removeVariable

      void removeVariable(String varName)
    • containsVariable

      boolean containsVariable(String varName)
    • getVariablesCount

      int getVariablesCount()
    • isChangedSinceLastSave

      boolean isChangedSinceLastSave()
    • setChangedSinceLastSave

      void setChangedSinceLastSave(boolean flag)
    • isInited

      boolean isInited()
    • setInited

      void setInited()