Class AdminAction

java.lang.Object
com.mendix.m2ee.api.AdminAction

@Deprecated public abstract class AdminAction extends Object
Deprecated.
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

    Constructors
    Constructor
    Description
    Deprecated.
    Create a new AdminAction.
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract com.mendix.thirdparty.org.json.JSONObject
    execute(com.mendix.thirdparty.org.json.JSONObject params)
    Deprecated.
    Execute this AdminAction.
    final String
    Deprecated.
    Get the name of this AdminAction.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdminAction

      public AdminAction(String name)
      Deprecated.
      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.
      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

      public final String getName()
      Deprecated.
      Get the name of this AdminAction.
      Returns:
      the name of this AdminAction.