public String doInitialize() {
// -----------------------------
- Session connex = Database.getSession();
+ Session connex = Database.getCurSession();
Transaction transax = connex.beginTransaction();
try {
SimulationContext.Properties cprop = new SimulationContext.Properties();
public String doSelect() {
// -------------------------
- Session connex = Database.getSession();
+ Session connex = Database.getCurSession();
Transaction transax = connex.beginTransaction();
try {
SimulationContext.Properties cprop = new SimulationContext.Properties();
kprop.setSimulationContexts(selected).setState(
ProgressState.inWORK));
- step = edition.getType().getAttachedStep();
+ step = getSimulationContextService().getAttachedStep(edition.getType());
owner = new HashSet<ProjectElementFacade>();
for (Iterator<Proxy> i = kelm.iterator(); i.hasNext();) {
KnowledgeElement next = getKnowledgeElementService()
}
SimulationContextType.Properties sprop = new SimulationContextType.Properties();
List<SimulationContextType> types = getSimulationContextService()
- .selectTypesWhere(sprop.setState(ProgressState.APPROVED));
+ .selectTypesWhere(sprop.setProgressState(ProgressState.APPROVED));
Locale[] support = ApplicationSettings.getSupportedLocales();
// Sort localized type names