Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to verify IWFileBatch.ResultOfChange?
syim
IWFileBatch.updata() returns IWFileBatch.ResultOfChange. Do any one know how to verify the IWFileBatch.ResultOfChange? Is there an example to check if IWFileBatch.update() does perform an update?
Find more posts tagged with
Comments
Migrateduser
ResultOfChange has a fileInfoColelction which is a collection of ChangeFileResultInfo. If all files were updated, there will be nothing in the collection. But if there were failures, the ChangeFileResultInfo.resultFileStateMask will give you the reason.
If the update call had the parameter includeUpdatedFilesInResultCollection set to true, you'd get back the successful files in the collection, but no mask set.
Hope this helps you get started. For further details, please refer to the javadocs
Best Regards,
Narendra