@SuppressWarnings("unchecked")
public Object execute(String execStatement,Object parameter){
if("archive".equals(execStatement)){
HistoryPersistence historyPersistence = ProcessObjectFactory.FACTORYINSTANCE.createHistoryPersistence(connection);
Map<String,Object> paraMap = (Map<String,Object>)parameter;
return historyPersistence.archive(paraMap);
}
return null;
}