de.uplanet.lucy.server.businesslogic.util
Class FileUCHelper
java.lang.Object
de.uplanet.lucy.server.businesslogic.util.FileUCHelper
@Scriptable
public final class FileUCHelper
- extends java.lang.Object
- Version:
- $Revision: 104246 $
Method Summary |
static java.io.File |
copyFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
boolean p_bTriggerWorkflow)
|
static java.io.File |
copyFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
java.lang.String p_strDestFileName,
boolean p_bTriggerWorkflow)
|
static java.io.File |
copyFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
java.lang.String p_strDestFileName,
java.lang.String p_strContentType,
boolean p_bTriggerWorkflow)
|
static java.io.File |
copyFileToIntrexx(IProcessingContext p_ctx,
java.lang.String p_strSrcFile,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
boolean p_bTriggerWorkflow)
|
static java.io.File |
copyFileToIntrexx(IProcessingContext 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)
|
static java.io.File |
copyFileToIntrexx(IProcessingContext 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)
|
static void |
deleteFileFromIntrexx(IProcessingContext p_ctx,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId)
|
static IFileValueHolder |
getFileValueHolder(IProcessingContext p_ctx,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId)
|
static java.io.File |
moveFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
boolean p_bTriggerWorkflow)
|
static java.io.File |
moveFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
java.lang.String p_strDestFileName,
boolean p_bTriggerWorkflow)
|
static java.io.File |
moveFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
java.lang.String p_strDestFileName,
java.lang.String p_strContentType,
boolean p_bTriggerWorkflow)
|
static java.io.File |
moveFileToIntrexx(IProcessingContext p_ctx,
java.lang.String p_strSrcFile,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
boolean p_bTriggerWorkflow)
|
static java.io.File |
moveFileToIntrexx(IProcessingContext 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)
|
static java.io.File |
moveFileToIntrexx(IProcessingContext 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 |
copyFileToIntrexx
public static java.io.File copyFileToIntrexx(IProcessingContext 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_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The copied file.
- Throws:
java.lang.Exception
- If an error occurred.
copyFileToIntrexx
public static java.io.File copyFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
boolean p_bTriggerWorkflow)
throws java.lang.Exception
- Parameters:
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The copied file.
- Throws:
java.lang.Exception
- If an error occurred.
copyFileToIntrexx
public static java.io.File copyFileToIntrexx(IProcessingContext 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_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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The copied file.
- Throws:
java.lang.Exception
- If an error occurred.
copyFileToIntrexx
public static java.io.File copyFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
java.lang.String p_strDestFileName,
boolean p_bTriggerWorkflow)
throws java.lang.Exception
- Parameters:
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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The copied file.
- Throws:
java.lang.Exception
- If an error occurred.
copyFileToIntrexx
public static java.io.File copyFileToIntrexx(IProcessingContext 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_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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The copied file.
- Throws:
java.lang.Exception
- If an error occurred.
copyFileToIntrexx
public static java.io.File copyFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
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_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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The copied file.
- Throws:
java.lang.Exception
- If an error occurred.
moveFileToIntrexx
public static java.io.File moveFileToIntrexx(IProcessingContext 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_ctx
- The processing context.p_strSrcFile
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The moved file.
- Throws:
java.lang.Exception
- If an error occurred.
moveFileToIntrexx
public static java.io.File moveFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
boolean p_bTriggerWorkflow)
throws java.lang.Exception
- Parameters:
p_ctx
- The processing context.p_fileSrc
- The source file.p_strFieldGuid
- The file data field GUID.p_recId
- The record ID.p_bTriggerWorkflow
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The moved file.
- Throws:
java.lang.Exception
- If an error occurred.
moveFileToIntrexx
public static java.io.File moveFileToIntrexx(IProcessingContext 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_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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The moved file.
- Throws:
java.lang.Exception
- If an error occurred.
moveFileToIntrexx
public static java.io.File moveFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
java.lang.String p_strDestFileName,
boolean p_bTriggerWorkflow)
throws java.lang.Exception
- Parameters:
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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The moved file.
- Throws:
java.lang.Exception
- If an error occurred.
moveFileToIntrexx
public static java.io.File moveFileToIntrexx(IProcessingContext 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 de.uplanet.lucy.server.businesslogic.BlException,
java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.InstantiationException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException,
java.lang.InterruptedException,
java.io.IOException
- Parameters:
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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The moved file.
- Throws:
de.uplanet.lucy.server.businesslogic.BlException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InterruptedException
java.io.IOException
moveFileToIntrexx
public static java.io.File moveFileToIntrexx(IProcessingContext p_ctx,
java.io.File p_fileSrc,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId,
java.lang.String p_strDestFileName,
java.lang.String p_strContentType,
boolean p_bTriggerWorkflow)
throws de.uplanet.lucy.server.businesslogic.BlException,
java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.InstantiationException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException,
java.lang.InterruptedException,
java.io.IOException
- Parameters:
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
- true
if workflows should be
triggered on change, or false
otherwise.
- Returns:
- The moved file.
- Throws:
java.lang.Exception
- If an error occurred.
de.uplanet.lucy.server.businesslogic.BlException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InterruptedException
java.io.IOException
deleteFileFromIntrexx
public static void deleteFileFromIntrexx(IProcessingContext p_ctx,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId)
throws java.lang.Exception
- Parameters:
p_ctx
- The processing context.p_strFieldGuid
- The file field GUID.p_recId
- The record GUID.
- Throws:
java.lang.Exception
- If an error occurred.
getFileValueHolder
public static IFileValueHolder getFileValueHolder(IProcessingContext p_ctx,
java.lang.String p_strFieldGuid,
java.lang.Object p_recId)
throws java.lang.Exception
- Parameters:
p_ctx
- The processing context.p_strFieldGuid
- The data field GUID.p_recId
- The record ID.
- Returns:
- A file value holder (could be
null
).
- Throws:
java.lang.Exception
- If an error occurred.
Last updated: 2012-07-06 09-36
Copyright © 2000-2012 United Planet. All Rights Reserved.