Exemple #1
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);
 }
Exemple #2
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;
 }