Package railo.runtime.functions.orm

Source Code of railo.runtime.functions.orm.EntityNameArray

package railo.runtime.functions.orm;

import railo.runtime.PageContext;
import railo.runtime.exp.PageException;
import railo.runtime.orm.ORMSession;
import railo.runtime.orm.ORMUtil;
import railo.runtime.type.Array;
import railo.runtime.type.ArrayImpl;

public class EntityNameArray{
 
  public static Array call(PageContext pc) throws PageException {
    ORMSession sess = ORMUtil.getSession(pc);
    return new ArrayImpl(sess.getEntityNames());
  }
}
TOP

Related Classes of railo.runtime.functions.orm.EntityNameArray

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.