Examples of UpdateCachedBannerMapperRequest


Examples of org.eurekastreams.server.persistence.mappers.requests.UpdateCachedBannerMapperRequest

        {
            SaveImageRequest currentRequest = (SaveImageRequest) inActionContext.getParams();
            imageWriter.write(currentRequest.getFileItem(), "n" + currentRequest.getImageId());
            mapper.updateBannerId(currentRequest.getEntityId(), currentRequest.getImageId());
            mapper.flush();
            cacheMapper.execute(new UpdateCachedBannerMapperRequest(currentRequest.getImageId(), currentRequest
                    .getEntityId()));
        }
        catch (Exception ex)
        {
            log.error("Error running SaveBannerAction", ex);
View Full Code Here

Examples of org.eurekastreams.server.persistence.mappers.requests.UpdateCachedBannerMapperRequest

                imageWriter.delete("n" + bannerObject.getBannerId());
            }
            // Update the db.
            boolean result = mapper.updateBannerId(entityId, null);
            // Update the cache.
            updateCachedBannerMapper.execute(new UpdateCachedBannerMapperRequest(null, entityId));

            return bannerObject;
        }
        catch (Exception ex)
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.