public Key getGlobalKeyList() throws BookException { return new DefaultKeyList(); }
public Key createEmptyKeyList() { return new DefaultKeyList(); }
public Key createEmptyKeyList() { return new DefaultKeyList(); }
public Key createEmptyKeyList() { return new DefaultKeyList(); }
public Key readIndex() { return new DefaultKeyList(); }
public Key getKey(String name) throws NoSuchKeyException { DefaultKeyList reply = new DefaultKeyList(); reply.addAll(new ReadingsKey(name, name, global)); return reply; }
public void retainAll(Key key) { Key shared = new DefaultKeyList(); shared.addAll(key); retain(this, shared); }
@Override public Key readIndex() { BookMetaData bmd = getBookMetaData(); Key reply = new DefaultKeyList(null, bmd.getName()); try { TreeNode node = index.getRoot(); reply = new TreeKey(node.getName(), null); doReadIndex(node, reply); } catch (IOException e) { log.error("Could not get read GenBook index", e); } return reply; }
Key key = new DefaultKeyList(null, bmd.getName());