Interface IEntityProxy


public interface IEntityProxy
A generic interface implemented by all entity proxy classes, defining some default methods and some common methods among all entity proxies.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Commit the changes made on this proxy object.
    default void
    commit(IContext context)
    Commit the changes made on this proxy object using the specified context.
    default void
    Delete the object.
    default void
    delete(IContext context)
    Delete the object using the specified context.
    Gives the IContext instance of this proxy, or null if no IContext instance was specified at initialization.
    Gives the IMendixObject instance of this proxy for use in the Core interface.
  • Method Details

    • getMendixObject

      IMendixObject getMendixObject()
      Gives the IMendixObject instance of this proxy for use in the Core interface.
      Returns:
      the IMendixObject instance
    • getContext

      IContext getContext()
      Gives the IContext instance of this proxy, or null if no IContext instance was specified at initialization.
      Returns:
      this IContext instance
    • commit

      default void commit() throws CoreException
      Commit the changes made on this proxy object.
      Throws:
      CoreException - in case something goes wrong during commit.
    • commit

      default void commit(IContext context) throws CoreException
      Commit the changes made on this proxy object using the specified context.
      Parameters:
      context - the context to use for the commit action.
      Throws:
      CoreException - in case something goes wrong during commit.
    • delete

      default void delete()
      Delete the object.
    • delete

      default void delete(IContext context)
      Delete the object using the specified context.
      Parameters:
      context - the context to use for the delete action.