* allObjUids - Given a type name, return an ObjectState that contains all
* of the uids of objects of that type.
*/
public boolean allObjUids(String typeName, InputObjectState buff, int m) throws ObjectStoreException
{
OutputObjectState store = new OutputObjectState();
if (typeName.endsWith(TX_TYPE_WS) || typeName.endsWith(TX_TYPE))
{
try
{
// Set<Uid> uids = TransactionImple.getTransactions().keySet();
Set<Uid> uids = transactionLister.getTransactions().keySet();
for (Uid uid : uids)
uid.pack(store);
}
catch (IOException e)
{
return false;
}
}
try
{
Uid.nullUid().pack(store);
}
catch (IOException e)
{
throw new ObjectStoreException("allObjUids - could not pack end of list Uid.");
}
buff.setBuffer(store.buffer());
return true;
}