return getInodesOfClassByConditionAndOrderBy(c,condition,orderby,limit,0,direction);
}
public static java.util.List getInodesOfClassByConditionAndOrderBy(Class c, String condition, String orderby,int limit,int offset,String direction) {
if( c.equals(Identifier.class)){
throw new DotStateException("Identifiers are no longer Inodes!");
}
try {
HibernateUtil dh = new HibernateUtil(c);
String type = ((Inode) c.newInstance()).getType();
String query = "from inode in class " + c.getName();