Package org.appng.xml.platform
Class ActionRef
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.ActionRef
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TestBase.ActionCall
public class ActionRef extends BaseObject implements Serializable
A reference to aAction
. It depends on theCondition
andPermissions
whether or not the referencedAction
is being included to the page.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
async
protected String
clientValidation
protected Condition
condition
protected String
eventId
protected Boolean
forceForward
protected String
id
protected String
mode
protected String
onSuccess
protected Boolean
pageMessages
protected Params
params
protected Permissions
permissions
-
Constructor Summary
Constructors Constructor Description ActionRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsync()
If evaluating totrue
, theAction
will be executed asynchronously.String
getClientValidation()
If evaluating totrue
, the validation of the input-fields will be performed on the client (where possible).Condition
getCondition()
Gets the value of the condition property.String
getEventId()
The event-id of the referencedAction
String
getId()
The unique id of the referencedAction
String
getMode()
If the appNG-template or the application's custom templating supports some custom display mode(s), the mode can be used to control this custom behavior.String
getOnSuccess()
The URI to forward to after successfully performing the action.Params
getParams()
Gets the value of the params property.Permissions
getPermissions()
Gets the value of the permissions property.boolean
isForceForward()
If onSuccess is set, forwarding can be forced, even in case of an errorBoolean
isPageMessages()
Set to true to promote messages to the page, false to keep them on the action.void
setAsync(String value)
Sets the value of the async property.void
setClientValidation(String value)
Sets the value of the clientValidation property.void
setCondition(Condition value)
Sets the value of the condition property.void
setEventId(String value)
Sets the value of the eventId property.void
setForceForward(Boolean value)
Sets the value of the forceForward property.void
setId(String value)
Sets the value of the id property.void
setMode(String value)
Sets the value of the mode property.void
setOnSuccess(String value)
Sets the value of the onSuccess property.void
setPageMessages(Boolean value)
Sets the value of the pageMessages property.void
setParams(Params value)
Sets the value of the params property.void
setPermissions(Permissions value)
Sets the value of the permissions property.
-
-
-
Field Detail
-
params
protected Params params
-
condition
protected Condition condition
-
permissions
protected Permissions permissions
-
id
protected String id
-
eventId
protected String eventId
-
onSuccess
protected String onSuccess
-
pageMessages
protected Boolean pageMessages
-
mode
protected String mode
-
forceForward
protected Boolean forceForward
-
async
protected String async
-
clientValidation
protected String clientValidation
-
-
Method Detail
-
getParams
public Params getParams()
Gets the value of the params property.- Returns:
- possible object is
Params
-
setParams
public void setParams(Params value)
Sets the value of the params property.- Parameters:
value
- allowed object isParams
-
getCondition
public Condition getCondition()
Gets the value of the condition property.- Returns:
- possible object is
Condition
-
setCondition
public void setCondition(Condition value)
Sets the value of the condition property.- Parameters:
value
- allowed object isCondition
-
getPermissions
public Permissions getPermissions()
Gets the value of the permissions property.- Returns:
- possible object is
Permissions
-
setPermissions
public void setPermissions(Permissions value)
Sets the value of the permissions property.- Parameters:
value
- allowed object isPermissions
-
getId
public String getId()
The unique id of the referencedAction
- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getEventId
public String getEventId()
The event-id of the referencedAction
- Returns:
- possible object is
String
-
setEventId
public void setEventId(String value)
Sets the value of the eventId property.- Parameters:
value
- allowed object isString
-
getOnSuccess
public String getOnSuccess()
The URI to forward to after successfully performing the action.- Returns:
- possible object is
String
-
setOnSuccess
public void setOnSuccess(String value)
Sets the value of the onSuccess property.- Parameters:
value
- allowed object isString
-
isPageMessages
public Boolean isPageMessages()
Set to true to promote messages to the page, false to keep them on the action.- Returns:
- possible object is
Boolean
-
setPageMessages
public void setPageMessages(Boolean value)
Sets the value of the pageMessages property.- Parameters:
value
- allowed object isBoolean
-
getMode
public String getMode()
If the appNG-template or the application's custom templating supports some custom display mode(s), the mode can be used to control this custom behavior.- Returns:
- possible object is
String
-
setMode
public void setMode(String value)
Sets the value of the mode property.- Parameters:
value
- allowed object isString
-
isForceForward
public boolean isForceForward()
If onSuccess is set, forwarding can be forced, even in case of an error- Returns:
- possible object is
Boolean
-
setForceForward
public void setForceForward(Boolean value)
Sets the value of the forceForward property.- Parameters:
value
- allowed object isBoolean
-
getAsync
public String getAsync()
If evaluating totrue
, theAction
will be executed asynchronously.- Returns:
- possible object is
String
-
setAsync
public void setAsync(String value)
Sets the value of the async property.- Parameters:
value
- allowed object isString
-
getClientValidation
public String getClientValidation()
If evaluating totrue
, the validation of the input-fields will be performed on the client (where possible).- Returns:
- possible object is
String
-
-