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 TypeMethodDescriptiondefault void
commit()
Commit the changes made on this proxy object.default void
Commit the changes made on this proxy object using the specified context.default void
delete()
Delete the object.default void
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
Commit the changes made on this proxy object.- Throws:
CoreException
- in case something goes wrong during commit.
-
commit
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
Delete the object using the specified context.- Parameters:
context
- the context to use for the delete action.
-