org.vrspace.server.command.Administrator
Class chClass

java.lang.Object
  extended byorg.vrspace.server.command.Administrator.chClass
All Implemented Interfaces:
Command

public class chClass
extends java.lang.Object
implements Command

This command changes class of an object. It actually removes the object, creates new object, and stores it to the database. Also updates Transform if object implements HasTransform, takes care of AuthInfo too. Can only change the class of a user if it is not online.

See Also:
Transform, HasTransform, Dispatcher, AuthInfo

Constructor Summary
chClass()
           
 
Method Summary
 void exec(Request req)
          Syntax: chClass className id newClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

chClass

public chClass()
Method Detail

exec

public void exec(Request req)
          throws java.lang.Exception
Syntax: chClass className id newClass

Specified by:
exec in interface Command
Throws:
java.lang.Exception