protected String doHandlePost(UserSession us, Map args) { String id = us.getAndSaveAsString(args, "photoId"); Photo photo = PhotoManager.getInstance().getPhoto(id); String tags = us.getAndSaveAsString(args, Photo.TAGS); photo.setTags(new Tags(tags)); String status = us.getAndSaveAsString(args, Photo.STATUS); photo.setStatus(PhotoStatus.getFromString(status)); AsyncTaskExecutor.savePhotoAsync(id); log.info( LogBuilder.createUserMessage() .addAction("AdminUserPhoto") .addParameter("Photo", photo.getId().asString()) .toString()); us.setMessage(us.getClient().getLanguageConfiguration().getPhotoUpdateSucceeded()); return PartUtil.SHOW_ADMIN_PAGE_NAME; }