it.eng.spagobi.tools.massiveExport.utils
Class Utilities

java.lang.Object
  extended by it.eng.spagobi.tools.massiveExport.utils.Utilities

public class Utilities
extends java.lang.Object


Field Summary
static java.lang.String RESOURCE_MASSIVE_EXPORT_FOLDER
           
 
Constructor Summary
Utilities()
           
 
Method Summary
static java.lang.String addSeparatorIfNeeded(java.lang.String path)
           
static java.io.File createMassiveExportZip(java.lang.String functionalityCd, java.lang.String randomKey)
           
static void deleteMassiveExportFolderIfEmpty(java.lang.String functionalityCd)
           
static java.util.List getContainedObjFilteredbyType(LowFunctionality funct, java.lang.String docType)
           
static java.io.File getMassiveExportFolder()
           
static java.io.File getMassiveExportZipFile(java.lang.String folderName, java.lang.String fileName)
           
static java.io.File getMassiveExportZipFolder(java.lang.String folderName)
           
static java.io.File getMassiveScheduleZipFile(java.lang.String userIdentifier, java.lang.String folderLabel, java.lang.String zipFileName)
           
static java.io.File getMassiveScheduleZipFolder(java.lang.String userIdentifier, java.lang.String folderLabel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_MASSIVE_EXPORT_FOLDER

public static final java.lang.String RESOURCE_MASSIVE_EXPORT_FOLDER
See Also:
Constant Field Values
Constructor Detail

Utilities

public Utilities()
Method Detail

getContainedObjFilteredbyType

public static java.util.List getContainedObjFilteredbyType(LowFunctionality funct,
                                                           java.lang.String docType)

getMassiveExportFolder

public static java.io.File getMassiveExportFolder()

getMassiveExportZipFile

public static java.io.File getMassiveExportZipFile(java.lang.String folderName,
                                                   java.lang.String fileName)

getMassiveScheduleZipFile

public static java.io.File getMassiveScheduleZipFile(java.lang.String userIdentifier,
                                                     java.lang.String folderLabel,
                                                     java.lang.String zipFileName)

getMassiveExportZipFolder

public static java.io.File getMassiveExportZipFolder(java.lang.String folderName)

getMassiveScheduleZipFolder

public static java.io.File getMassiveScheduleZipFolder(java.lang.String userIdentifier,
                                                       java.lang.String folderLabel)

addSeparatorIfNeeded

public static java.lang.String addSeparatorIfNeeded(java.lang.String path)

createMassiveExportZip

public static java.io.File createMassiveExportZip(java.lang.String functionalityCd,
                                                  java.lang.String randomKey)
                                           throws java.io.IOException
Throws:
java.io.IOException

deleteMassiveExportFolderIfEmpty

public static void deleteMassiveExportFolderIfEmpty(java.lang.String functionalityCd)
                                             throws java.io.IOException
Throws:
java.io.IOException