hs.hsadmin/hsarback/src/de/hsadmin/mods/email/EMailAliasModuleImpl.java

21 lines
572 B
Java
Raw Normal View History

2010-10-05 21:42:07 +02:00
package de.hsadmin.mods.email;
import java.util.List;
import de.hsadmin.core.model.AbstractModuleImpl;
import de.hsadmin.core.model.AbstractEntity;
import de.hsadmin.core.model.HSAdminException;
public class EMailAliasModuleImpl extends AbstractModuleImpl {
@Override
public List<AbstractEntity> search(Class<? extends AbstractEntity> entityClass,
String condition, String orderBy) throws HSAdminException {
if (orderBy == null || orderBy.length() == 0) {
2010-12-16 18:24:21 +01:00
orderBy = "ORDER BY obj.name ASC";
2010-10-05 21:42:07 +02:00
}
return super.search(entityClass, condition, orderBy);
}
}