com.zion.jbuddy.bots
Class BotAddBuddyCall

java.lang.Object
  extended by com.zion.jbuddy.bots.BotAddBuddyCall
All Implemented Interfaces:
BotCall

public class BotAddBuddyCall
extends Object
implements BotCall

Adds a user to a client's buddy list.


Constructor Summary
BotAddBuddyCall(String name, String displayName, String group)
          Creates an add buddy call.
 
Method Summary
 Object clone()
          Returns an exact copy of this call.
 String getDisplayName()
          Returns the user's display name.
 String getGroup()
          Returns the group to add the user to.
 String getName()
          Returns the user's name.
 void setDisplayName(String displayName)
          Sets the user's display name.
 void setGroup(String group)
          Sets the group to add the user to.
 void setName(String name)
          Sets the user's name.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BotAddBuddyCall

public BotAddBuddyCall(String name,
                       String displayName,
                       String group)
Creates an add buddy call.

Parameters:
name - the user's name
displayName - the user's displayName
group - the group to add the user to
Method Detail

getName

public String getName()
Returns the user's name.


setName

public void setName(String name)
Sets the user's name.

This value can contain content variables.


getDisplayName

public String getDisplayName()
Returns the user's display name.


setDisplayName

public void setDisplayName(String displayName)
Sets the user's display name.

This value can contain content variables.


getGroup

public String getGroup()
Returns the group to add the user to.


setGroup

public void setGroup(String group)
Sets the group to add the user to.

This value can contain content variables.


clone

public Object clone()
Returns an exact copy of this call.

Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.