package com.vci.server.bof.server.update;
|
|
import com.vci.server.bof.server.ServiceFacadeExecuteHelper;
|
import com.vci.server.bof.service.LOFactoryService;
|
|
public class BatchUpdateLO extends ServiceFacadeExecuteHelper{
|
|
private static ServiceFacadeExecuteHelper instance = null;
|
|
public static ServiceFacadeExecuteHelper getInstance() {
|
if(instance == null) {
|
instance = new BatchUpdateLO();
|
}
|
return instance;
|
}
|
|
@Override
|
protected Object doAction() throws Throwable {
|
try {
|
LOFactoryService services = LOFactoryService.getInstance();
|
return services.batchUpdateLinkObject(params.getLos());
|
} catch (Exception e) {
|
e.printStackTrace();
|
|
throw this.getLocalString("P0010LOL-00002", e);
|
} catch (Throwable t) {
|
|
t.printStackTrace();
|
throw this.getLocalString("P0010LOL-00002", t);
|
}
|
}
|
|
}
|