fix SOAP interface 6.0 tip
authorchris
Tue, 15 Aug 2017 09:56:42 +0200
branch6.0
changeset 252e800e0c8fbab
parent 251 d91457135190
fix SOAP interface
colibriweb/src/main/java/com/proclos/colibriweb/service/ColibriService.java
     1.1 --- a/colibriweb/src/main/java/com/proclos/colibriweb/service/ColibriService.java	Tue Jul 11 22:20:01 2017 +0200
     1.2 +++ b/colibriweb/src/main/java/com/proclos/colibriweb/service/ColibriService.java	Tue Aug 15 09:56:42 2017 +0200
     1.3 @@ -53,6 +53,7 @@
     1.4  import com.jedox.etl.core.execution.ResultCodes;
     1.5  import com.jedox.etl.core.execution.ResultCodes.Codes;
     1.6  import com.jedox.etl.core.execution.ResultCodes.DataTargets;
     1.7 +import com.jedox.etl.core.execution.StateManager;
     1.8  import com.jedox.etl.core.node.IColumn;
     1.9  import com.jedox.etl.core.node.Row;
    1.10  import com.jedox.etl.core.persistence.DatastoreManager;
    1.11 @@ -97,9 +98,6 @@
    1.12  	private EntityManager entityManager;
    1.13  
    1.14  	@In
    1.15 -	private ColibriStateManager colibriStateManager;
    1.16 -
    1.17 -	@In
    1.18  	private Identity identity;
    1.19  
    1.20  	//******************* P R I V A T E  M E T H O D S ********************************
    1.21 @@ -933,7 +931,7 @@
    1.22  			AccessUtil.appendAccessCriterion("component.project", getCurrentUser(), criteria);
    1.23  			ExecutionInfo state = (ExecutionInfo) criteria.createCriteria().uniqueResult();
    1.24  			if (state != null) {
    1.25 -				String result = colibriStateManager.getMessagesText(state, type, timestamp, start, pagesize);
    1.26 +				String result = StateManager.getInstance().getMessagesText(state, type, timestamp, start, pagesize);
    1.27  				d.setResult(result);
    1.28  			}
    1.29  			else {