Liferay 7.0-ce-b4

com.liferay.portal.kernel.util
Class TempFileUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.TempFileUtil

Deprecated. As of 7.0.0, replaced by TempFileEntryUtil

@Deprecated
public class TempFileUtil
extends Object


Constructor Summary
TempFileUtil()
          Deprecated.  
 
Method Summary
static FileEntry addTempFileEntry(long groupId, long userId, String fileName, String tempFolderName, File file, String mimeType)
          Deprecated.  
static FileEntry addTempFileEntry(long groupId, long userId, String fileName, String tempFolderName, InputStream inputStream, String mimeType)
          Deprecated.  
static void deleteTempFileEntry(long fileEntryId)
          Deprecated.  
static void deleteTempFileEntry(long groupId, long userId, String folderName, String fileName)
          Deprecated.  
static FileEntry getTempFileEntry(long groupId, long userId, String folderName, String fileName)
          Deprecated.  
static String[] getTempFileNames(long groupId, long userId, String folderName)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempFileUtil

public TempFileUtil()
Deprecated. 
Method Detail

addTempFileEntry

public static FileEntry addTempFileEntry(long groupId,
                                         long userId,
                                         String fileName,
                                         String tempFolderName,
                                         File file,
                                         String mimeType)
                                  throws PortalException
Deprecated. 
Throws:
PortalException

addTempFileEntry

public static FileEntry addTempFileEntry(long groupId,
                                         long userId,
                                         String fileName,
                                         String tempFolderName,
                                         InputStream inputStream,
                                         String mimeType)
                                  throws PortalException
Deprecated. 
Throws:
PortalException

deleteTempFileEntry

public static void deleteTempFileEntry(long fileEntryId)
                                throws PortalException
Deprecated. 
Throws:
PortalException

deleteTempFileEntry

public static void deleteTempFileEntry(long groupId,
                                       long userId,
                                       String folderName,
                                       String fileName)
                                throws PortalException
Deprecated. 
Throws:
PortalException

getTempFileEntry

public static FileEntry getTempFileEntry(long groupId,
                                         long userId,
                                         String folderName,
                                         String fileName)
                                  throws PortalException
Deprecated. 
Throws:
PortalException

getTempFileNames

public static String[] getTempFileNames(long groupId,
                                        long userId,
                                        String folderName)
                                 throws PortalException
Deprecated. 
Throws:
PortalException

Liferay 7.0-ce-b4