hello
i want dfc class for following query "select dos_extension, name from dm_format where name in (select distinct full_format from dmr_content)"
is there any possible class for this query
Regards
Mayur Mitkari
I'm not sure exactly what you are asking for, but here is the basic structure of a query in DFC.
IDfQuery q = new DfQuery();
String dql = "select dos_extension, name from dm_format where name in (select distinct full_format from dmr_content)";
q.setDQL(dql);
IDfCollection col = q.execute(session, DfQuery.DF_READ_QUERY);
while (col.next()) {
// do something with results
}
col.close();
there is an interface IDfFormat that can be used to get details of a format. The dm_format object can be retrived from session object using sess.getFormat(format_name) ... not sure if this is wat u r looing for ..
hello above query "select dos_extension, name from dm_format where name in (select distinct full_format from dmr_content)" gives me all content_type available in documentum , is there any dfc class where i can retrieve these content_type