Valentin Hemmert
2008-08-21 08:16:14 UTC
Hi,
To retrieve the Item Type List of the CM System I found 2 methods:
1.
DKSequentialCollection sequentialCollection = (DKSequentialCollection)
dsICM.listEntities();
iter = sequentialCollection.createIterator();
... ==> totally: 22 Item Types
2.
DKNVPair options[] = new DKNVPair[2];
options[0] = new DKNVPair(DKConstantICM.DK_ICM_ENTITY_TYPE, new
Integer(DKConstantICM.DK_ICM_BASE));
options[1] = new DKNVPair(DKConstant.DK_CM_PARM_END, null);
DKDatastoreDefICM dsDefICM = (DKDatastoreDefICM) dsICM.datastoreDef();
dkCollection itemTypeColl = dsDefICM.listEntities(options);
iter = itemTypeColl.createIterator();
- ICMBASE, Base BLOB part
- WORKNODE, Work node
- ROUTINGPROCESS, Routing process
- ICMBASETEXT, Text part
... ==> totally: 31 Item Types
The e-Client shows ==> only 17 Item Types.
How kind of retrieve does the IBM CM eClient?
How can I filter my Item Types to get the same Types as the IBM CM eClient?
Best regards
To retrieve the Item Type List of the CM System I found 2 methods:
1.
DKSequentialCollection sequentialCollection = (DKSequentialCollection)
dsICM.listEntities();
iter = sequentialCollection.createIterator();
... ==> totally: 22 Item Types
2.
DKNVPair options[] = new DKNVPair[2];
options[0] = new DKNVPair(DKConstantICM.DK_ICM_ENTITY_TYPE, new
Integer(DKConstantICM.DK_ICM_BASE));
options[1] = new DKNVPair(DKConstant.DK_CM_PARM_END, null);
DKDatastoreDefICM dsDefICM = (DKDatastoreDefICM) dsICM.datastoreDef();
dkCollection itemTypeColl = dsDefICM.listEntities(options);
iter = itemTypeColl.createIterator();
- ICMBASE, Base BLOB part
- WORKNODE, Work node
- ROUTINGPROCESS, Routing process
- ICMBASETEXT, Text part
... ==> totally: 31 Item Types
The e-Client shows ==> only 17 Item Types.
How kind of retrieve does the IBM CM eClient?
How can I filter my Item Types to get the same Types as the IBM CM eClient?
Best regards