Beispiel #1
0
  @Override
  public boolean equals(Object obj) {
    if (obj == this) return true;

    if (obj != null && getClass().equals(obj.getClass())) {
      final emailtemplate.proxies.Email that = (emailtemplate.proxies.Email) obj;
      return getMendixObject().equals(that.getMendixObject());
    }
    return false;
  }
Beispiel #2
0
 /** @deprecated Use 'Email.load(IContext, IMendixIdentifier)' instead. */
 @Deprecated
 public static emailtemplate.proxies.Email initialize(
     com.mendix.systemwideinterfaces.core.IContext context,
     com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier)
     throws com.mendix.core.CoreException {
   return emailtemplate.proxies.Email.load(context, mendixIdentifier);
 }
Beispiel #3
0
 public static emailtemplate.proxies.Email load(
     com.mendix.systemwideinterfaces.core.IContext context,
     com.mendix.systemwideinterfaces.core.IMendixIdentifier mendixIdentifier)
     throws com.mendix.core.CoreException {
   com.mendix.systemwideinterfaces.core.IMendixObject mendixObject =
       com.mendix.core.Core.retrieveId(context, mendixIdentifier);
   return emailtemplate.proxies.Email.initialize(context, mendixObject);
 }
Beispiel #4
0
 public static java.util.List<emailtemplate.proxies.Email> load(
     com.mendix.systemwideinterfaces.core.IContext context, java.lang.String xpathConstraint)
     throws com.mendix.core.CoreException {
   java.util.List<emailtemplate.proxies.Email> result =
       new java.util.ArrayList<emailtemplate.proxies.Email>();
   for (com.mendix.systemwideinterfaces.core.IMendixObject obj :
       com.mendix.core.Core.retrieveXPathQuery(context, "//EmailTemplate.Email" + xpathConstraint))
     result.add(emailtemplate.proxies.Email.initialize(context, obj));
   return result;
 }