Package com.mendix.m2ee.api
Class AdminAction
java.lang.Object
com.mendix.m2ee.api.AdminAction
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.18. This class will be removed in Mendix 11. There is no replacement.
This class is meant for internal use only.
Represents an admin action to be executed by the runtime. The subclass should be immutable.
-
Constructor Summary
ConstructorsConstructorDescriptionAdminAction(String name) Deprecated, for removal: This API element is subject to removal in a future version.Create a new AdminAction. -
Method Summary
Modifier and TypeMethodDescriptionabstract com.mendix.thirdparty.org.json.JSONObjectexecute(com.mendix.thirdparty.org.json.JSONObject params) Deprecated, for removal: This API element is subject to removal in a future version.Execute this AdminAction.final StringgetName()Deprecated, for removal: This API element is subject to removal in a future version.Get the name of this AdminAction.
-
Constructor Details
-
AdminAction
Deprecated, for removal: This API element is subject to removal in a future version.Create a new AdminAction.- Parameters:
name- the name of the AdminAction.
-
-
Method Details
-
execute
public abstract com.mendix.thirdparty.org.json.JSONObject execute(com.mendix.thirdparty.org.json.JSONObject params) throws AdminException, com.mendix.thirdparty.org.json.JSONException Deprecated, for removal: This API element is subject to removal in a future version.Execute this AdminAction.- Parameters:
params- the parameters for executing this AdminAction.- Returns:
- the result of executing this AdminAction.
- Throws:
AdminException- when exeution of the action failed.com.mendix.thirdparty.org.json.JSONException- when the parameters could not be parsed.
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Get the name of this AdminAction.- Returns:
- the name of this AdminAction.
-