}
public List<Map<String,Object>> getResources(Map<String,Object> params){
String userid = StringUtil.getString(params.get("userId"));
String deploymentId = StringUtil.getString(params.get("deploymentId"));
ProcessEngine processEngine = null;
List<Map<String,Object>> resultList = new ArrayList<Map<String,Object>>();
try {
processEngine = getProcessEngine(userid);
DeploymentEntity deploymentEntity= processEngine.getModelService().getDeploymentEntity(deploymentId);
Map<String,ResourceEntity> map = deploymentEntity.getResources();
for(String key :map.keySet()){
Map<String,Object> resultMap = new HashMap<String,Object>();
ResourceEntity resourceEntity = map.get(key);
resultMap.put("FILENAME", resourceEntity.getName());