Mendix Runtime
Documentation for the Mendix Runtime Environment API
com.mendix.systemwideinterfaces.core.ICoreAction< R > Interface Reference

List of all members.

Public Member Functions

abstract String toString ()
void addTextMessageFeedback (MessageType type, String message, boolean blocking)
void addRefreshObjectFeedback (IMendixIdentifier id)
void addRefreshClass (String objectClass)
void addOpenFormFeedback (String formName, String title, FormTarget target)
void addOpenFormFeedback (String formName, String title, FormTarget target, IMendixIdentifier currentIdentifier, List< IMendixIdentifier > constraints)
void addDatavalidationFeedback (IMendixIdentifier id, Map< String, String > errorFields)

Detailed Description

This interface is implemented by all actions executed in the runtime (e.g. custom Java actions, microflows, system actions).

Parameters:
<R>the return type of the action.

Member Function Documentation

void com.mendix.systemwideinterfaces.core.ICoreAction< R >.addDatavalidationFeedback ( IMendixIdentifier  id,
Map< String, String >  errorFields 
)

Add data validation feedback to this action

Parameters:
idthe id of the object data validation was performed on
errorFieldsa map with attribute names as key and error messages as values
void com.mendix.systemwideinterfaces.core.ICoreAction< R >.addOpenFormFeedback ( String  formName,
String  title,
FormTarget  target 
)

Add open form feedback to this action

Parameters:
formNamethe form to open (e.g. "Case_Events_Actions/pane/multiedit.mxf")
titlethe title of the form
targetthe target (content or window)
void com.mendix.systemwideinterfaces.core.ICoreAction< R >.addOpenFormFeedback ( String  formName,
String  title,
FormTarget  target,
IMendixIdentifier  currentIdentifier,
List< IMendixIdentifier constraints 
)

Add open form feedback to this action

Parameters:
formNamethe form to open (e.g. "Case_Events_Actions/pane/multiedit.mxf")
titlethe title of the form
targetthe target (content or window)
currentIdentifierthe currentIdentifier
constraintsthe context objects
void com.mendix.systemwideinterfaces.core.ICoreAction< R >.addRefreshClass ( String  objectClass)

Add refresh class object feedback to this action

Parameters:
objectClassthe name of the class to refresh
void com.mendix.systemwideinterfaces.core.ICoreAction< R >.addRefreshObjectFeedback ( IMendixIdentifier  id)

Add refresh object feedback to this action

Parameters:
idthe of the object to refresh
void com.mendix.systemwideinterfaces.core.ICoreAction< R >.addTextMessageFeedback ( MessageType  type,
String  message,
boolean  blocking 
)

Add text message feedback to this action

Parameters:
typethe type of message
messagethe message content
blockingwhether the message is blocking (user has to take action before message disappears)
abstract String com.mendix.systemwideinterfaces.core.ICoreAction< R >.toString ( ) [pure virtual]
Returns:
returns String representation of this object

The documentation for this interface was generated from the following file: