@Scriptable public final class FileUCHelper extends Object
Modifier and Type | Method and Description |
---|---|
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow) |
static File |
copyFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static void |
deleteFileFromIntrexx(IProcessingContext p_ctx,
String p_strFieldGuid,
Object p_recId) |
static IFileValueHolder |
getFileValueHolder(IProcessingContext p_ctx,
String p_strFieldGuid,
Object p_recId) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
File p_fileSrc,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow) |
static File |
moveFileToIntrexx(IProcessingContext p_ctx,
String p_strSrcFile,
String p_strFieldGuid,
Object p_recId,
String p_strDestFileName,
String p_strContentType,
boolean p_bTriggerWorkflow,
boolean p_bAppendMode) |
public static File copyFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The file content type.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The file content type.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The file content type.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File copyFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The file content type.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The content type.p_bTriggerWorkflow
- Not implemented, always false
Exception
public static File moveFileToIntrexx(IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The content type.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
public static File moveFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The content type.p_bTriggerWorkflow
- Not implemented, always false
Exception
- If an error occurred.public static File moveFileToIntrexx(IProcessingContext p_ctx, File p_fileSrc, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow, boolean p_bAppendMode) throws Exception
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The field GUID.p_recId
- The record ID.p_strDestFileName
- The destination file name.p_strContentType
- The content type.p_bTriggerWorkflow
- Not implemented, always false
p_bAppendMode
- Should be true
if the file should be added to an multi file field otherwise the files of the multi file field will replaced with this one.Exception
- If an error occurred.public static void deleteFileFromIntrexx(IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) throws Exception
p_ctx
- The processing context.p_strFieldGuid
- The file field GUID.p_recId
- The record GUID.Exception
- If an error occurred.public static IFileValueHolder getFileValueHolder(IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) throws Exception
p_ctx
- The processing context.p_strFieldGuid
- The data field GUID.p_recId
- The record ID.null
).Exception
- If an error occurred.