Examples of removeObject()

  • com.sun.sgs.app.DataManager.removeObject()
    Removes an object from the DataManager, if the object is persistent. The system will make an effort to flag subsequent references to the removed object through {@link #getBinding getBinding} or {@link ManagedReference} by throwing {@link ObjectNotFoundException}, although this behavior is not guaranteed.

    If {@code object} implements {@link ManagedObjectRemoval}, even if it is transient, then this method first calls the {@link ManagedObjectRemoval#removingObject ManagedObjectRemoval.removingObject} method on the object, to notify itthat it is being removed. If the call to {@code removingObject} throwsa {@code RuntimeException}, then this method will throw that exception without removing the object. A call to {@code removingObject} thatcauses {@code removeObject} to be called recursively on the same objectwill result in an {@code IllegalStateException} being thrown. @param object the object @throws IllegalArgumentException if {@code object} does not implementboth {@link ManagedObject} and {@link Serializable} @throws IllegalStateException if {@code object} implements {@code ManagedObjectRemoval} and {@code removeObject} is calledrecursively on the object through a call to {@link ManagedObjectRemoval#removingObject ManagedObjectRemoval.removingObject} @throws ObjectNotFoundException if the object has already been removed @throws TransactionException if the operation failed because of aproblem with the current transaction @throws RuntimeException if {@code object} implements {@code ManagedObjectRemoval} and calling {@link ManagedObjectRemoval#removingObject ManagedObjectRemoval.removingObject} on the object throws aruntime exception @see ManagedObjectRemoval

  • com.sun.sgs.service.DataService.removeObject()
  • com.webobjects.foundation.NSMutableArray.removeObject()
  • com.webobjects.foundation.NSMutableSet.removeObject()
  • de.mhus.lib.adb.DbManager.removeObject()
  • de.mhus.lib.adb.model.Table.removeObject()
  • de.yaams.extensions.basemap.tiled.core.ObjectGroup.removeObject()
  • fysix.engine.FysixEngine.RemoveObject()
  • lineage2.gameserver.model.entity.Reflection.removeObject()
    Method removeObject. @param o GameObject
  • lineage2.gameserver.model.entity.events.impl.CastleSiegeEvent.removeObject()
    Method removeObject. @param actor NpcInstance
  • lineage2.gameserver.model.entity.events.impl.ClanHallAuctionEvent.removeObject()
    Method removeObject. @param actor NpcInstance
  • lineage2.gameserver.model.entity.events.impl.ClanHallMiniGameEvent.removeObject()
    Method removeObject. @param actor NpcInstance
  • lineage2.gameserver.model.entity.events.impl.ClanHallSiegeEvent.removeObject()
    Method removeObject. @param actor NpcInstance
  • lineage2.gameserver.model.entity.events.impl.FortressSiegeEvent.removeObject()
    Method removeObject. @param actor NpcInstance
  • net.sf.joafip.service.IDataAccessSession.removeObject()
  • net.sf.l2j.gameserver.model.L2World.removeObject()
    Remove L2Object object from _allObjects of L2World.

    Example of use :

  • Delete item from inventory, tranfer Item from inventory to warehouse
  • Crystallize item
  • Remove NPC/PC/Pet from the world

  • @param object L2Object to remove from _allObjects of L2World
  • net.sf.mzmine.desktop.impl.projecttree.ProjectTreeModel.removeObject()
    This method must be called from Swing thread
  • nexj.core.meta.persistence.sql.RelationalSchema.removeObject()
    Removes an SQL Object from the schema. @param sqlObj The SQLObject to remove.
  • no.ugland.utransprod.service.AssemblyManager.removeObject()
  • org.apache.ibatis.cache.decorators.FifoCache.removeObject()
  • org.apache.ibatis.cache.decorators.LruCache.removeObject()
  • org.apache.ibatis.cache.decorators.SoftCache.removeObject()
  • org.apache.ibatis.cache.decorators.WeakCache.removeObject()
  • org.apache.ibatis.cache.impl.PerpetualCache.removeObject()
  • org.apache.pdfbox.cos.COSArray.removeObject()
    This will remove an element from the array. This method will also remove a reference to the object. @param o The object to remove. @return true if the object was removed, falseotherwise
  • org.apache.turbine.services.cache.GlobalCacheService.removeObject()
    Removes an object from the cache. @param id The String id for the object.
  • org.jfree.data.KeyedObjects2D.removeObject()
    Removes an object from the table by setting it to null. If all the objects in the specified row and/or column are now null, the row and/or column is removed from the table. @param rowKey the row key (null not permitted). @param columnKey the column key (null not permitted). @see #addObject(Object,Comparable,Comparable)
  • tiled.core.ObjectGroup.removeObject()

  • Examples of de.mhus.lib.adb.model.Table.removeObject()

        try {
          // prepare object
          schema.doPreRemove(c,object,con,this);
         
          //save object
          c.removeObject(con,object);
         
          schema.doPostRemove(c,object,con,this);

        } catch (Throwable t) {
          throw new MException(registryName,t);
    View Full Code Here

    Examples of de.yaams.extensions.basemap.tiled.core.ObjectGroup.removeObject()

              ObjectGroup group = (ObjectGroup) layer;
              Point pos = mapView.screenToPixelCoords(event.getX(), event.getY());
              MapObject obj = group.getObjectNear(pos.x, pos.y, mapView.getZoom());
              if (obj != null) {
                undoSupport.postEdit(new RemoveObjectEdit(group, obj));
                group.removeObject(obj);
                // TODO: repaint only affected area
                mapView.repaint();
              }
            }
            break;
    View Full Code Here

    Examples of fysix.engine.FysixEngine.RemoveObject()

                        dustObj.fo.setAcceleration(accNone);
                      }
                    }
                    for (Iterator i = dustToRemove.iterator(); i.hasNext(); ) {
                      DustObject dustObj = (DustObject) i.next();
                      fe.RemoveObject(dustObj.fo);                 
                      dustVector.remove(dustObj);                 
                    }
                    dustToRemove.clear();
           
                    // LEVEL BORDER
    View Full Code Here

    Examples of lineage2.gameserver.model.entity.Reflection.removeObject()

          respawn = true;
        }
        Reflection r = getReflection();
        if (!r.isDefault())
        {
          r.removeObject(this);
        }
        _reflection = reflection;
        if (!reflection.isDefault())
        {
          reflection.addObject(this);
    View Full Code Here

    Examples of lineage2.gameserver.model.entity.events.impl.CastleSiegeEvent.removeObject()

        if (allSize >= CastleSiegeEvent.MAX_SIEGE_CLANS)
        {
          player.sendPacket(SystemMsg.NO_MORE_REGISTRATIONS_MAY_BE_ACCEPTED_FOR_THE_DEFENDER_SIDE);
          return;
        }
        siegeEvent.removeObject(siegeClan.getType(), siegeClan);
        if (_approved)
        {
          siegeClan.setType(SiegeEvent.DEFENDERS);
        }
        else
    View Full Code Here

    Examples of lineage2.gameserver.model.entity.events.impl.ClanHallAuctionEvent.removeObject()

          }
         
          long returnVal = siegeClan.getParam() - (long) (siegeClan.getParam() * 0.1);
         
          player.getClan().getWarehouse().addItem(ItemTemplate.ITEM_ID_ADENA, returnVal);
          auctionEvent.removeObject(SiegeEvent.ATTACKERS, siegeClan);
          SiegeClanDAO.getInstance().delete(clanHall, siegeClan);
         
          player.sendPacket(SystemMsg.YOU_HAVE_CANCELED_YOUR_BID);
          showChatWindow(player, 0);
        }
    View Full Code Here

    Examples of lineage2.gameserver.model.entity.events.impl.ClanHallMiniGameEvent.removeObject()

          {
            showChatWindow(player, "residence2/clanhall/messenger_yetti016.htm");
          }
          else
          {
            miniGameEvent.removeObject(SiegeEvent.ATTACKERS, siegeClanObject);
            SiegeClanDAO.getInstance().delete(clanHall, siegeClanObject);
            ItemFunctions.addItem(player, ITEM_ID, siegeClanObject.getParam() / 2L, true);
            showChatWindow(player, "residence2/clanhall/messenger_yetti005.htm");
          }
        }
    View Full Code Here

    Examples of lineage2.gameserver.model.entity.events.impl.ClanHallSiegeEvent.removeObject()

          if (siegeEvent.isRegistrationOver())
          {
            player.sendPacket(SystemMsg.YOU_ARE_TOO_LATE_THE_REGISTRATION_PERIOD_IS_OVER);
            return;
          }
          siegeEvent.removeObject(siegeClan.getType(), siegeClan);
          SiegeClanDAO.getInstance().delete(clanHall, siegeClan);
        }
        player.sendPacket(new CastleSiegeAttackerList(clanHall));
      }
    }
    View Full Code Here

    Examples of lineage2.gameserver.model.entity.events.impl.FortressSiegeEvent.removeObject()

          }
         
          SiegeClanObject siegeClan = siegeEvent.getSiegeClan(SiegeEvent.ATTACKERS, clan);
          if (siegeClan != null)
          {
            siegeEvent.removeObject(SiegeEvent.ATTACKERS, siegeClan);
            SiegeClanDAO.getInstance().delete(fortress, siegeClan);
           
            siegeEvent.reCalcNextTime(false);
           
            showChatWindow(player, "residence2/fortress/fortress_ordery009.htm");
    View Full Code Here

    Examples of net.sf.joafip.service.IDataAccessSession.removeObject()

          final File storageFile = new File(
              filePersistence.getStorageFileName());
          noMoreDataActionFileSize.before = storageFile.length();
          session.open();
          session.removeObject(KEY);
          session.close(EnumFilePersistenceCloseAction.SAVE);
          noMoreDataActionFileSize.after = storageFile.length();

          session.open();
          final Object read = session.getObject(KEY);
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.