Copyright © Rasmus Sten and contributors, 1997-2004

nu.dll.lyskom
Class Membership

java.lang.Object
  |
  +--nu.dll.lyskom.Membership

public class Membership
extends java.lang.Object

Represents a person's membership status of a given conference.

See Also:
Session.getUnreadMembership(), Session.getMembership(int), Session.getMembership(int, int, int, Bitstring)

Field Summary
 int conference
          Deprecated. use getNo() instead!
static int ITEM_SIZE
           
 
Method Summary
static nu.dll.lyskom.Membership[] createFrom(nu.dll.lyskom.RpcReply reply)
          Constructs a Membership array out of the supplied RpcReply object
 nu.dll.lyskom.KomTime getAddedAt()
          Returns the time at which this membership was added
 int getAddedBy()
          Returns the number of the person who added this memberhip
 int getConference()
          Returns the conference this membership represents
 int getLastTextRead()
          Returns the local text number of the text last read in the conference
 nu.dll.lyskom.KomTime getLastTimeRead()
          Returns the time when this memberships conference was last read
 int getNo()
          Equal to getConference()
 int getPosition()
          Return this memberhips position
 int getPriority()
          Returns the priority (0-255) of this membership
 int[] getReadTexts()
          Returns an array of local text number that have been read after last-text-read
 nu.dll.lyskom.TextMapping getTextMapping()
           
 nu.dll.lyskom.Bitstring getType()
          Returns the type of this membership.
 void setLastTextRead(int i)
           
 void setTextMapping(nu.dll.lyskom.TextMapping tm)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conference

public int conference
Deprecated. use getNo() instead!


ITEM_SIZE

public static int ITEM_SIZE
Method Detail

setLastTextRead

public void setLastTextRead(int i)

setTextMapping

public void setTextMapping(nu.dll.lyskom.TextMapping tm)

getTextMapping

public nu.dll.lyskom.TextMapping getTextMapping()

getPosition

public int getPosition()
Return this memberhips position


getLastTimeRead

public nu.dll.lyskom.KomTime getLastTimeRead()
Returns the time when this memberships conference was last read


getConference

public int getConference()
Returns the conference this membership represents


getPriority

public int getPriority()
Returns the priority (0-255) of this membership


getLastTextRead

public int getLastTextRead()
Returns the local text number of the text last read in the conference


getReadTexts

public int[] getReadTexts()
Returns an array of local text number that have been read after last-text-read


getAddedBy

public int getAddedBy()
Returns the number of the person who added this memberhip


getAddedAt

public nu.dll.lyskom.KomTime getAddedAt()
Returns the time at which this membership was added


getType

public nu.dll.lyskom.Bitstring getType()
Returns the type of this membership. TODO: document the Membership types.


getNo

public int getNo()
Equal to getConference()

See Also:
getConference()

createFrom

public static nu.dll.lyskom.Membership[] createFrom(nu.dll.lyskom.RpcReply reply)
Constructs a Membership array out of the supplied RpcReply object


Copyright © Rasmus Sten and contributors, 1997-2004