Merge branch 'feature/RM-4952_ReadOnlyParams' into 'master'

Feature/rm 4952 read only params

See merge request !226
This commit is contained in:
Tom Page
2017-04-21 13:24:09 +01:00

View File

@@ -35,6 +35,7 @@ import org.alfresco.rest.model.RestSiteModel;
import org.alfresco.rest.model.RestSiteModelsCollection;
import org.alfresco.rest.requests.coreAPI.RestCoreAPI;
import org.alfresco.rest.rm.community.requests.gscore.GSCoreAPI;
import org.alfresco.utility.model.StatusModel;
import org.alfresco.utility.model.UserModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
@@ -102,6 +103,12 @@ public class RMRestWrapper
restWrapper.processEmptyModel(simpleRequest);
}
/** Get the most recently returned status object. */
public StatusModel getLastStatus()
{
return restWrapper.getLastStatus();
}
/** Get the most recently returned status code. */
public String getStatusCode()
{