com.ebmwebsourcing.webeditor.server.impl.service.upload
Class UploadService

java.lang.Object
  extended by com.ebmwebsourcing.webeditor.server.impl.service.upload.UploadService

public class UploadService
extends java.lang.Object

Info: Temporary Singleton class until Spring dependency injection is implemented

Author:
nfleury

Method Summary
static UploadService getInstance(javax.servlet.http.HttpSession session)
           
 java.io.File getUploadedFileFromSession(java.lang.String key, com.ebmwebsourcing.webeditor.api.domain.user.IUser user, com.ebmwebsourcing.webeditor.api.domain.project.IProjectType projectType)
           
 void registerFile(java.lang.String key, java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static UploadService getInstance(javax.servlet.http.HttpSession session)

registerFile

public void registerFile(java.lang.String key,
                         java.io.File file)

getUploadedFileFromSession

public java.io.File getUploadedFileFromSession(java.lang.String key,
                                               com.ebmwebsourcing.webeditor.api.domain.user.IUser user,
                                               com.ebmwebsourcing.webeditor.api.domain.project.IProjectType projectType)
                                        throws com.ebmwebsourcing.webeditor.impl.domain.exception.ServiceException
Throws:
com.ebmwebsourcing.webeditor.impl.domain.exception.ServiceException


Copyright © 2010-2011 Petals Link. All Rights Reserved.