public class ListCommandsBeans
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListCommandsBeans()
Instantiates a new list commands beans.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addErrorMessage()
Adds the error message.
|
protected void |
addSucessMessage(java.lang.String message)
Adds the sucess message.
|
void |
deleteCommand()
Delete command.
|
CommandJPA |
getCommand()
Gets the command.
|
java.lang.Integer |
getCommandId()
Gets the command id.
|
java.util.Collection<CommandJPA> |
getCommandsCollection()
Gets the commands collection.
|
void |
init()
Inits the.
|
java.lang.String |
retrieveCommandsList()
Retrieve commands list.
|
void |
setCommand(CommandJPA command)
Sets the command.
|
void |
setCommandId(java.lang.Integer commandId)
Sets the command id.
|
void |
setCommandsCollection(java.util.Collection<CommandJPA> commandsCollection)
Sets the commands collection.
|
public ListCommandsBeans()
public java.lang.Integer getCommandId()
public void setCommandId(java.lang.Integer commandId)
commandId
- the new command idpublic CommandJPA getCommand()
public void setCommand(CommandJPA command)
command
- the new commandpublic java.util.Collection<CommandJPA> getCommandsCollection()
public void setCommandsCollection(java.util.Collection<CommandJPA> commandsCollection)
commandsCollection
- the new commands collectionpublic java.lang.String retrieveCommandsList()
public void deleteCommand()
@PostConstruct public void init()
protected void addSucessMessage(java.lang.String message)
message
- the messageprotected void addErrorMessage()