Class VCFileHelper
java.lang.Object
de.uplanet.lucy.server.auxiliaries.VCFileHelper
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncopyFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) copyFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) copyFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) voiddeleteFileFromIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) voiddeleteFileFromIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId, Object p_fileId) getFileUrl(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) de.uplanet.lucy.server.dataobjects.IFileValueHoldergetFileValueHolder(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) moveFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) moveFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) moveFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) 
- 
Constructor Details- 
VCFileHelperpublic VCFileHelper()
 
- 
- 
Method Details- 
copyFileToIntrexxpublic File copyFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) throws 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-- trueif workflows should be triggered on change, or- falseotherwise.
- Returns:
- The copied file.
- Throws:
- Exception- If an error occurred.
 
- 
copyFileToIntrexxpublic File copyFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) throws 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-- trueif workflows should be triggered on change, or- falseotherwise.
- Returns:
- The copied file.
- Throws:
- Exception- If an error occurred.
 
- 
copyFileToIntrexxpublic File copyFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) throws 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-- trueif workflows should be triggered on change, or- falseotherwise.
- Returns:
- The copied file.
- Throws:
- Exception- If an error occurred.
 
- 
moveFileToIntrexxpublic File moveFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, boolean p_bTriggerWorkflow) throws 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-- trueif workflows should be triggered on change, or- falseotherwise.
- Returns:
- The moved file.
- Throws:
- Exception- If an error occurred.
 
- 
moveFileToIntrexxpublic File moveFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, boolean p_bTriggerWorkflow) throws 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-- trueif workflows should be triggered on change, or- falseotherwise.
- Returns:
- The moved file.
- Throws:
- Exception- If an error occurred.
 
- 
moveFileToIntrexxpublic File moveFileToIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strSrcFile, String p_strFieldGuid, Object p_recId, String p_strDestFileName, String p_strContentType, boolean p_bTriggerWorkflow) throws Exception - 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-- trueif workflows should be triggered on change, or- falseotherwise.
- Returns:
- The moved file.
- Throws:
- Exception- If an error occurred.
 
- 
deleteFileFromIntrexxpublic void deleteFileFromIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) throws Exception - Parameters:
- p_ctx- The processing context.
- p_strFieldGuid- The file field GUID.
- p_recId- The record GUID.
- Throws:
- Exception- If an error occurred.
 
- 
deleteFileFromIntrexxpublic void deleteFileFromIntrexx(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId, Object p_fileId) throws Exception - Parameters:
- p_ctx- The processing context.
- p_strFieldGuid- The file field GUID.
- p_recId- The record id.
- p_fileId- The file id.
- Throws:
- Exception- If an error occurred.
 
- 
getFileUrlpublic String getFileUrl(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) throws Exception - Parameters:
- p_ctx- The processing context.
- p_strFieldGuid- The data field GUID.
- p_recId- The record ID.
- Returns:
- The URL to the file (could be null).
- Throws:
- Exception- If an error occurred.
 
- 
getFileValueHolderpublic de.uplanet.lucy.server.dataobjects.IFileValueHolder getFileValueHolder(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strFieldGuid, Object p_recId) throws 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:
- Exception- If an error occurred.
 
 
-