* Initierer lister
*/
@SuppressWarnings("unchecked")
private void initList() {
if (!isCollies) {
OrderManager orderManager = (OrderManager) ModelUtil
.getBean("orderManager");
// List<Transportable> tmpList = new ArrayList<Transportable>(list);
// for (Transportable transportable : tmpList) {
for (TransportListable transportable : list) {
if (transportable instanceof Order) {
orderManager.lazyLoadOrder((Order) transportable,
new LazyLoadOrderEnum[] {
LazyLoadOrderEnum.COLLIES,
LazyLoadOrderEnum.COMMENTS });
}
transportable.setSent(sentDate);