BEAST
eu.baltrad.beast.admin.command.UserCommand Class Reference
Inheritance diagram for eu.baltrad.beast.admin.command.UserCommand:
eu.baltrad.beast.admin.Command

Public Member Functions

 UserCommand ()
 Default constructor.
 
 UserCommand (String operation)
 Constructor.
 
 UserCommand (String operation, User user)
 
void setOperation (String operation)
 
String getOperation ()
 
boolean validate ()
 
User getUser ()
 
void setUser (User user)
 
- Public Member Functions inherited from eu.baltrad.beast.admin.Command
void setRawMessage (String s)
 Sets the RAW message used to populate the command.
 
String getRawMessage ()
 

Static Public Attributes

static final String CHANGE_PASSWORD = "change_password"
 Change password for a user.
 
static final String LIST = "list_users"
 Returns a list of available users.
 

Detailed Description

Author
anders

Constructor & Destructor Documentation

◆ UserCommand() [1/2]

eu.baltrad.beast.admin.command.UserCommand.UserCommand ( )
inline

Default constructor.

◆ UserCommand() [2/2]

eu.baltrad.beast.admin.command.UserCommand.UserCommand ( String operation)
inline

Constructor.

Parameters
operationthe operation

Member Function Documentation

◆ getOperation()

String eu.baltrad.beast.admin.command.UserCommand.getOperation ( )
inline
Returns
the operation

Reimplemented from eu.baltrad.beast.admin.Command.

◆ getUser()

User eu.baltrad.beast.admin.command.UserCommand.getUser ( )
inline
Returns
the user

◆ setOperation()

void eu.baltrad.beast.admin.command.UserCommand.setOperation ( String operation)
inline
Parameters
operationthe operation to set

◆ setUser()

void eu.baltrad.beast.admin.command.UserCommand.setUser ( User user)
inline
Parameters
userthe user to set

◆ validate()

boolean eu.baltrad.beast.admin.command.UserCommand.validate ( )
inline

Member Data Documentation

◆ CHANGE_PASSWORD

final String eu.baltrad.beast.admin.command.UserCommand.CHANGE_PASSWORD = "change_password"
static

Change password for a user.

◆ LIST

final String eu.baltrad.beast.admin.command.UserCommand.LIST = "list_users"
static

Returns a list of available users.


The documentation for this class was generated from the following file: