コード例 #1
0
 public void removeSets(List<JSet> setsToRemove) {
   if (setsToRemove == this.sets) {
     for (JSet set : setsToRemove) {
       BLJStoreManager.instance().storeForModel(set.getClass(), set.uuid).remove(set);
     }
     this.sets = Lists.newCopyOnWriteArrayList();
   } else {
     for (JSet set : setsToRemove) {
       this.removeSet(set);
     }
   }
 }
コード例 #2
0
 public void removeSet(JSet set) {
   this.sets.remove(set);
   BLJStore store = BLJStoreManager.instance().storeForModel(set.getClass(), set.uuid);
   if (store != null) {
     store.remove(set);
   }
 }