public class ContainerAction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContainerAction.ContainerActionType
Enumeration of the possible actions that can be performed on a blotter item.
|
Constructor and Description |
---|
ContainerAction(ContainerAction.ContainerActionType actionType,
String itemId,
String subject)
Used to create a stand-alone action that is not yet linked to a specific message.
|
ContainerAction(ContainerAction.ContainerActionType actionType,
String itemId,
String subject,
FXBlotterItemMessage message)
Used when we want to perform an action on a specific message.
|
Modifier and Type | Method and Description |
---|---|
ContainerAction |
copyOf(com.caplin.datasource.messaging.MessageFactory factory)
Creates a deep copy of this container action.
|
boolean |
equals(Object obj) |
ContainerAction.ContainerActionType |
getActionType()
Gets the action type.
|
String |
getItemId()
Gets the item ID.
|
String |
getItemSubject()
Gets the item subject.
|
FXBlotterItemMessage |
getMessage()
Gets the message this action relates to, or null if no message was passed.
|
int |
hashCode() |
String |
toString() |
public ContainerAction(ContainerAction.ContainerActionType actionType, String itemId, String subject)
actionType
- The type of action.itemId
- The ID of the item to perform the action on.subject
- The subject of the item to perform the action on.public ContainerAction(ContainerAction.ContainerActionType actionType, String itemId, String subject, FXBlotterItemMessage message)
actionType
- The type of action.itemId
- The ID of the item to perform the action on.subject
- The subject of the item to perform the action on.message
- The message that this container action relates to.public ContainerAction.ContainerActionType getActionType()
public String getItemId()
public String getItemSubject()
public FXBlotterItemMessage getMessage()
public ContainerAction copyOf(com.caplin.datasource.messaging.MessageFactory factory)
factory
- The message factory to use to create a copy of the message this container action
relates to. If this container action was not instantiated with a message, you can safely pass null.Copyright © 2015 Caplin Systems.