Beispiel #1
0
 /**
  * Adds a single collection to the workspace and returns it.
  *
  * @param path
  * @param title
  * @param accept
  */
 protected AppCollection addCollection(String path, String title, String accept) {
   AppCollection collection = new AppCollection(url(path), title);
   collection.getAccept().add(new AppAccept(accept));
   getCollection().add(collection);
   return collection;
 }