Class AddNewStateRequest
- java.lang.Object
-
- de.xima.fc.gui.bean.designer.request.AddNewStateRequest
-
- All Implemented Interfaces:
IDesignerConversationRequest<AddNewStateResponse>
,ICrossViewScopeRequest<AddNewStateResponse>
,Serializable
public class AddNewStateRequest extends Object
Request a new state to be added to the workflow.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddNewStateRequest(EContentView contentView, AddNewStateData stateData)
A new POJO with the given data.AddNewStateRequest(String sourceTabId, AddNewStateData stateData)
A new POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends AddNewStateResponse>
getResponseType()
String
getSourceTabId()
AddNewStateData
getStateData()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.gui.bean.designer.request.IDesignerConversationRequest
getSourceTabView
-
-
-
-
Constructor Detail
-
AddNewStateRequest
public AddNewStateRequest(EContentView contentView, AddNewStateData stateData)
A new POJO with the given data.- Parameters:
contentView
- Content view whoseEContentView.getId()
will be returned byIDesignerConversationRequest.getSourceTabId()
.stateData
- Value returned bygetStateData()
.
-
AddNewStateRequest
public AddNewStateRequest(String sourceTabId, AddNewStateData stateData)
A new POJO with the given data.- Parameters:
sourceTabId
- Value returned byIDesignerConversationRequest.getSourceTabId()
.stateData
- Value returned bygetStateData()
.
-
-
Method Detail
-
getResponseType
public Class<? extends AddNewStateResponse> getResponseType()
- Returns:
- Type of the requested data.
-
getStateData
public AddNewStateData getStateData()
- Returns:
- Details about the new state to be added.
-
getSourceTabId
public String getSourceTabId()
- Specified by:
getSourceTabId
in interfaceIDesignerConversationRequest<T extends Serializable>
- Returns:
- ID of the tab (see
TabModel.getId()
) that issued the event. Empty string if the event was issued by the designer parent frame.
-
-