public static Operation eq(Person other) { return finder.eq(other); }
public static Person findByPrimaryKey(int personId) { return finder.findByPrimaryKey(personId); }
public static PersonList findMany(com.gs.fw.finder.Operation operation) { return (PersonList) finder.findMany(operation); }
public Person findByPrimaryKey(int personId) { Person _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(personId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Person) _related; if (_related == null) { _op = this.personId().eq(personId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Person findByPrimaryKey(int personId) { Person _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(personId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Person) _related; if (_related == null) { _op = this.personId().eq(personId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public static com.gs.fw.common.mithra.extractor.Function getAttributeOrRelationshipSelector(String attributeName) { return finder.getAttributeOrRelationshipSelector(attributeName); }
public static PersonList findManyBypassCache(com.gs.fw.finder.Operation operation) { return (PersonList) finder.findManyBypassCache(operation); }
public static List<RelatedFinder> allDependentRelatedFinders() { return finder.getDependentRelationshipFinders(); }
public static com.gs.fw.common.mithra.extractor.Function getAttributeOrRelationshipSelector(String attributeName) { return finder.getAttributeOrRelationshipSelector(attributeName); }
public static PersonList findManyBypassCache(com.gs.fw.finder.Operation operation) { return (PersonList) finder.findManyBypassCache(operation); }
public static Attribute getAttributeByName(String attributeName) { return finder.getAttributeByName(attributeName); }
public static Attribute getAttributeByName(String attributeName) { return finder.getAttributeByName(attributeName); }
public static List<RelatedFinder> allDependentRelatedFinders() { return finder.getDependentRelationshipFinders(); }
public static Attribute[] allPersistentAttributes() { return finder.getPersistentAttributes(); }
public static Person findByPrimaryKey(int personId) { return finder.findByPrimaryKey(personId); }
public static Operation eq(Person other) { return finder.eq(other); }
public static PersonList findMany(com.gs.fw.finder.Operation operation) { return (PersonList) finder.findMany(operation); }
public static Attribute[] allPersistentAttributes() { return finder.getPersistentAttributes(); }