@Test public void testDelete() throws Exception { }
public static void delete(List<ResourceAnchor> resourceAnchors) throws InstantiationException, IOException { if (! KernelThread.currentKernelThread().isPrivileged()) { throw new SecurityException("delete list - not authorized"); } DataBase db = BootStrap.getBootStrap().getDataBase(); if (db == null) { throw new IOException("no connection to Database"); } db.delete(resourceAnchors); }
PersistentObject implements Serializable { public static void delete(List<ResourceAnchor> resourceAnchors) throws InstantiationException, IOException { if (! KernelThread.currentKernelThread().isPrivileged()) { throw new SecurityException("delete list - not authorized"); } DataBase db = BootStrap.getBootStrap().getDataBase(); if (db == null) { throw new IOException("no connection to Database"); } db.delete(resourceAnchors); } }
PersistentObject implements Serializable { public static void delete(List<ResourceAnchor> resourceAnchors) throws InstantiationException, IOException { if (! KernelThread.currentKernelThread().isPrivileged()) { throw new SecurityException("delete list - not authorized"); } DataBase db = BootStrap.getBootStrap().getDataBase(); if (db == null) { throw new IOException("no connection to Database"); } db.delete(resourceAnchors); } PersistentObject();  PersistentObject(String name); }
PersistentObject implements Serializable { public static void delete(List<ResourceAnchor> resourceAnchors) throws InstantiationException, IOException { if (! KernelThread.currentKernelThread().isPrivileged()) { throw new SecurityException("delete list - not authorized"); } DataBase db = BootStrap.getBootStrap().getDataBase(); if (db == null) { throw new IOException("no connection to Database"); } db.delete(resourceAnchors); } PersistentObject();  PersistentObject(String name); final String getResourceClassName(); final void setResourceClassName(String resourceClassName); String getResourceName(); @Override String toString(); final synchronized void setResourceName(String resourceName); final Map<String, Object> getProperties(); final void setProperties(Map<String, Object> properties); @Override int hashCode(); @Override boolean equals(Object o); static File buildFile(String filename); String toJSON(OutputStream output); void saveToFile(String filename); void save(String user,String collection); static void save(List<ResourceAnchor> resourceAnchors); String saveToJSON(); static void delete(List<ResourceAnchor> resourceAnchors); void delete(String user,String collection); static void delete(String owner, String containerName, String resourceName); static final PersistentObject newObjectFromJSON(String json); static final List<PersistentObject> find(String user,
                                                     String name,
                                                     Map<String,Object> query); static final List<PersistentObject> find(String user,
                                                     String name,
                                                     Map<String,Object> query,
                                                     Class objectClass); static final PersistentObject newObjectFromFile(String fileName); static final PersistentObject newObjectFromFile(String fileName, Class c); }
PersistentObject implements Serializable { public static void delete(List<ResourceAnchor> resourceAnchors) throws InstantiationException, IOException { if (! KernelThread.currentKernelThread().isPrivileged()) { throw new SecurityException("delete list - not authorized"); } DataBase db = BootStrap.getBootStrap().getDataBase(); if (db == null) { throw new IOException("no connection to Database"); } db.delete(resourceAnchors); } PersistentObject();  PersistentObject(String name); final String getResourceClassName(); final void setResourceClassName(String resourceClassName); String getResourceName(); @Override String toString(); final synchronized void setResourceName(String resourceName); final Map<String, Object> getProperties(); final void setProperties(Map<String, Object> properties); @Override int hashCode(); @Override boolean equals(Object o); static File buildFile(String filename); String toJSON(OutputStream output); void saveToFile(String filename); void save(String user,String collection); static void save(List<ResourceAnchor> resourceAnchors); String saveToJSON(); static void delete(List<ResourceAnchor> resourceAnchors); void delete(String user,String collection); static void delete(String owner, String containerName, String resourceName); static final PersistentObject newObjectFromJSON(String json); static final List<PersistentObject> find(String user,
                                                     String name,
                                                     Map<String,Object> query); static final List<PersistentObject> find(String user,
                                                     String name,
                                                     Map<String,Object> query,
                                                     Class objectClass); static final PersistentObject newObjectFromFile(String fileName); static final PersistentObject newObjectFromFile(String fileName, Class c);  }