iwlistmod equivalent
Options
Hello,
Anyone have an example of getting all the modified files within a workarea? I'm looking for an OpenAPI equivalent to iwlistmod, but haven't been able to figure it out from the Javadocs. I've looked at so many data classes I can no longer tell them apart.
Thanks,
Terry
<P>
==
Terry Luedtke
National Library of Medicine
terry_luedtke@nlm.nih.gov
Anyone have an example of getting all the modified files within a workarea? I'm looking for an OpenAPI equivalent to iwlistmod, but haven't been able to figure it out from the Javadocs. I've looked at so many data classes I can no longer tell them apart.
Thanks,
Terry
<P>
==
Terry Luedtke
National Library of Medicine
terry_luedtke@nlm.nih.gov
0
Comments
-
Terry:
Here's a simple code snippet example of finding all modified files in a given workarea.
Hope this helps.
// Start of snippet
Vector results = new Vector();
IWWorkArea wa = ???;
com.sun.java.util.collections.Iterator it;
IWPathNamedObject.SimpleSelector selModified =
new IWPathNamedObject.SimpleSelector();
//selModified.acceptKindMask = IWPathNamedObject.kmSimpleFile;
selModified.requirePropertyMask =
IWPathNamedObject.pmModified;
// Get Modified Files
it = (com.sun.java.util.collections.Iterator)
wa.getRelatedIterator( fsService,
IWPathNamedObject.rkmDDescendant,
selModified,
IWPathNamedObject.oNone,
20 );
if ( it != null ) {
while ( it.hasNext() ) {
IWPathNamedObject file = (IWPathNamedObject) it.next();
results.add( file );
}
}0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.