ostream.writeLong(subcollections.getLong(childColl));
ostream.writeLong(subcollections.get(childColl));
	public void write(DBBroker broker, VariableByteOutputStream ostream)		throws IOException {		ostream.writeShort(collectionId);		ostream.writeInt(subcollections.size());		String childColl;		for (Iterator i = subcollections.keySet().iterator(); i.hasNext();) {			childColl = (String) i.next();			ostream.writeUTF(childColl);			ostream.writeLong(subcollections.getLong(childColl));		}		org.exist.security.SecurityManager secman =			broker.getBrokerPool().getSecurityManager();		if (secman == null) {			ostream.writeInt(1);			ostream.writeInt(1);		} else {			User user = secman.getUser(permissions.getOwner());			Group group = secman.getGroup(permissions.getOwnerGroup());			ostream.writeInt(user.getUID());			ostream.writeInt(group.getId());		}		ostream.writeByte((byte) permissions.getPermissions());		ostream.writeLong(created);		DocumentImpl doc;		for (Iterator i = iterator(); i.hasNext();) {			doc = (DocumentImpl) i.next();			doc.write(ostream);		}	}