net.datacrow.core.wf.requests
Class CreateUserRequest

java.lang.Object
  extended by net.datacrow.core.wf.requests.CreateUserRequest
All Implemented Interfaces:
java.io.Serializable, IRequest

public class CreateUserRequest
extends java.lang.Object
implements IRequest

Creates a new user including all her permissions.

Author:
Robert Jan van der Waals
See Also:
Serialized Form

Constructor Summary
CreateUserRequest(User user)
           
 
Method Summary
 void end()
          Free resources.
 void execute()
          Executes this request.
 boolean getExecuteOnFail()
          Indicates if the request is allowed to be executed even when the query has failed.
 void setExecuteOnFail(boolean b)
          Indicate if the request is allowed to be executed even when the query has failed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateUserRequest

public CreateUserRequest(User user)
Method Detail

execute

public void execute()
Description copied from interface: IRequest
Executes this request.

Specified by:
execute in interface IRequest

end

public void end()
Description copied from interface: IRequest
Free resources.

Specified by:
end in interface IRequest

getExecuteOnFail

public boolean getExecuteOnFail()
Description copied from interface: IRequest
Indicates if the request is allowed to be executed even when the query has failed.

Specified by:
getExecuteOnFail in interface IRequest

setExecuteOnFail

public void setExecuteOnFail(boolean b)
Description copied from interface: IRequest
Indicate if the request is allowed to be executed even when the query has failed.

Specified by:
setExecuteOnFail in interface IRequest