com.zion.jbuddy.bots
Class BotRemoveBuddyCall

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

public class BotRemoveBuddyCall
extends Object
implements BotCall

Removes a user from a client's buddy list.


Constructor Summary
BotRemoveBuddyCall(String name, String group)
          Creates a remove buddy call.
 
Method Summary
 Object clone()
          Returns an exact copy of this call.
 String getGroup()
          Returns the group to remove the user from.
 String getName()
          Returns the user's name.
 void setGroup(String group)
          Sets the group to remove the user from.
 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

BotRemoveBuddyCall

public BotRemoveBuddyCall(String name,
                          String group)
Creates a remove buddy call.

Parameters:
name - the user's name
group - the group to remove the user from. If a group is not specified, the user is removed from all groups.
Method Detail

getGroup

public String getGroup()
Returns the group to remove the user from.


setGroup

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

If a group is not specified, the user is removed from all groups.

This value can contain content variables.


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.


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.