de.uplanet.lucy.server.auxiliaries
Class FileHelper

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.FileHelper

@VelocityCallable(value="instance")
public class FileHelper
extends java.lang.Object

Version:
$Revision:

Constructor Summary
FileHelper()
           
 
Method Summary
 java.io.File copyFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strSrcFile, java.lang.String p_strFieldGuid, java.lang.Object p_recId, boolean p_bTriggerWorkflow)
           
 java.io.File copyFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strSrcFile, java.lang.String p_strFieldGuid, java.lang.Object p_recId, java.lang.String p_strDestFileName, boolean p_bTriggerWorkflow)
           
 java.io.File copyFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strSrcFile, java.lang.String p_strFieldGuid, java.lang.Object p_recId, java.lang.String p_strDestFileName, java.lang.String p_strContentType, boolean p_bTriggerWorkflow)
           
 void deleteFileFromIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strFieldGuid, java.lang.Object p_recId)
           
 java.lang.String getFileUrl(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strFieldGuid, java.lang.Object p_recId)
           
 de.uplanet.lucy.server.dataobjects.IFileValueHolder getFileValueHolder(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strFieldGuid, java.lang.Object p_recId)
           
 java.io.File moveFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strSrcFile, java.lang.String p_strFieldGuid, java.lang.Object p_recId, boolean p_bTriggerWorkflow)
           
 java.io.File moveFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strSrcFile, java.lang.String p_strFieldGuid, java.lang.Object p_recId, java.lang.String p_strDestFileName, boolean p_bTriggerWorkflow)
           
 java.io.File moveFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, java.lang.String p_strSrcFile, java.lang.String p_strFieldGuid, java.lang.Object p_recId, java.lang.String p_strDestFileName, java.lang.String p_strContentType, boolean p_bTriggerWorkflow)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHelper

public FileHelper()
Method Detail

copyFileToIntrexx

public java.io.File copyFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                      java.lang.String p_strSrcFile,
                                      java.lang.String p_strFieldGuid,
                                      java.lang.Object p_recId,
                                      boolean p_bTriggerWorkflow)
                               throws java.lang.Exception
Parameters:
p_strSrcFile -
p_strFieldGuid -
p_recId -
Throws:
java.lang.Exception

copyFileToIntrexx

public java.io.File copyFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                      java.lang.String p_strSrcFile,
                                      java.lang.String p_strFieldGuid,
                                      java.lang.Object p_recId,
                                      java.lang.String p_strDestFileName,
                                      boolean p_bTriggerWorkflow)
                               throws java.lang.Exception
Parameters:
p_strSrcFile -
p_strFieldGuid -
p_recId -
p_strDestFileName -
Throws:
java.lang.Exception

copyFileToIntrexx

public java.io.File copyFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                      java.lang.String p_strSrcFile,
                                      java.lang.String p_strFieldGuid,
                                      java.lang.Object p_recId,
                                      java.lang.String p_strDestFileName,
                                      java.lang.String p_strContentType,
                                      boolean p_bTriggerWorkflow)
                               throws java.lang.Exception
Parameters:
p_strSrcFile -
p_strFieldGuid -
p_recId -
p_strDestFileName -
p_strContentType -
Throws:
java.lang.Exception

moveFileToIntrexx

public java.io.File moveFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                      java.lang.String p_strSrcFile,
                                      java.lang.String p_strFieldGuid,
                                      java.lang.Object p_recId,
                                      boolean p_bTriggerWorkflow)
                               throws java.lang.Exception
Parameters:
p_strSrcFile -
p_strFieldGuid -
p_recId -
Returns:
Throws:
java.io.IOException
java.lang.Exception

moveFileToIntrexx

public java.io.File moveFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                      java.lang.String p_strSrcFile,
                                      java.lang.String p_strFieldGuid,
                                      java.lang.Object p_recId,
                                      java.lang.String p_strDestFileName,
                                      boolean p_bTriggerWorkflow)
                               throws java.lang.Exception
Parameters:
p_strSrcFile -
p_strFieldGuid -
p_recId -
p_strDestFileName -
Returns:
Throws:
java.io.IOException
java.lang.Exception

moveFileToIntrexx

public java.io.File moveFileToIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                      java.lang.String p_strSrcFile,
                                      java.lang.String p_strFieldGuid,
                                      java.lang.Object p_recId,
                                      java.lang.String p_strDestFileName,
                                      java.lang.String p_strContentType,
                                      boolean p_bTriggerWorkflow)
                               throws java.lang.Exception
Parameters:
p_strSrcFile -
p_strFieldGuid -
p_recId -
p_strDestFileName -
Returns:
Throws:
java.lang.Exception

deleteFileFromIntrexx

public void deleteFileFromIntrexx(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                  java.lang.String p_strFieldGuid,
                                  java.lang.Object p_recId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getFileUrl

public java.lang.String getFileUrl(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                   java.lang.String p_strFieldGuid,
                                   java.lang.Object p_recId)
                            throws java.lang.Exception
Parameters:
p_strFieldGuid -
p_recId -
Returns:
Returns the file url e.g. internal/file/EF34..AB2/test_0.txt
Throws:
java.lang.Exception

getFileValueHolder

public de.uplanet.lucy.server.dataobjects.IFileValueHolder getFileValueHolder(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx,
                                                                              java.lang.String p_strFieldGuid,
                                                                              java.lang.Object p_recId)
                                                                       throws java.lang.Exception
Parameters:
p_strFieldGuid -
p_recId -
Returns:
Throws:
java.lang.Exception


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.