public final class ServerPrintJournalsCommand extends ServerMonitorCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FROM
The keyword for specifying the lower bound of the time window
|
static java.lang.String |
TO
The keyword for specifying the upper bound of the time window
|
Constructor and Description |
---|
ServerPrintJournalsCommand(java.lang.String relvarName,
java.util.Date from,
java.util.Date to)
Creates the ServerDBVerifyCommand
|
ServerPrintJournalsCommand(ValueBuffer relvarName,
java.util.Date from,
java.util.Date to)
Creates the ServerDBVerifyCommand
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommandParametersText()
Gets the full textual representation of the command's parameters
|
int |
getCorrespondingMessageTypeID()
Gets the MessageTypeID of the corresponding message type to send to the server to get this (type of) command executed
|
java.util.Date |
getFrom()
Gets from
|
java.lang.String |
getFullCommandText()
Gets the full textual representation of the command
|
MessageParams |
getMessageParms()
Gets a messageParams object that can be used by a MessageType implementation to factory a Message object.
|
java.lang.String |
getRelvarName()
Gets relvarName
|
java.util.Date |
getTo()
Gets to
|
getCommandObjectFor, getCommandObjectFrom, toString
public static final java.lang.String TO
public static final java.lang.String FROM
public ServerPrintJournalsCommand(java.lang.String relvarName, java.util.Date from, java.util.Date to)
relvarName
- The name of the relvar for which the journals are to be printed. If the zero-length string, no selection based on relvar name is made during the printing.from
- -to
- -public ServerPrintJournalsCommand(ValueBuffer relvarName, java.util.Date from, java.util.Date to)
relvarName
- The name of the relvar for which the journals are to be printed. If the zero-length string, no selection based on relvar name is made during the printing.from
- -to
- -public java.lang.String getCommandParametersText()
ServerMonitorCommand
getCommandParametersText
in class ServerMonitorCommand
public int getCorrespondingMessageTypeID()
ServerMonitorCommand
getCorrespondingMessageTypeID
in class ServerMonitorCommand
public final java.util.Date getFrom()
public java.lang.String getFullCommandText()
ServerMonitorCommand
getFullCommandText
in class ServerMonitorCommand
public final java.lang.String getRelvarName()
public final java.util.Date getTo()
public MessageParams getMessageParms()
ServerMonitorCommand
getMessageParms
in class ServerMonitorCommand